test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
cmdline Namespace Reference

Classes

class  CmdLine
 
class  CmdLineError
 
class  OneShotIStream
 

Functions

template<typename T >
void OneShotExtract (std::istringstream &is, T &obj)
 
template<>
void OneShotExtract< std::string > (std::istringstream &is, std::string &obj)
 

Function Documentation

template<typename T >
void cmdline::OneShotExtract ( std::istringstream &  is,
T obj 
)
inline

Definition at line 142 of file CmdLine.h.

References getGTfromDQMFile::obj.

Referenced by cmdline::OneShotIStream::operator>>().

143 {is >> obj;}
template<>
void cmdline::OneShotExtract< std::string > ( std::istringstream &  is,
std::string &  obj 
)
inline

Definition at line 146 of file CmdLine.h.

References end, and getGTfromDQMFile::obj.

148 {obj = is.str(); is.seekg(0, std::ios_base::end);}
#define end
Definition: vmac.h:37