CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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>>().

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

Definition at line 147 of file CmdLine.h.

References dataset::end, and getGTfromDQMFile::obj.

147  {
148  obj = is.str();
149  is.seekg(0, std::ios_base::end);
150  }
string end
Definition: dataset.py:937