BioDynaMo  v1.05.120-25dc9790
Namespaces | Macros | Functions
root.h File Reference
#include <TClass.h>
#include "core/util/log.h"
Include dependency graph for root.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 bdm
 

Macros

#define BDM_DICT_ERROR_MSG
 
#define BDM_NULL_CLASS_DEF(class_name, class_version_id)
 
#define BDM_NULL_CLASS_DEF_NV(class_name, class_version_id)
 
#define BDM_NULL_CLASS_DEF_OVERRIDE(class_name, class_version_id)
 
#define BDM_CLASS_DEF(class_name, class_version_id)   BDM_NULL_CLASS_DEF(class_name, class_version_id)
 Forward all calls to BDM_NULL_CLASS_DEF. More...
 
#define BDM_CLASS_DEF_NV(class_name, class_version_id)   BDM_NULL_CLASS_DEF_NV(class_name, class_version_id)
 
#define BDM_CLASS_DEF_OVERRIDE(class_name, class_version_id)   BDM_NULL_CLASS_DEF_OVERRIDE(class_name, class_version_id)
 

Functions

void bdm::PrintDataMemberInfo (const std::string &class_name)
 Writes information of each data member of a class to cout. More...
 

Macro Definition Documentation

◆ BDM_CLASS_DEF

#define BDM_CLASS_DEF (   class_name,
  class_version_id 
)    BDM_NULL_CLASS_DEF(class_name, class_version_id)

Forward all calls to BDM_NULL_CLASS_DEF.

Definition at line 198 of file root.h.

◆ BDM_CLASS_DEF_NV

#define BDM_CLASS_DEF_NV (   class_name,
  class_version_id 
)    BDM_NULL_CLASS_DEF_NV(class_name, class_version_id)

Definition at line 200 of file root.h.

◆ BDM_CLASS_DEF_OVERRIDE

#define BDM_CLASS_DEF_OVERRIDE (   class_name,
  class_version_id 
)    BDM_NULL_CLASS_DEF_OVERRIDE(class_name, class_version_id)

Definition at line 202 of file root.h.

◆ BDM_DICT_ERROR_MSG

#define BDM_DICT_ERROR_MSG
Value:
"You tried to use a ROOT dictionary function, but " \
"compiled BioDynaMo without dictionary support. " \
"Please configure with cmake -Ddict=on .. and recompile."

Definition at line 39 of file root.h.

◆ BDM_NULL_CLASS_DEF

#define BDM_NULL_CLASS_DEF (   class_name,
  class_version_id 
)

Macro that inserts empty definitions of each function used for compilations without dictionaries.
The compiler won't complain about missing functions.
However, if ROOT functions are used that rely on dictionaries (e.g. backup) a runtime error will be thrown.

Definition at line 49 of file root.h.

◆ BDM_NULL_CLASS_DEF_NV

#define BDM_NULL_CLASS_DEF_NV (   class_name,
  class_version_id 
)

Definition at line 100 of file root.h.

◆ BDM_NULL_CLASS_DEF_OVERRIDE

#define BDM_NULL_CLASS_DEF_OVERRIDE (   class_name,
  class_version_id 
)

Definition at line 146 of file root.h.