PlasCom2  1.0
XPACC Multi-physics simluation application
Environment Class Reference

Detailed Description

Definition at line 100 of file UnixUtils.H.

#include <UnixUtils.H>

Public Member Functions

 Environment ()
 
int SetEnv (const std::string &, const std::string &, bool)
 
void UnSetEnv (const std::string &)
 
int ClearEnv ()
 
const std::string GetEnv (const std::string &) const
 
std::string & GetEnv (const std::string &)
 
int PutEnv (char *)
 
void Refresh ()
 
char ** GetRawEnv ()
 

Private Member Functions

void init ()
 

Private Attributes

std::string empty_string
 
Inheritance diagram for Environment:
Collaboration diagram for Environment:

Constructor & Destructor Documentation

◆ Environment()

Definition at line 360 of file UnixUtils.C.

Member Function Documentation

◆ ClearEnv()

int ClearEnv ( )

Definition at line 401 of file UnixUtils.C.

◆ GetEnv() [1/2]

const std::string GetEnv ( const std::string &  var) const

Definition at line 410 of file UnixUtils.C.

◆ GetEnv() [2/2]

std::string & GetEnv ( const std::string &  var)

Definition at line 422 of file UnixUtils.C.

◆ GetRawEnv()

char ** GetRawEnv ( )

Definition at line 449 of file UnixUtils.C.

References environ.

◆ init()

void init ( )
private

Definition at line 366 of file UnixUtils.C.

References environ, and x.

◆ PutEnv()

int PutEnv ( char *  envs)

Definition at line 435 of file UnixUtils.C.

◆ Refresh()

void Refresh ( )

Definition at line 443 of file UnixUtils.C.

◆ SetEnv()

int SetEnv ( const std::string &  var,
const std::string &  val,
bool  ow 
)

Definition at line 385 of file UnixUtils.C.

◆ UnSetEnv()

void UnSetEnv ( const std::string &  var)

Definition at line 393 of file UnixUtils.C.

Member Data Documentation

◆ empty_string

std::string empty_string
private

Definition at line 116 of file UnixUtils.H.


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