CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
envUtil.h File Reference
#include <string>
#include <iosfwd>

Go to the source code of this file.

Classes

class  envSwitch
 
class  envUtil
 

Functions

std::ostream & operator<< (std::ostream &co, const envUtil &eu)
 
std::istream & operator>> (std::istream &ci, envUtil &eu)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  co,
const envUtil eu 
)

Definition at line 45 of file envUtil.cc.

References envUtil::getEnv().

45  {
46  return co << eu.getEnv();
47 }
const std::string & getEnv() const
return the value
Definition: envUtil.h:49
std::istream& operator>> ( std::istream &  ci,
envUtil eu 
)

Definition at line 49 of file envUtil.cc.

References m, and envUtil::setEnv().

49  {
50  std::string m;
51  ci >> m;
52  eu.setEnv(m);
53  return ci;
54 }
void setEnv()
Definition: envUtil.cc:20