#include <TypeCollection.h>
Inheritance diagram for oasys::TypeCollection:

Definition at line 107 of file TypeCollection.h.
Public Types | |
| enum | { UNKNOWN_TYPE = 0xffffffff } |
| typedef u_int32_t | TypeCode_t |
| Typedef for type codes. | |
| typedef int(*) | Allocator_t (TypeCode_t typecode, SerializableObject **data) |
| Typedef for an allocator function usable as a callback. | |
Public Member Functions | |
| TypeCollection () | |
| void | reg (TypeCode_t typecode, TypeCollectionHelper *helper) |
| const char * | type_name (TypeCode_t typecode) |
| Return the stringified type code. | |
Protected Attributes | |
| std::map< TypeCode_t, TypeCollectionHelper * > | dispatch_ |
| typedef u_int32_t oasys::TypeCollection::TypeCode_t |
| typedef int(*) oasys::TypeCollection::Allocator_t(TypeCode_t typecode, SerializableObject **data) |
Typedef for an allocator function usable as a callback.
Definition at line 117 of file TypeCollection.h.
| anonymous enum |
| oasys::TypeCollection::TypeCollection | ( | ) | [inline] |
Definition at line 120 of file TypeCollection.h.
| void oasys::TypeCollection::reg | ( | TypeCode_t | typecode, | |
| TypeCollectionHelper * | helper | |||
| ) | [inline] |
| const char* oasys::TypeCollection::type_name | ( | TypeCode_t | typecode | ) | [inline] |
Return the stringified type code.
Definition at line 130 of file TypeCollection.h.
References dispatch_.
std::map<TypeCode_t, TypeCollectionHelper*> oasys::TypeCollection::dispatch_ [protected] |
Definition at line 139 of file TypeCollection.h.
Referenced by oasys::TypeCollectionInstance< _Collection >::new_object(), reg(), and type_name().
1.5.1