Bayeux  3.4.1
Core Foundation library for SuperNEMO
Macros
model_macros.h File Reference
#include <geomtools/i_model.h>

Go to the source code of this file.

Macros

#define GEOMTOOLS_MODEL_INHERIT   public ::geomtools::i_model \
 
#define GEOMTOOLS_MODEL_CLASS_DECLARE(ModelClassName)   class ModelClassName : GEOMTOOLS_MODEL_INHERIT \
 
#define GEOMTOOLS_MODEL_REGISTRATION_INTERFACE(ModelClassName)
 
#define GEOMTOOLS_MODEL_REGISTRATION_IMPLEMENT(ModelClassName, ModelClassId)   DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_IMPLEMENTATION(::geomtools::i_model,ModelClassName,ModelClassId) \
 
#define GEOMTOOLS_MODEL_PRE_CONSTRUCT_INTERFACE()
 
#define GEOMTOOLS_MODEL_POST_CONSTRUCT_INTERFACE()
 
#define GEOMTOOLS_MODEL_AT_CONSTRUCT_INTERFACE()
 
#define GEOMTOOLS_MODEL_AT_CONSTRUCT_IMPL_HEAD(ModelClassName, Name, Setup, Models)
 

Macro Definition Documentation

◆ GEOMTOOLS_MODEL_AT_CONSTRUCT_IMPL_HEAD

#define GEOMTOOLS_MODEL_AT_CONSTRUCT_IMPL_HEAD (   ModelClassName,
  Name,
  Setup,
  Models 
)
Value:
void ModelClassName::_at_construct (const std::string & Name, \
const ::datatools::properties & Setup, \
std::map< std::string, i_model * > models_col_type
Type alias for dictionary of geometry model plain handles.
Definition: model_tools.h:29

◆ GEOMTOOLS_MODEL_AT_CONSTRUCT_INTERFACE

#define GEOMTOOLS_MODEL_AT_CONSTRUCT_INTERFACE ( )
Value:
protected: \
virtual void _at_construct (const std::string &, \
const ::datatools::properties &, \
std::map< std::string, i_model * > models_col_type
Type alias for dictionary of geometry model plain handles.
Definition: model_tools.h:29

◆ GEOMTOOLS_MODEL_CLASS_DECLARE

#define GEOMTOOLS_MODEL_CLASS_DECLARE (   ModelClassName)    class ModelClassName : GEOMTOOLS_MODEL_INHERIT \

◆ GEOMTOOLS_MODEL_INHERIT

#define GEOMTOOLS_MODEL_INHERIT   public ::geomtools::i_model \

◆ GEOMTOOLS_MODEL_POST_CONSTRUCT_INTERFACE

#define GEOMTOOLS_MODEL_POST_CONSTRUCT_INTERFACE ( )
Value:
protected: \
virtual void _post_construct (::datatools::properties &); \
A dictionary of arbitrary properties.
Definition: properties.h:125

◆ GEOMTOOLS_MODEL_PRE_CONSTRUCT_INTERFACE

#define GEOMTOOLS_MODEL_PRE_CONSTRUCT_INTERFACE ( )
Value:
protected: \
virtual void _pre_construct (::datatools::properties &); \
A dictionary of arbitrary properties.
Definition: properties.h:125

◆ GEOMTOOLS_MODEL_REGISTRATION_IMPLEMENT

#define GEOMTOOLS_MODEL_REGISTRATION_IMPLEMENT (   ModelClassName,
  ModelClassId 
)    DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_IMPLEMENTATION(::geomtools::i_model,ModelClassName,ModelClassId) \

◆ GEOMTOOLS_MODEL_REGISTRATION_INTERFACE

#define GEOMTOOLS_MODEL_REGISTRATION_INTERFACE (   ModelClassName)
Value:
private: \
DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_INTERFACE(::geomtools::i_model,ModelClassName) \
The base class for geometry models.
Definition: i_model.h:45