HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_PrimitiveTypeId Class Reference

#include <GA_PrimitiveTypeId.h>

Public Member Functions

SYS_FORCE_INLINE GA_PrimitiveTypeId ()
 Default c-tor. More...
 
SYS_FORCE_INLINE GA_PrimitiveTypeId (const GA_PrimitiveTypeId &src)
 Copy c-tor. More...
 
SYS_FORCE_INLINE GA_PrimitiveTypeId (int id)
 Assign from a factory type. More...
 
SYS_FORCE_INLINE ~GA_PrimitiveTypeId ()
 Destructor. More...
 
SYS_FORCE_INLINE
GA_PrimitiveTypeId
operator= (const GA_PrimitiveTypeId &src)
 Assignment operator. More...
 
SYS_FORCE_INLINE int get () const
 
SYS_FORCE_INLINE bool isValid () const
 Returns true if this is a valid primitive id. More...
 
SYS_FORCE_INLINE bool operator== (int factory_id) const
 
SYS_FORCE_INLINE bool operator!= (int factory_id) const
 
SYS_FORCE_INLINE bool operator== (const GA_PrimitiveTypeId &src) const
 
SYS_FORCE_INLINE bool operator!= (const GA_PrimitiveTypeId &src) const
 

Detailed Description

Constructor & Destructor Documentation

SYS_FORCE_INLINE GA_PrimitiveTypeId::GA_PrimitiveTypeId ( )
inline

Default c-tor.

Definition at line 26 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE GA_PrimitiveTypeId::GA_PrimitiveTypeId ( const GA_PrimitiveTypeId src)
inline

Copy c-tor.

Definition at line 31 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE GA_PrimitiveTypeId::GA_PrimitiveTypeId ( int  id)
inline

Assign from a factory type.

Definition at line 36 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE GA_PrimitiveTypeId::~GA_PrimitiveTypeId ( )
inline

Destructor.

Definition at line 41 of file GA_PrimitiveTypeId.h.

Member Function Documentation

SYS_FORCE_INLINE int GA_PrimitiveTypeId::get ( ) const
inline

Return the integer value for the identifier. This can be used in switches for factory types.

Examples:
GUI/GUI_PolySoupBox.C, GUI/GUI_PrimFramework.C, GUI/GUI_PrimVolumeVelField.C, and tetprim/GR_PrimTetra.C.

Definition at line 55 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE bool GA_PrimitiveTypeId::isValid ( ) const
inline

Returns true if this is a valid primitive id.

Definition at line 59 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE bool GA_PrimitiveTypeId::operator!= ( int  factory_id) const
inline

Compare the id to a "factory" primitive type (see GEO_PrimType.h)

Definition at line 67 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE bool GA_PrimitiveTypeId::operator!= ( const GA_PrimitiveTypeId src) const
inline

Compare to other primitive id's

Definition at line 76 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE GA_PrimitiveTypeId& GA_PrimitiveTypeId::operator= ( const GA_PrimitiveTypeId src)
inline

Assignment operator.

Definition at line 46 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE bool GA_PrimitiveTypeId::operator== ( int  factory_id) const
inline

Compare the id to a "factory" primitive type (see GEO_PrimType.h)

Definition at line 64 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE bool GA_PrimitiveTypeId::operator== ( const GA_PrimitiveTypeId src) const
inline

Compare to other primitive id's

Definition at line 73 of file GA_PrimitiveTypeId.h.


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