#include <GteEnvironment.h>
Public Member Functions | |
Environment () | |
std::string | Get (int i) const |
int | GetNumDirectories () const |
std::string | GetPath (std::string const &name) const |
std::string | GetVariable (std::string const &name) |
bool | Insert (std::string const &directory) |
bool | Remove (std::string const &directory) |
void | RemoveAll () |
~Environment () | |
Private Attributes | |
std::vector< std::string > | mDirectories |
Definition at line 18 of file GteEnvironment.h.
Environment::~Environment | ( | ) |
Definition at line 15 of file GteEnvironment.cpp.
Environment::Environment | ( | ) |
Definition at line 19 of file GteEnvironment.cpp.
std::string Environment::Get | ( | int | i | ) | const |
Definition at line 52 of file GteEnvironment.cpp.
int Environment::GetNumDirectories | ( | ) | const |
Definition at line 47 of file GteEnvironment.cpp.
std::string Environment::GetPath | ( | std::string const & | name | ) | const |
Definition at line 113 of file GteEnvironment.cpp.
std::string Environment::GetVariable | ( | std::string const & | name | ) |
Definition at line 23 of file GteEnvironment.cpp.
bool Environment::Insert | ( | std::string const & | directory | ) |
Definition at line 63 of file GteEnvironment.cpp.
bool Environment::Remove | ( | std::string const & | directory | ) |
Definition at line 94 of file GteEnvironment.cpp.
void Environment::RemoveAll | ( | ) |
Definition at line 108 of file GteEnvironment.cpp.
|
private |
Definition at line 46 of file GteEnvironment.h.