FACT++  1.0
template<typename S >
void init ( S &  s)

Definition at line 19 of file ByteOrder.h.

References reset().

Referenced by DimServerDns::DimServerDns(), DimStaticData(), FTM::DynamicData::DynamicData(), FTM::Error::Error(), FTM::FtuList::FtuList(), FTM::Header::Header(), ofits::ofits(), READ_STRUCT::READ_STRUCT(), and FTM::StaticDataBoard::StaticDataBoard().

20 {
21  if (sizeof(S)%2!=0)
22  throw std::logic_error("size of "+std::string(typeid(S).name())+" not a multiple of 2.");
23 
24  reset(s);
25 }
void reset(S &s)
Definition: ByteOrder.h:13

+ Here is the call graph for this function:

+ Here is the caller graph for this function: