IADTCategory Class Reference
 
 
 
IADTCategory Class Reference

#include <iADTCategory.h>

Inheritance diagram for IADTCategory:
ReferenceTarget FPMixinInterface ReferenceMaker FPInterface Animatable BaseInterface InterfaceServer Noncopyable InterfaceServer MaxHeapOperators MaxHeapOperators MaxHeapOperators

Public Member Functions

virtual const MCHAR *  GetName () const =0
  Access to name. The name is not case sensitive.
virtual void  SetName (const MCHAR *pName)=0
  Sets the name.
virtual IADTStyle FindStyle (const MCHAR *pStyleName) const =0
virtual unsigned long  NumStyles () const =0
  Returns the number of styles.
virtual unsigned long  GetStyles (Tab< IADTStyle * > &styles) const =0
  Gets a Tab of IADTStyles for iteration.
virtual unsigned long  NumInstances () const =0
  Returns the number of all nodes in the scene that represent instances of all the styles that belong to this category.
virtual unsigned long  GetInstances (Tab< INode * > &instances) const =0
  Fills out the provided array with all the nodes in the scene that represent instances of all the styles that belong to this category.
virtual void  MakeUniqueStyleName (MSTR &name) const =0
  makes a name unique

Member Function Documentation

virtual const MCHAR* GetName ( ) const [pure virtual]

Access to name. The name is not case sensitive.

virtual void SetName ( const MCHAR *  pName ) [pure virtual]
virtual IADTStyle* FindStyle ( const MCHAR *  pStyleName ) const [pure virtual]
virtual unsigned long NumStyles ( ) const [pure virtual]

Returns the number of styles.

virtual unsigned long GetStyles ( Tab< IADTStyle * > &  styles ) const [pure virtual]

Gets a Tab of IADTStyles for iteration.

virtual unsigned long NumInstances ( ) const [pure virtual]

Returns the number of all nodes in the scene that represent instances of all the styles that belong to this category.

virtual unsigned long GetInstances ( Tab< INode * > &  instances ) const [pure virtual]

Fills out the provided array with all the nodes in the scene that represent instances of all the styles that belong to this category.

Returns:
Returns the count
virtual void MakeUniqueStyleName ( MSTR name ) const [pure virtual]

makes a name unique

Creates a name that is unique among the style names and it's based on the given name. The unique name is seeded by passing in a seed-name through the name parameter

Parameters:
name represents a seed for the the unique name. As output parameter, it holds the unique name that was generated