GLG Toolkit, C / C++ API Library  Version 4.6

These functions may be used to query the Name, Type and DataType resources of an object. More...

Detailed Description

These functions may be used to query the Name, Type and DataType resources of an object.

They provide a faster and more convenient way to query these resources than using the GlgGetDResource and GlgGetSResource functions.

Functions

GlgDataType GlgGetDataType (GlgObject data_object)
 Returns a data object's data type. More...
 
char * GlgGetObjectName (GlgObject object)
 Returns an object's name. More...
 
GlgObjectType GlgGetObjectType (GlgObject object)
 Returns an object's type. More...
 

Function Documentation

◆ GlgGetDataType()

GlgDataType GlgGetDataType ( GlgObject  data_object)

Returns a data object's data type.

Parameters
data_objectA data object.
Returns
An object's data type.

◆ GlgGetObjectName()

char* GlgGetObjectName ( GlgObject  object)

Returns an object's name.

Parameters
objectA object to query.
Returns
An object's name or NULL if an object is unnamed.

◆ GlgGetObjectType()

GlgObjectType GlgGetObjectType ( GlgObject  object)

Returns an object's type.

Parameters
objectA object to query.
Returns
An object's type.