CMS 3D CMS Logo

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

◆ OneShotExtract()

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

Definition at line 142 of file CmdLine.h.

142  {
143  is >> obj;
144  }

References getGTfromDQMFile::obj.

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

◆ OneShotExtract< std::string >()

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

Definition at line 147 of file CmdLine.h.

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

References end, and getGTfromDQMFile::obj.

end
#define end
Definition: vmac.h:39
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32