Public Member Functions | Private Attributes | List of all members
gte::Environment Class Reference

#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::stringmDirectories
 

Detailed Description

Definition at line 18 of file GteEnvironment.h.

Constructor & Destructor Documentation

Environment::~Environment ( )

Definition at line 15 of file GteEnvironment.cpp.

Environment::Environment ( )

Definition at line 19 of file GteEnvironment.cpp.

Member Function Documentation

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.

Member Data Documentation

std::vector<std::string> gte::Environment::mDirectories
private

Definition at line 46 of file GteEnvironment.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06