Bayeux  3.4.1
Core Foundation library for SuperNEMO
Macros
vg_macros.h File Reference

Macros to automatically register vertex generator class. More...

#include <boost/type_traits/integral_constant.hpp>
#include <genvtx/i_vertex_generator.h>

Go to the source code of this file.

Macros

#define GENVTX_VG_REGISTRATION_INTERFACE(GENVTX_CLASS_NAME)
 
#define GENVTX_VG_REGISTRATION_IMPLEMENT(GENVTX_CLASS_NAME, GENVTX_ID)   DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_IMPLEMENTATION (::genvtx::i_vertex_generator,GENVTX_CLASS_NAME,GENVTX_ID) \
 
#define GENVTX_VG_VALIDATOR_SUPPORT(GENVTX_CLASS_NAME)   struct ::genvtx::vertex_generator_validator_support_traits< GENVTX_CLASS_NAME > : public boost::true_type{}; \
 

Detailed Description

Macros to automatically register vertex generator class.

Macro Definition Documentation

◆ GENVTX_VG_REGISTRATION_IMPLEMENT

#define GENVTX_VG_REGISTRATION_IMPLEMENT (   GENVTX_CLASS_NAME,
  GENVTX_ID 
)    DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_IMPLEMENTATION (::genvtx::i_vertex_generator,GENVTX_CLASS_NAME,GENVTX_ID) \

◆ GENVTX_VG_REGISTRATION_INTERFACE

#define GENVTX_VG_REGISTRATION_INTERFACE (   GENVTX_CLASS_NAME)
Value:
private: \
DATATOOLS_FACTORY_SYSTEM_AUTO_REGISTRATION_INTERFACE (::genvtx::i_vertex_generator,GENVTX_CLASS_NAME) \
The base interface class for all vertex generator classes.
Definition: i_vertex_generator.h:59

Registration

◆ GENVTX_VG_VALIDATOR_SUPPORT

#define GENVTX_VG_VALIDATOR_SUPPORT (   GENVTX_CLASS_NAME)    struct ::genvtx::vertex_generator_validator_support_traits< GENVTX_CLASS_NAME > : public boost::true_type{}; \