CMS 3D CMS Logo

envUtil.h File Reference

#include <string>
#include <iosfwd>

Go to the source code of this file.

Classes

class  envSwitch
 a bool controlled by envvar More...
class  envUtil
 a class to handle enviromental variables More...

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().

00045                                                              {
00046   return co << eu.getEnv();
00047 }

std::istream& operator>> ( std::istream &  ci,
envUtil eu 
)

Definition at line 49 of file envUtil.cc.

References m, and envUtil::setEnv().

00049                                                        {
00050   std::string m;
00051   ci >> m;
00052   eu.setEnv(m);
00053   return ci;
00054 }


Generated on Tue Jun 9 17:56:01 2009 for CMSSW by  doxygen 1.5.4