FACT++  1.0
template<class T >
void Converter::Add ( std::vector< boost::any > &  vec,
const char *&  ptr 
) const
private

Convert the pointer into a boost::any object and add it to the provided vector

Parameters
vecVector to which the boost::any object should be added
ptrPointer to the binary representation. It will be incremented according to the size of the template argument
Template Parameters
TType as which the binary data should be interpreted

Definition at line 425 of file Converter.cc.

426 {
427  vec.push_back(*reinterpret_cast<const T*>(ptr));
428  ptr += sizeof(T);
429 }