LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
lbann::protobuf::details Namespace Reference

Classes

struct  PBCppTypePOD
 
struct  PBCppTypeS
 

Functions

 ADD_PB_CPPTYPE (int32, INT32)
 
 ADD_PB_CPPTYPE (int64, INT64)
 
 ADD_PB_CPPTYPE (uint32, UINT32)
 
 ADD_PB_CPPTYPE (uint64, UINT64)
 
 ADD_PB_CPPTYPE (double, DOUBLE)
 
 ADD_PB_CPPTYPE (float, FLOAT)
 
 ADD_PB_CPPTYPE (std::string, STRING)
 
 ADD_PB_CPPTYPE (bool, BOOL)
 
template<typename T >
auto get_repeated_field_ref (google::protobuf::Message const &msg, std::string const &field_name)
 Common code to extract a repeated field reference from a message. More...
 

Variables

template<typename T >
constexpr auto PBCppType = PBCppTypeS<T>::value
 

Function Documentation

◆ ADD_PB_CPPTYPE() [1/8]

lbann::protobuf::details::ADD_PB_CPPTYPE ( int32  ,
INT32   
)

◆ ADD_PB_CPPTYPE() [2/8]

lbann::protobuf::details::ADD_PB_CPPTYPE ( int64  ,
INT64   
)

◆ ADD_PB_CPPTYPE() [3/8]

lbann::protobuf::details::ADD_PB_CPPTYPE ( uint32  ,
UINT32   
)

◆ ADD_PB_CPPTYPE() [4/8]

lbann::protobuf::details::ADD_PB_CPPTYPE ( uint64  ,
UINT64   
)

◆ ADD_PB_CPPTYPE() [5/8]

lbann::protobuf::details::ADD_PB_CPPTYPE ( double  ,
DOUBLE   
)

◆ ADD_PB_CPPTYPE() [6/8]

lbann::protobuf::details::ADD_PB_CPPTYPE ( float  ,
FLOAT   
)

◆ ADD_PB_CPPTYPE() [7/8]

lbann::protobuf::details::ADD_PB_CPPTYPE ( std::string  ,
STRING   
)

◆ ADD_PB_CPPTYPE() [8/8]

lbann::protobuf::details::ADD_PB_CPPTYPE ( bool  ,
BOOL   
)

◆ get_repeated_field_ref()

template<typename T >
auto lbann::protobuf::details::get_repeated_field_ref ( google::protobuf::Message const &  msg,
std::string const &  field_name 
)

Common code to extract a repeated field reference from a message.

Definition at line 90 of file impl.hpp.

Variable Documentation

◆ PBCppType

template<typename T >
constexpr auto lbann::protobuf::details::PBCppType = PBCppTypeS<T>::value
inline

Definition at line 67 of file impl.hpp.