LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
register_template_class_with_cereal.hpp File Reference
Include dependency graph for register_template_class_with_cereal.hpp:

Go to the source code of this file.

Macros

#define LBANN_STRINGIFY(STR)   LBANN_STRINGIFY_IMPL(STR)
 
#define LBANN_STRINGIFY_IMPL(STR)   #STR
 
#define PROTO(T)
 
#define LBANN_CLASS_LIBNAME   LBANN_CLASS_NAME
 

Functions

 LBANN_REGISTER_DYNAMIC_INIT (LBANN_CLASS_LIBNAME)
 

Detailed Description

Define LBANN_CLASS_NAME to be the full class name before including this file. Don't include this file inside the lbann namespace.

Definition in file register_template_class_with_cereal.hpp.

Macro Definition Documentation

◆ LBANN_CLASS_LIBNAME

#define LBANN_CLASS_LIBNAME   LBANN_CLASS_NAME

Definition at line 49 of file register_template_class_with_cereal.hpp.

◆ LBANN_STRINGIFY

#define LBANN_STRINGIFY (   STR)    LBANN_STRINGIFY_IMPL(STR)

Definition at line 36 of file register_template_class_with_cereal.hpp.

◆ LBANN_STRINGIFY_IMPL

#define LBANN_STRINGIFY_IMPL (   STR)    #STR

Definition at line 37 of file register_template_class_with_cereal.hpp.

◆ PROTO

#define PROTO (   T)
Value:
LBANN_ADD_ALL_SERIALIZE_ETI(::lbann::LBANN_CLASS_NAME<T>); \
CEREAL_REGISTER_TYPE_WITH_NAME(lbann::LBANN_CLASS_NAME<T>, \
LBANN_STRINGIFY(LBANN_CLASS_NAME) "(" #T ")")
#define LBANN_STRINGIFY(STR)
LBANN_ADD_ALL_SERIALIZE_ETI(::lbann::LBANN_CLASS_NAME)

Definition at line 40 of file register_template_class_with_cereal.hpp.

Function Documentation

◆ LBANN_REGISTER_DYNAMIC_INIT()

LBANN_REGISTER_DYNAMIC_INIT ( LBANN_CLASS_LIBNAME  )