HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 25 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE GA_PrimitiveTypeId::GA_PrimitiveTypeId ( const GA_PrimitiveTypeId src)
inline

Copy c-tor.

Definition at line 30 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE GA_PrimitiveTypeId::GA_PrimitiveTypeId ( int  id)
inline

Assign from a factory type.

Definition at line 35 of file GA_PrimitiveTypeId.h.

SYS_FORCE_INLINE GA_PrimitiveTypeId::~GA_PrimitiveTypeId ( )
inline

Destructor.

Definition at line 40 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, and tetprim/GR_PrimTetra.C.

Definition at line 54 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 58 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 66 of file GA_PrimitiveTypeId.h.

Compare to other primitive id's

Definition at line 75 of file GA_PrimitiveTypeId.h.

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

Assignment operator.

Definition at line 45 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 63 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 72 of file GA_PrimitiveTypeId.h.


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