Public Types

deSkinPropertyVisitorIdentify Class Reference

Skin Property Identify Visitor. More...

#include <deSkinPropertyVisitorIdentify.h>

Inheritance diagram for deSkinPropertyVisitorIdentify:
deSkinPropertyVisitor

List of all members.

Public Types

enum  ePropertyTypes {
  eptUnknown, eptValue, eptColor, eptImage,
  eptRenderable, eptComplex
}
 

Property types.

More...

Public Member Functions

Constructors and Destructors
 deSkinPropertyVisitorIdentify ()
 Creates a new animator property visitor identify object.
virtual ~deSkinPropertyVisitorIdentify ()
 Cleans up the animator property visitor identify.
Management
int GetType () const
 Retrieves the property type.
bool IsUnknown () const
 Determines if this is an unknown property.
bool IsValue () const
 Determines if this is a single value property.
bool IsColor () const
 Determines if this is a color property.
bool IsImage () const
 Determines if this is an image property.
bool IsRenderable () const
 Determines if this is a renderable property.
bool IsComplex () const
 Determines if this is a complex property.
deSkinPropertyValueCastToValue () const
 Cast to a single value property.
deSkinPropertyColorCastToColor () const
 Cast to a uniform color property.
deSkinPropertyImageCastToImage () const
 Cast to an image property.
deSkinPropertyRenderableCastToRenderable () const
 Cast to a renderable property.
deSkinPropertyComplexCastToComplex () const
 Cast to a complex property.
void Reset ()
 Resets the visitor.
Visiting
virtual void VisitProperty (deSkinProperty *property)
 Visits a property.
virtual void VisitValue (deSkinPropertyValue *property)
 Visits a single value property.
virtual void VisitColor (deSkinPropertyColor *property)
 Visits a uniform color property.
virtual void VisitImage (deSkinPropertyImage *property)
 Visits an image property.
virtual void VisitRenderable (deSkinPropertyRenderable *property)
 Visits a renderable property.
virtual void VisitComplex (deSkinPropertyComplex *property)
 Visits a complex property.

Detailed Description

Skin Property Identify Visitor.

Skin property visitor used to identify the type of a visited skin property. After visiting a skin property the visitor can be asked what kind of skin property has been visited. Provides also save casting. If the cast is not valid an exception is raised.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Member Enumeration Documentation

Property types.

Enumerator:
eptUnknown 

Unknown property.

eptValue 

Single value property.

eptColor 

Uniform color property.

eptImage 

Image property.

eptRenderable 

Renderable property.

eptComplex 

Complex property.


Constructor & Destructor Documentation

deSkinPropertyVisitorIdentify::deSkinPropertyVisitorIdentify (  )

Creates a new animator property visitor identify object.

virtual deSkinPropertyVisitorIdentify::~deSkinPropertyVisitorIdentify (  ) [virtual]

Cleans up the animator property visitor identify.


Member Function Documentation

deSkinPropertyColor* deSkinPropertyVisitorIdentify::CastToColor (  ) const

Cast to a uniform color property.

deSkinPropertyComplex* deSkinPropertyVisitorIdentify::CastToComplex (  ) const

Cast to a complex property.

deSkinPropertyImage* deSkinPropertyVisitorIdentify::CastToImage (  ) const

Cast to an image property.

deSkinPropertyRenderable* deSkinPropertyVisitorIdentify::CastToRenderable (  ) const

Cast to a renderable property.

deSkinPropertyValue* deSkinPropertyVisitorIdentify::CastToValue (  ) const

Cast to a single value property.

int deSkinPropertyVisitorIdentify::GetType (  ) const [inline]

Retrieves the property type.

bool deSkinPropertyVisitorIdentify::IsColor (  ) const [inline]

Determines if this is a color property.

bool deSkinPropertyVisitorIdentify::IsComplex (  ) const [inline]

Determines if this is a complex property.

bool deSkinPropertyVisitorIdentify::IsImage (  ) const [inline]

Determines if this is an image property.

bool deSkinPropertyVisitorIdentify::IsRenderable (  ) const [inline]

Determines if this is a renderable property.

bool deSkinPropertyVisitorIdentify::IsUnknown (  ) const [inline]

Determines if this is an unknown property.

bool deSkinPropertyVisitorIdentify::IsValue (  ) const [inline]

Determines if this is a single value property.

void deSkinPropertyVisitorIdentify::Reset (  )

Resets the visitor.

virtual void deSkinPropertyVisitorIdentify::VisitColor ( deSkinPropertyColor property ) [virtual]

Visits a uniform color property.

Reimplemented from deSkinPropertyVisitor.

virtual void deSkinPropertyVisitorIdentify::VisitComplex ( deSkinPropertyComplex property ) [virtual]

Visits a complex property.

Reimplemented from deSkinPropertyVisitor.

virtual void deSkinPropertyVisitorIdentify::VisitImage ( deSkinPropertyImage property ) [virtual]

Visits an image property.

Reimplemented from deSkinPropertyVisitor.

virtual void deSkinPropertyVisitorIdentify::VisitProperty ( deSkinProperty property ) [virtual]

Visits a property.

Reimplemented from deSkinPropertyVisitor.

virtual void deSkinPropertyVisitorIdentify::VisitRenderable ( deSkinPropertyRenderable property ) [virtual]

Visits a renderable property.

Reimplemented from deSkinPropertyVisitor.

virtual void deSkinPropertyVisitorIdentify::VisitValue ( deSkinPropertyValue property ) [virtual]

Visits a single value property.

Reimplemented from deSkinPropertyVisitor.


The documentation for this class was generated from the following file: