11 #ifndef __GA_PrimitiveTypeId__
12 #define __GA_PrimitiveTypeId__
54 int get()
const {
return myId; }
58 bool isValid()
const {
return myId >= 0; }
64 {
return myId == factory_id; }
67 {
return myId != factory_id; }
73 {
return myId == src.myId; }
76 {
return myId != src.myId; }
81 void set(
int id) { myId =
id; }
SYS_FORCE_INLINE bool isValid() const
Returns true if this is a valid primitive id.
SYS_FORCE_INLINE ~GA_PrimitiveTypeId()
Destructor.
SYS_FORCE_INLINE bool operator!=(const GA_PrimitiveTypeId &src) const
SYS_FORCE_INLINE bool operator==(int factory_id) const
SYS_FORCE_INLINE GA_PrimitiveTypeId(const GA_PrimitiveTypeId &src)
Copy c-tor.
SYS_FORCE_INLINE GA_PrimitiveTypeId(int id)
Assign from a factory type.
SYS_FORCE_INLINE GA_PrimitiveTypeId & operator=(const GA_PrimitiveTypeId &src)
Assignment operator.
SYS_FORCE_INLINE GA_PrimitiveTypeId()
Default c-tor.
SYS_FORCE_INLINE bool operator!=(int factory_id) const
SYS_FORCE_INLINE bool operator==(const GA_PrimitiveTypeId &src) const