36 #include <Inventor/SbBasic.h> 45 #endif // COIN_INTERNAL 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);
161 return (this->index == 0);
164 #endif // !COIN_SOTYPE_H The SbList class is a template container class for lists.
Definition: SoType.h:55
SbBool isBad(void) const
Definition: SoType.h:159
The SbDict class organizes a dictionary of keys and values.
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
SbBool operator==(const SoType type) const
Definition: SoType.h:129
SbBool operator>(const SoType type) const
Definition: SoType.h:153
SbBool operator!=(const SoType type) const
Definition: SoType.h:123
int16_t getKey(void) const
Definition: SoType.h:117
The SoFieldData class is a container for a prototype set of fields.
Definition: SoFieldData.h:48
The SoType class is the basis for the run-time type system in Coin.
Definition: SoType.h:59
The SbName class stores strings by reference.
Definition: SbName.h:40
SbBool operator<(const SoType type) const
Definition: SoType.h:135
SbBool operator>=(const SoType type) const
Definition: SoType.h:147