Network Value Visitor Identify. More...
#include <deNetworkValueVisitorIdentify.h>
Public Types | |
| enum | eNetworkValues { envtUnknown, envtInteger, envtFloat, envtString, envtData, envtPoint2, envtPoint3, envtVector2, envtVector3, envtQuaternion } |
Public Member Functions | |
Constructors and Destructors | |
| deNetworkValueVisitorIdentify () | |
| Creates a new value visitor identify object. | |
| virtual | ~deNetworkValueVisitorIdentify () |
| Cleans up the value visitor identify. | |
Management | |
| int | GetType () const |
| Retrieves the value type. | |
| bool | IsUnknown () const |
| Determines if this is an unknown value. | |
| bool | IsInteger () const |
| Determines if this is a integer value. | |
| bool | IsFloat () const |
| Determines if this is a float value. | |
| bool | IsString () const |
| Determines if this is a string value. | |
| bool | IsData () const |
| Determines if this is a data value. | |
| bool | IsPoint2 () const |
| Determines if this is a point-2 value. | |
| bool | IsPoint3 () const |
| Determines if this is a point-3 value. | |
| bool | IsVector2 () const |
| Determines if this is a vector-2 value. | |
| bool | IsVector3 () const |
| Determines if this is a vector-3 value. | |
| bool | IsQuaternion () const |
| Determines if this is a quaternion value. | |
| deNetworkValueInteger * | CastToInteger () const |
| Cast to an integer network value. | |
| deNetworkValueFloat * | CastToFloat () const |
| Cast to a float network value. | |
| deNetworkValueString * | CastToString () const |
| Cast to a string network value. | |
| deNetworkValueData * | CastToData () const |
| Cast to a data network value. | |
| deNetworkValuePoint2 * | CastToPoint2 () const |
| Cast to a point-2 network value. | |
| deNetworkValuePoint3 * | CastToPoint3 () const |
| Cast to a point-3 network value. | |
| deNetworkValueVector2 * | CastToVector2 () const |
| Cast to a vector-2 network value. | |
| deNetworkValueVector3 * | CastToVector3 () const |
| Cast to a vector-3 network value. | |
| deNetworkValueQuaternion * | CastToQuaternion () const |
| Cast to a quaternion network value. | |
| void | Reset () |
| Resets the visitor. | |
Visiting | |
| virtual void | VisitValue (deNetworkValue *value) |
| Visits a network value. | |
| virtual void | VisitInteger (deNetworkValueInteger *value) |
| Visits an integer network value. | |
| virtual void | VisitFloat (deNetworkValueFloat *value) |
| Visits a float network value. | |
| virtual void | VisitString (deNetworkValueString *value) |
| Visits a string network value. | |
| virtual void | VisitData (deNetworkValueData *value) |
| Visits a data network value. | |
| virtual void | VisitPoint2 (deNetworkValuePoint2 *value) |
| Visits a point-2 network value. | |
| virtual void | VisitPoint3 (deNetworkValuePoint3 *value) |
| Visits a point-3 network value. | |
| virtual void | VisitVector2 (deNetworkValueVector2 *value) |
| Visits a vector-2 network value. | |
| virtual void | VisitVector3 (deNetworkValueVector3 *value) |
| Visits a vector-3 network value. | |
| virtual void | VisitQuaternion (deNetworkValueQuaternion *value) |
| Visits a quaternion network value. | |
Network Value Visitor Identify.
Network Value visitor providing value identification. After visiting a collidder the visitor can be asked what kind of value has been visited. Useful to identify values and to carry out actions only for certain value types. Furthermore save casting is provided. If the cast is not valid an exception is raised.
| deNetworkValueVisitorIdentify::deNetworkValueVisitorIdentify | ( | ) |
Creates a new value visitor identify object.
| virtual deNetworkValueVisitorIdentify::~deNetworkValueVisitorIdentify | ( | ) | [virtual] |
Cleans up the value visitor identify.
| deNetworkValueData* deNetworkValueVisitorIdentify::CastToData | ( | ) | const |
Cast to a data network value.
| deNetworkValueFloat* deNetworkValueVisitorIdentify::CastToFloat | ( | ) | const |
Cast to a float network value.
| deNetworkValueInteger* deNetworkValueVisitorIdentify::CastToInteger | ( | ) | const |
Cast to an integer network value.
| deNetworkValuePoint2* deNetworkValueVisitorIdentify::CastToPoint2 | ( | ) | const |
Cast to a point-2 network value.
| deNetworkValuePoint3* deNetworkValueVisitorIdentify::CastToPoint3 | ( | ) | const |
Cast to a point-3 network value.
| deNetworkValueQuaternion* deNetworkValueVisitorIdentify::CastToQuaternion | ( | ) | const |
Cast to a quaternion network value.
| deNetworkValueString* deNetworkValueVisitorIdentify::CastToString | ( | ) | const |
Cast to a string network value.
| deNetworkValueVector2* deNetworkValueVisitorIdentify::CastToVector2 | ( | ) | const |
Cast to a vector-2 network value.
| deNetworkValueVector3* deNetworkValueVisitorIdentify::CastToVector3 | ( | ) | const |
Cast to a vector-3 network value.
| int deNetworkValueVisitorIdentify::GetType | ( | ) | const [inline] |
Retrieves the value type.
| bool deNetworkValueVisitorIdentify::IsData | ( | ) | const [inline] |
Determines if this is a data value.
| bool deNetworkValueVisitorIdentify::IsFloat | ( | ) | const [inline] |
Determines if this is a float value.
| bool deNetworkValueVisitorIdentify::IsInteger | ( | ) | const [inline] |
Determines if this is a integer value.
| bool deNetworkValueVisitorIdentify::IsPoint2 | ( | ) | const [inline] |
Determines if this is a point-2 value.
| bool deNetworkValueVisitorIdentify::IsPoint3 | ( | ) | const [inline] |
Determines if this is a point-3 value.
| bool deNetworkValueVisitorIdentify::IsQuaternion | ( | ) | const [inline] |
Determines if this is a quaternion value.
| bool deNetworkValueVisitorIdentify::IsString | ( | ) | const [inline] |
Determines if this is a string value.
| bool deNetworkValueVisitorIdentify::IsUnknown | ( | ) | const [inline] |
Determines if this is an unknown value.
| bool deNetworkValueVisitorIdentify::IsVector2 | ( | ) | const [inline] |
Determines if this is a vector-2 value.
| bool deNetworkValueVisitorIdentify::IsVector3 | ( | ) | const [inline] |
Determines if this is a vector-3 value.
| void deNetworkValueVisitorIdentify::Reset | ( | ) |
Resets the visitor.
| virtual void deNetworkValueVisitorIdentify::VisitData | ( | deNetworkValueData * | value ) | [virtual] |
Visits a data network value.
Reimplemented from deNetworkValueVisitor.
| virtual void deNetworkValueVisitorIdentify::VisitFloat | ( | deNetworkValueFloat * | value ) | [virtual] |
Visits a float network value.
Reimplemented from deNetworkValueVisitor.
| virtual void deNetworkValueVisitorIdentify::VisitInteger | ( | deNetworkValueInteger * | value ) | [virtual] |
Visits an integer network value.
Reimplemented from deNetworkValueVisitor.
| virtual void deNetworkValueVisitorIdentify::VisitPoint2 | ( | deNetworkValuePoint2 * | value ) | [virtual] |
Visits a point-2 network value.
Reimplemented from deNetworkValueVisitor.
| virtual void deNetworkValueVisitorIdentify::VisitPoint3 | ( | deNetworkValuePoint3 * | value ) | [virtual] |
Visits a point-3 network value.
Reimplemented from deNetworkValueVisitor.
| virtual void deNetworkValueVisitorIdentify::VisitQuaternion | ( | deNetworkValueQuaternion * | value ) | [virtual] |
Visits a quaternion network value.
Reimplemented from deNetworkValueVisitor.
| virtual void deNetworkValueVisitorIdentify::VisitString | ( | deNetworkValueString * | value ) | [virtual] |
Visits a string network value.
Reimplemented from deNetworkValueVisitor.
| virtual void deNetworkValueVisitorIdentify::VisitValue | ( | deNetworkValue * | value ) | [virtual] |
Visits a network value.
Reimplemented from deNetworkValueVisitor.
| virtual void deNetworkValueVisitorIdentify::VisitVector2 | ( | deNetworkValueVector2 * | value ) | [virtual] |
Visits a vector-2 network value.
Reimplemented from deNetworkValueVisitor.
| virtual void deNetworkValueVisitorIdentify::VisitVector3 | ( | deNetworkValueVector3 * | value ) | [virtual] |
Visits a vector-3 network value.
Reimplemented from deNetworkValueVisitor.
1.7.2