node_data.hpp File Reference
#include <stdbool.h>
Include dependency graph for node_data.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void *() copyc_ftype(const void *)
 
typedef void() free_ftype(void *)
 
typedef struct node_data_struct node_data_type
 

Functions

void node_data_free (node_data_type *)
 
void node_data_free_container (node_data_type *)
 
node_data_typenode_data_alloc_deep_copy (const node_data_type *)
 
node_data_typenode_data_alloc_shallow_copy (const node_data_type *)
 
node_data_typenode_data_alloc_copy (const node_data_type *node, bool deep_copy)
 
void * node_data_get_ptr (const node_data_type *)
 
const void * node_data_get_const_ptr (const node_data_type *)
 
node_data_typenode_data_alloc_buffer (const void *, int)
 
node_data_typenode_data_alloc_ptr (const void *, copyc_ftype *, free_ftype *)
 
node_data_typenode_data_alloc_int (int)
 
int node_data_get_int (const node_data_type *)
 
int node_data_fetch_and_inc_int (node_data_type *node_data)
 
node_data_typenode_data_alloc_double (double)
 
double node_data_get_double (const node_data_type *)
 
node_data_typenode_data_alloc_string (const char *)
 
char * node_data_get_string (const node_data_type *)
 

Typedef Documentation

◆ copyc_ftype

typedef void *() copyc_ftype(const void *)

◆ free_ftype

typedef void() free_ftype(void *)

◆ node_data_type

typedef struct node_data_struct node_data_type

Function Documentation

◆ node_data_alloc_buffer()

node_data_type * node_data_alloc_buffer ( const void *  ,
int   
)

◆ node_data_alloc_copy()

node_data_type * node_data_alloc_copy ( const node_data_type node,
bool  deep_copy 
)

◆ node_data_alloc_deep_copy()

node_data_type * node_data_alloc_deep_copy ( const node_data_type )

◆ node_data_alloc_double()

node_data_type * node_data_alloc_double ( double  )

◆ node_data_alloc_int()

node_data_type * node_data_alloc_int ( int  )

◆ node_data_alloc_ptr()

node_data_type * node_data_alloc_ptr ( const void *  ,
copyc_ftype ,
free_ftype  
)

◆ node_data_alloc_shallow_copy()

node_data_type * node_data_alloc_shallow_copy ( const node_data_type )

◆ node_data_alloc_string()

node_data_type * node_data_alloc_string ( const char *  )

◆ node_data_fetch_and_inc_int()

int node_data_fetch_and_inc_int ( node_data_type node_data)

◆ node_data_free()

void node_data_free ( node_data_type )

◆ node_data_free_container()

void node_data_free_container ( node_data_type )

◆ node_data_get_const_ptr()

const void * node_data_get_const_ptr ( const node_data_type )

◆ node_data_get_double()

double node_data_get_double ( const node_data_type )

◆ node_data_get_int()

int node_data_get_int ( const node_data_type )

◆ node_data_get_ptr()

void * node_data_get_ptr ( const node_data_type )

◆ node_data_get_string()

char * node_data_get_string ( const node_data_type )