ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Environment.hpp
Revision: 173
Committed: 2004-06-21T03:15:47-07:00 (21 years ago) by Douglas Thrift
File size: 472 byte(s)
Log Message:
Wow!

File Contents

# User Rev Content
1 Douglas Thrift 173 // Smersh
2     //
3     // Douglas Thrift
4     //
5     // $Id$
6    
7     #ifndef _Environment_hpp_
8     #define _Environment_hpp_
9    
10     #include <string>
11     #include <sstream>
12     #include <map>
13    
14     using namespace std;
15    
16     class Environment
17     {
18     private:
19     map<string, string> env;
20     public:
21     Environment() {}
22     ~Environment() {}
23     string get(const string& name);
24     int set(const string& name, const string& value, bool overwrite = true);
25     int put(const string& env);
26     void unset(const string& name);
27     };
28    
29     #endif // _Environment_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id