FACT++  1.0
template<class T >
void Converter::GetBinImp ( std::vector< char > &  v,
const T &  val 
) const
private

This is just a simplification. For the time being it is used to output the interpreted contents to the logging stream. Its main purpose is to add the contents of val in a binary representation to the vector v

Template Parameters
datatype of the variable which should be added
Parameters
valreference to the data
vvector<char> to which the binary copy should be added

Definition at line 123 of file Converter.cc.

Referenced by Get().

124 {
125  wout << " (" << val << ")";
126 
127  v.insert(v.end(),
128  reinterpret_cast<const char*>(&val),
129  reinterpret_cast<const char*>(&val+1));
130 }
std::ostream & wout
Definition: Converter.h:30

+ Here is the caller graph for this function: