C++ TargetRTS
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
RTArray_class Struct Reference
Inheritance diagram for RTArray_class:
RTObject_class

Public Member Functions

 RTArray_class (int size, const RTObject_class *element_type)
 
- Public Member Functions inherited from RTObject_class
const RTObject_classsuper (void) const
 Get the descriptor for the super type, i.e.
 
const char * name (void) const
 Get the name of the described type.
 
RTVersionId version (void) const
 Get the version of the described type.
 
int isKindOf (const RTObject_class *other) const
 Determines if the described type is the same, or a subtype of, another type.
 
void * allocate (void) const
 Allocate new memory for holding an instance of the described type.
 
void init (void *data) const
 Initialize an instance of the described type.
 
void copy (void *to, const void *from) const
 Make a copy of an instance of the described type.
 
void move (void *to, void *from) const
 Move an instance of the described type.
 
int decode (void *data, RTDecoding *decoder) const
 Decode an external representation (e.g.
 
int encode (const void *data, RTEncoding *encoder) const
 Encode an instance of the described type into an external representation (e.g.
 
void destroy (void *inst, DestroyOption opt) const
 Destroy an instance of the described type.
 
void install (bool warnForDuplicates=true) const
 Register the type descriptor so it can be looked up quickly using the name of the described type as the key.
 

Public Attributes

RTFieldDescriptor element
 
- Public Attributes inherited from RTObject_class
const RTObject_class_super
 The super type from which the type inherits.
 
RTSuperAccessFunction _super_accessor
 The super object accessor function for this type.
 
const char * _name
 The name of the type.
 
RTVersionId _version
 The version id of the type.
 
RTFieldOffset _size
 The size (in bytes) of the type.
 
RTInitFunction _init_func
 The init function of the type, i.e.
 
RTCopyFunction _copy_func
 The copy function of the type, i.e.
 
RTMoveFunction _move_func
 The move function of the type, i.e.
 
RTDecodeFunction _decode_func
 The decode function of the type.
 
RTEncodeFunction _encode_func
 The encode function of the type.
 
RTDestroyFunction _destroy_func
 The destroy function of the type, i.e.
 
int _num_fields
 This variable is used for structured and array-like types to specify the number of fields or elements that are contained in the type.
 
const RTFieldDescriptor_fields
 This variable is used for structured and array-like types to specify the type of fields or elements that are contained in the type.
 

Additional Inherited Members

- Public Types inherited from RTObject_class
enum  DestroyOption { DestroyOnly , DestroyAndDeallocate }
 
- Static Public Member Functions inherited from RTObject_class
static const RTObject_classlookup (const char *className)
 Lookup a type descriptor by the name of the type it describes.
 
template<typename TYPE >
static const RTObject_classfromType ()
 Get a type descriptor from a type TYPE at compile-time.
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 
template<>
const RTObject_classfromType ()
 

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