ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Environment.hpp
Revision: 176
Committed: 2004-06-25T20:32:24-07:00 (20 years, 11 months ago) by Douglas Thrift
File size: 478 byte(s)
Log Message:
Almost working, needs error display, and a working api::TcpSocket::Close().

File Contents

# Content
1 // 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) const;
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