xrootd
Public Member Functions | Static Public Member Functions | Static Private Attributes
XrdClTests::TestEnv Class Reference

Envornment holding the variables for tests. More...

#include <TestEnv.hh>

Inheritance diagram for XrdClTests::TestEnv:
Inheritance graph
[legend]
Collaboration diagram for XrdClTests::TestEnv:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TestEnv ()
 Constructor.
- Public Member Functions inherited from XrdCl::Env
virtual ~Env ()
 Destructor.
bool GetString (const std::string &key, std::string &value)
bool PutString (const std::string &key, const std::string &value)
bool GetInt (const std::string &key, int &value)
bool PutInt (const std::string &key, int value)
bool ImportInt (const std::string &key, const std::string &shellKey)
bool ImportString (const std::string &key, const std::string &shellKey)
void WriteLock ()
void UnLock ()
void ReInitializeLock ()

Static Public Member Functions

static XrdCl::Env * GetEnv ()
 Get default test environment.
static XrdCl::Log * GetLog ()
 Get default test environment.
static void Release ()
 Release the environment.

Static Private Attributes

static XrdSysMutex sEnvMutex
static XrdCl::Env * sEnv = 0
static XrdCl::Log * sLog = 0

Detailed Description

Envornment holding the variables for tests.


Constructor & Destructor Documentation

XrdClTests::TestEnv::TestEnv ( )

Constructor.

References XrdCl::Env::ImportString(), and XrdCl::Env::PutString().

Referenced by GetEnv().


Member Function Documentation

XrdCl::Env * XrdClTests::TestEnv::GetEnv ( )
static
XrdCl::Log * XrdClTests::TestEnv::GetLog ( )
static
void XrdClTests::TestEnv::Release ( )
static

Release the environment.

References sEnv.


Member Data Documentation

XrdCl::Env * XrdClTests::TestEnv::sEnv = 0
staticprivate

Referenced by GetEnv(), and Release().

XrdSysMutex XrdClTests::TestEnv::sEnvMutex
staticprivate

Referenced by GetEnv().

XrdCl::Log * XrdClTests::TestEnv::sLog = 0
staticprivate

Referenced by GetLog().


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