|
GATE
C/C++ Framework
|
Reference-counted wrapper object carrying a instance of a set of supported types. More...
#include <wrappers.h>
Public Member Functions | |
| gate_result_t | set_content (void const *ptr_content, gate_size_t size, void const *ptr_type) |
| Returns a language-native type identifier. | |
| Public Member Functions inherited from gate_wrapper_t | |
| void const * | get_type () |
| Returns a language-native type identifier. | |
| gate_bool_t | is_type (void const *compare_with) |
| returns true if embedded type equals given native type identifier | |
| Public Member Functions inherited from gate_memoryblock_t | |
| gate_size_t | get_size () |
| Returns the size of the allocated memory block. | |
| void * | get_content () |
| Returns a pointer to the begin of the memory data block. | |
| Public Member Functions inherited from gate_object_t | |
| char const * | get_interface_name () |
| Returns on object's interface path name. | |
| void | release () |
| Decrease object's reference counter, releases the object when count reaches zero. | |
| int | retain () |
| Increase object's reference counter. | |
Reference-counted wrapper object carrying a instance of a set of supported types.
| gate_result_t set_content | ( | void const * | ptr_content, |
| gate_size_t | size, | ||
| void const * | ptr_type ) |
Returns a language-native type identifier.
| [in] | ptr_content | Pointer to type content data to be inserted into variant carrier object |
| [in] | size | Length of content data in bytes |
| [in] | ptr_type | Pointer to type object identifying the object class |