icedb  version 0.5.1
Snow particle scattering database API
Namespaces | Typedefs | Functions
icedb Namespace Reference

Namespaces

 Attributes
 Contains everything concerning attributes.
 
 Data_Types
 Functions to detect the type of stored data.
 
 Databases
 Everything related to opening and manipulating icedb databases.
 
 error
 
 Examples
 
 fs
 
 Groups
 All stuff related to Groups.
 
 logging
 
 mem
 
 os_functions
 
 refract
 
 registry
 
 Shapes
 All facilities to manipulate particle shapes.
 
 splitSet
 
 Tables
 Everything to do with Tables is located in this namespace.
 
 units
 Provides convenient runtime conversion functions for converting different units.
 
 versioning
 
 zeros
 

Typedefs

typedef std::map< std::string, fs::ObjectTypesObjectIdPathSet_Type
 

Functions

ICEDB_SYMBOL_SHARED void * _malloc (size_t numBytes)
 
ICEDB_SYMBOL_SHARED void _free (void *obj)
 
template<class T >
T * malloc (size_t numBytes)
 
template<class T >
void free (T *obj)
 

Typedef Documentation

◆ ObjectIdPathSet_Type

typedef std::map<std::string, fs::ObjectTypes> icedb::ObjectIdPathSet_Type

Definition at line 41 of file Database.hpp.

Function Documentation

◆ _free()

DL_ICEDB void icedb::_free ( void *  obj)

Free memory region. Should not be double-freed.

Definition at line 130 of file util.cpp.

References ICEDB_END_DECL, and ICEDB_free().

Referenced by free(), and malloc().

130 { return ICEDB_free(obj); }
ICEDB_SYMBOL_SHARED void ICEDB_free(void *obj)
Free memory region. Should not be double-freed.
Definition: util.cpp:97
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _malloc()

DL_ICEDB void * icedb::_malloc ( size_t  numBytes)

Allocate memory in bytes. Generally this is just malloced, but a custom allocator may be substituted.

Definition at line 129 of file util.cpp.

References ICEDB_malloc().

Referenced by malloc().

129 { return ICEDB_malloc(numBytes); }
ICEDB_SYMBOL_SHARED void * ICEDB_malloc(size_t numBytes)
Allocate memory in bytes. Generally this is just malloced, but a custom allocator may be substituted...
Definition: util.cpp:90
Here is the call graph for this function:
Here is the caller graph for this function:

◆ free()

template<class T >
void icedb::free ( T *  obj)

Definition at line 21 of file util.hpp.

References _free().

Referenced by ICEDB_enumModules(), ICEDB_free(), and ICEDB_getAppDirI().

21  {
22  _free(static_cast<void*>(obj));
23  }
ICEDB_SYMBOL_SHARED void _free(void *obj)
Definition: util.cpp:130
Here is the call graph for this function:
Here is the caller graph for this function:

◆ malloc()

template<class T >
T* icedb::malloc ( size_t  numBytes)

Definition at line 13 of file util.hpp.

References _free(), _malloc(), and DL_ICEDB.

Referenced by ICEDB_malloc().

13  {
14  T* res = static_cast<T*>(_malloc(numBytes));
15  return res;
16  }
ICEDB_SYMBOL_SHARED void * _malloc(size_t numBytes)
Definition: util.cpp:129
Here is the call graph for this function:
Here is the caller graph for this function: