|
GLG Toolkit, C / C++ API Library
Version 4.6
|
This group contains methods for creating objects at run time, as well as creating copies of an object.
Functions | |
| GlgObjectC (GlgObjectC &object, GlgCloneType clone_type=GLG_FULL_CLONE) | |
| Copy constructor, Extended API: Creates a copy of the object. More... | |
| GlgObjectC (GlgObjectType type, char *name=NULL, GlgAnyType data1=NULL, GlgAnyType data2=NULL, GlgAnyType data3=NULL, GlgAnyType data4=NULL) | |
| Constructor, Extended API: Creates a new object of the specified type. More... | |
| void | Copy (GlgCloneType clone_type=GLG_FULL_CLONE) |
| Creates a copy of an object. More... | |
| void | Create (GlgObjectType type, char *name=NULL, GlgAnyType data1=NULL, GlgAnyType data2=NULL, GlgAnyType data3=NULL, GlgAnyType data4=NULL) |
| Creates a new GLG object of the specified type. More... | |
| GlgObjectC | ( | GlgObjectC & | object, |
| GlgCloneType | clone_type = GLG_FULL_CLONE |
||
| ) |
Copy constructor, Extended API: Creates a copy of the object.
| object | The object to be cloned. |
| clone_type | The type of cloning to perform, GLG_FULL_CLONE by default. |
This is a wrapper for GlgCloneObject, see GlgCloneObject for more information.
| GlgObjectC | ( | GlgObjectType | type, |
| char * | name = NULL, |
||
| GlgAnyType | data1 = NULL, |
||
| GlgAnyType | data2 = NULL, |
||
| GlgAnyType | data3 = NULL, |
||
| GlgAnyType | data4 = NULL |
||
| ) |
Constructor, Extended API: Creates a new object of the specified type.
This is a wrapper for GlgCreateObject, which receives the method's parameters. See GlgCreateObject for parameter descriptions.
| type | See GlgCreateObject for parameter description. |
| name | See GlgCreateObject for parameter description. |
| data1 | See GlgCreateObject for parameter description. |
| data2 | See GlgCreateObject for parameter description. |
| data3 | See GlgCreateObject for parameter description. |
| data4 | See GlgCreateObject for parameter description. |
| void Copy | ( | GlgCloneType | clone_type = GLG_FULL_CLONE | ) |
Creates a copy of an object.
Replaces the currently stored object with a copy of it.
| clone_type | The type of cloning to perform, GLG_FULL_CLONE by default. |
This is a wrapper for GlgCloneObject, see GlgCloneObject for more information.
| void Create | ( | GlgObjectType | type, |
| char * | name = NULL, |
||
| GlgAnyType | data1 = NULL, |
||
| GlgAnyType | data2 = NULL, |
||
| GlgAnyType | data3 = NULL, |
||
| GlgAnyType | data4 = NULL |
||
| ) |
Creates a new GLG object of the specified type.
Replaces the previously stored object with a newly created object of the specified type. This is a wrapper for GlgCreateObject, which receives the method's parameters. See GlgCreateObject for parameter descriptions.
| type | See GlgCreateObject for parameter description. |
| name | See GlgCreateObject for parameter description. |
| data1 | See GlgCreateObject for parameter description. |
| data2 | See GlgCreateObject for parameter description. |
| data3 | See GlgCreateObject for parameter description. |
| data4 | See GlgCreateObject for parameter description. |