GATE
gate_wrapper_t Interface Reference

Reference-counted wrapper object carrying another object type. More...

#include <wrappers.h>

Inheritance diagram for gate_wrapper_t:
gate_memoryblock_t gate_object_t gate_variant_t

Public Member Functions

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.
 

Detailed Description

Reference-counted wrapper object carrying another object type.

Member Function Documentation

◆ get_type()

void const * get_type ( )

Returns a language-native type identifier.

Returns
Pointer to language-native type identifier

◆ is_type()

gate_bool_t is_type ( void const * compare_with)

returns true if embedded type equals given native type identifier

Parameters
[in]compare_withPointer to type identifier to compare the internal type with
Returns
true if type equals the given identifier, otherwise false

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