36 #include <Inventor/SbBasic.h> 45 #endif // COIN_INTERNAL 55 template <
class Type>
class SbList;
61 typedef void * (*instantiationMethod)(void);
64 SbName getName(
void)
const;
65 const SoType getParent(
void)
const;
66 SbBool isDerivedFrom(
const SoType type)
const;
70 SbBool canCreateInstance(
void)
const;
71 void * createInstance(
void)
const;
73 uint16_t getData(
void)
const;
74 int16_t getKey(
void)
const;
76 SbBool operator == (
const SoType type)
const;
77 SbBool operator != (
const SoType type)
const;
79 SbBool operator < (
const SoType type)
const;
80 SbBool operator <= (
const SoType type)
const;
81 SbBool operator >= (
const SoType type)
const;
82 SbBool operator > (
const SoType type)
const;
85 const instantiationMethod method = NULL,
86 const uint16_t data = 0);
88 static const SoType overrideType(
const SoType originalType,
89 const instantiationMethod method = NULL);
91 static SbBool removeType(
const SbName & name);
93 static void init(
void);
95 static SoType fromKey(uint16_t key);
96 static SoType badType(
void);
97 SbBool isBad(
void)
const;
99 void makeInternal(
void);
100 SbBool isInternal(
void)
const;
102 static int getNumTypes(
void);
104 instantiationMethod getInstantiationMethod(
void)
const;
107 static void clean(
void);
125 return (this->getKey() != type.
getKey());
131 return (this->getKey() == type.
getKey());
137 return (this->getKey() < type.
getKey());
143 return (this->getKey() <= type.
getKey());
149 return (this->getKey() >= type.
getKey());
155 return (this->getKey() > type.
getKey());
161 return (this->index == 0);
164 #endif // !COIN_SOTYPE_H SbBool operator!=(const SoType type) const
Definition: SoType.h:123
SbBool operator==(const SoType type) const
Definition: SoType.h:129
The SbList class is a template container class for lists.SbList is an extension of the Coin library v...
Definition: SbList.h:70
SbBool operator<(const SoType type) const
Definition: SoType.h:135
SbBool operator>(const SoType type) const
Definition: SoType.h:153
The SbDict class organizes a dictionary of keys and values.It uses hashing to quickly insert and find...
Definition: SbDict.h:63
SbBool operator<=(const SoType type) const
Definition: SoType.h:141
The SoTypeList class is a container class for arrays of SoType objects.
Definition: SoTypeList.h:39
int16_t getKey(void) const
Definition: SoType.h:117
SbBool operator>=(const SoType type) const
Definition: SoType.h:147
The SoFieldData class is a container for a prototype set of fields.This class is instantiated once fo...
Definition: SoFieldData.h:48
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:59
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:40
SbBool isBad(void) const
Definition: SoType.h:159