CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/CalibCalorimetry/EcalSRTools/src/PasswordReader.h

Go to the documentation of this file.
00001 #ifndef PASSWORDREADER_H
00002 #define PASSWORDREADER_H
00003 
00004 #include <string>
00005 
00006 class PasswordReader{
00007 public:
00018   void readPassword(const std::string& fileName,
00019                     const std::string& user,
00020                     std::string& password);
00021 
00022 
00037   std::string tokenize(const std::string& s,
00038                        const std::string& delim,
00039                        size_t& pos) const;
00040 
00045   std::string trim(const std::string& s, const std::string& chars) const;
00046 };
00047   
00048 #endif //PASSWORDREADER_H not defined