00001 #ifndef CLASSLIB_SHELL_ENVIRONMENT_H
00002 # define CLASSLIB_SHELL_ENVIRONMENT_H
00003
00004
00005
00006 # include "classlib/utils/Environment.h"
00007 # include <string>
00008
00009 namespace lat {
00010
00011
00012
00013
00014
00015
00016
00018 class ShellEnvironment : public Environment
00019 {
00020 public:
00021 using Environment::get;
00022 virtual bool has (const std::string &name) const;
00023 virtual std::string get (const std::string &name,
00024 bool *have = 0) const;
00025 virtual void unset (const std::string &name);
00026 virtual void set (const std::string &name,
00027 const std::string &value);
00028 };
00029
00030
00031
00032
00033 }
00034 #endif // CLASSLIB_SHELL_ENVIRONMENT_H