vhdSys Class Reference

#include <vhdSys.h>

List of all members.

Public Member Functions

void postEvent (vhdEventRef event)
void dispatchEvent (vhdEventRef event)
vhdEventPublisherRef getEventPublisher ()

Static Public Member Functions

static vhdSysRef instance ()
static void init ()
static void terminate ()
static void redirectAll (const std::string &oneFile="", int iHistoryLog=-1)
static std::string getCerrDefaultRedirectionFileName ()
static void redirectCerr ()
static std::string getCerrRedirectionFileName ()
static void redirectCerr (const std::string &fileName, int iHistoryLog)
static vhtBool isCerrRedirected ()
static void restoreCerr ()
static std::string getCoutDefaultRedirectionFileName ()
static void redirectCout ()
static std::string getCoutRedirectionFileName ()
static void redirectCout (const std::string &fileName, int iHistoryLog)
static vhtBool isCoutRedirected ()
static void restoreCout ()
static void assureStaticInit ()
static vhtUInt32 getHashCode (const vhtByte *buf, vhtSize32 bufSize)
static vhtUInt32 getHashCode (vhdObjectRef o)
static std::string removeLeadingChars (const std::string &str, const std::string &charSet)
static std::string removeTrailingChars (const std::string &str, const std::string &charSet)
static std::string removeLeadingTrailingChars (const std::string &str, const std::string &charSet)
static vhtBool isEnvVarDefined (const std::string &envVarName)
static std::string getEnvVar (const std::string &envVarName)
static void undefEnvVar (const std::string &envVarName)
static void setEnvVar (const std::string &envVarName, const std::string &envVarValue)
static std::string formatEnvVars (const std::string &str, const std::string &fromEnvVarFormat, const std::string &toEnvVarFormat="$(ENVVAR)", const std::string &envVar="ENVVAR")
static vhtSize32 countEnvVars (const std::string &str, const std::string &envVarFormat="$(ENVVAR)", const std::string &envVar="ENVVAR")
static std::string getEnvVarByIndex (const std::string &str, vhtSize32 index)
static std::string getFirstUndefinedEnvVar (const std::string &str)
static std::string getAllUndefinedEnvVars (const std::string &str)
static std::string expandAllEnvVars (const std::string &str)
static std::string expandDefinedAndUndefinedEnvVars (const std::string &str)
static std::string expandDefinedEnvVars (const std::string &str)
static std::string expandSelectedEnvVars (const std::string &str, const std::string &envVars)
static std::string makeOSPath (const std::string &filePath)
static std::string makeOSAbsolutePath (const std::string &filePath)
static void splitOSPath (const std::string &filePath, std::string &leadingPath, std::string &fileName, std::string &fileNameExt)
static vhdSearchPathsRef getSearchPaths ()
static vhdIClockRef getSysClock ()
static vhdIClockRef getUTCClock ()
static vhtTime getCurrentSysTime ()
static vhtTime getCurrentUTCTime ()
static vhtBool isSimClockInitialized ()
static void initSimClock (vhdClockRef simClock)
static vhdClockRef getSimClock ()
static vhtTime getCurrentSimTime ()
static vhdEventDispatcherRef getEventDispatcher ()
static vhtUInt8 toSerialUInt8 (vhtUInt8 hostValue)
static vhtUInt16 toSerialUInt16 (vhtUInt16 hostValue)
static vhtUInt32 toSerialUInt32 (vhtUInt32 hostValue)
static vhtUInt64 toSerialUInt64 (vhtUInt64 hostValue)
static vhtUInt8 fromSerialUInt8 (vhtUInt8 serialValue)
static vhtUInt16 fromSerialUInt16 (vhtUInt16 serialValue)
static vhtUInt32 fromSerialUInt32 (vhtUInt32 serialValue)
static vhtUInt64 fromSerialUInt64 (vhtUInt64 serialValue)
static void toSerialUInt8Ptr (void *serialValuePtr, vhtUInt8 hostValue)
static void toSerialUInt16Ptr (void *serialValuePtr, vhtUInt16 hostValue)
static void toSerialUInt32Ptr (void *serialValuePtr, vhtUInt32 hostValue)
static void toSerialUInt64Ptr (void *serialValuePtr, vhtUInt64 hostValue)
static vhtUInt8 fromSerialUInt8Ptr (void *serialValuePtr)
static vhtUInt16 fromSerialUInt16Ptr (void *serialValuePtr)
static vhtUInt32 fromSerialUInt32Ptr (void *serialValuePtr)
static vhtUInt64 fromSerialUInt64Ptr (void *serialValuePtr)

Private Member Functions

 vhdCLASS_DECLARATION (_UTCClock) static vhdSysRef _instance
 vhdSys ()

Static Private Member Functions

static vhdSysRef _createInstance ()

Classes

class  _Impl
class  _UTCClock


Constructor & Destructor Documentation

vhdSys::vhdSys (  )  [inline, private]


Member Function Documentation

vhdSys::vhdCLASS_DECLARATION ( _UTCClock   )  [private]

static vhdSysRef vhdSys::_createInstance (  )  [static, private]

static vhdSysRef vhdSys::instance (  )  [inline, static]

void vhdSys::init (  )  [static]

void vhdSys::terminate (  )  [static]

void vhdSys::redirectAll ( const std::string &  oneFile = "",
int  iHistoryLog = -1 
) [static]

std::string vhdSys::getCerrDefaultRedirectionFileName (  )  [static]

void vhdSys::redirectCerr (  )  [static]

std::string vhdSys::getCerrRedirectionFileName (  )  [static]

void vhdSys::redirectCerr ( const std::string &  fileName,
int  iHistoryLog 
) [static]

vhtBool vhdSys::isCerrRedirected (  )  [static]

void vhdSys::restoreCerr (  )  [static]

std::string vhdSys::getCoutDefaultRedirectionFileName (  )  [static]

void vhdSys::redirectCout (  )  [static]

std::string vhdSys::getCoutRedirectionFileName (  )  [static]

void vhdSys::redirectCout ( const std::string &  fileName,
int  iHistoryLog 
) [static]

vhtBool vhdSys::isCoutRedirected (  )  [static]

void vhdSys::restoreCout (  )  [static]

void vhdSys::assureStaticInit (  )  [static]

vhtUInt32 vhdSys::getHashCode ( const vhtByte buf,
vhtSize32  bufSize 
) [static]

static vhtUInt32 vhdSys::getHashCode ( vhdObjectRef  o  )  [inline, static]

std::string vhdSys::removeLeadingChars ( const std::string &  str,
const std::string &  charSet 
) [static]

std::string vhdSys::removeTrailingChars ( const std::string &  str,
const std::string &  charSet 
) [static]

std::string vhdSys::removeLeadingTrailingChars ( const std::string &  str,
const std::string &  charSet 
) [static]

vhtBool vhdSys::isEnvVarDefined ( const std::string &  envVarName  )  [static]

std::string vhdSys::getEnvVar ( const std::string &  envVarName  )  [static]

void vhdSys::undefEnvVar ( const std::string &  envVarName  )  [static]

void vhdSys::setEnvVar ( const std::string &  envVarName,
const std::string &  envVarValue 
) [static]

std::string vhdSys::formatEnvVars ( const std::string &  str,
const std::string &  fromEnvVarFormat,
const std::string &  toEnvVarFormat = "$(ENVVAR)",
const std::string &  envVar = "ENVVAR" 
) [static]

vhtSize32 vhdSys::countEnvVars ( const std::string &  str,
const std::string &  envVarFormat = "$(ENVVAR)",
const std::string &  envVar = "ENVVAR" 
) [static]

std::string vhdSys::getEnvVarByIndex ( const std::string &  str,
vhtSize32  index 
) [static]

std::string vhdSys::getFirstUndefinedEnvVar ( const std::string &  str  )  [static]

std::string vhdSys::getAllUndefinedEnvVars ( const std::string &  str  )  [static]

std::string vhdSys::expandAllEnvVars ( const std::string &  str  )  [static]

std::string vhdSys::expandDefinedAndUndefinedEnvVars ( const std::string &  str  )  [static]

std::string vhdSys::expandDefinedEnvVars ( const std::string &  str  )  [static]

std::string vhdSys::expandSelectedEnvVars ( const std::string &  str,
const std::string &  envVars 
) [static]

std::string vhdSys::makeOSPath ( const std::string &  filePath  )  [static]

std::string vhdSys::makeOSAbsolutePath ( const std::string &  filePath  )  [static]

void vhdSys::splitOSPath ( const std::string &  filePath,
std::string &  leadingPath,
std::string &  fileName,
std::string &  fileNameExt 
) [static]

vhdSearchPathsRef vhdSys::getSearchPaths (  )  [static]

vhdIClockRef vhdSys::getSysClock (  )  [static]

vhdIClockRef vhdSys::getUTCClock (  )  [static]

vhtTime vhdSys::getCurrentSysTime (  )  [static]

vhtTime vhdSys::getCurrentUTCTime (  )  [static]

vhtBool vhdSys::isSimClockInitialized (  )  [static]

void vhdSys::initSimClock ( vhdClockRef  simClock  )  [static]

vhdClockRef vhdSys::getSimClock (  )  [static]

vhtTime vhdSys::getCurrentSimTime (  )  [static]

void vhdSys::postEvent ( vhdEventRef  event  ) 

void vhdSys::dispatchEvent ( vhdEventRef  event  ) 

vhdEventPublisherRef vhdSys::getEventPublisher (  ) 

vhdEventDispatcherRef vhdSys::getEventDispatcher (  )  [static]

static vhtUInt8 vhdSys::toSerialUInt8 ( vhtUInt8  hostValue  )  [inline, static]

vhtUInt16 vhdSys::toSerialUInt16 ( vhtUInt16  hostValue  )  [static]

vhtUInt32 vhdSys::toSerialUInt32 ( vhtUInt32  hostValue  )  [static]

vhtUInt64 vhdSys::toSerialUInt64 ( vhtUInt64  hostValue  )  [static]

static vhtUInt8 vhdSys::fromSerialUInt8 ( vhtUInt8  serialValue  )  [inline, static]

vhtUInt16 vhdSys::fromSerialUInt16 ( vhtUInt16  serialValue  )  [static]

vhtUInt32 vhdSys::fromSerialUInt32 ( vhtUInt32  serialValue  )  [static]

vhtUInt64 vhdSys::fromSerialUInt64 ( vhtUInt64  serialValue  )  [static]

static void vhdSys::toSerialUInt8Ptr ( void *  serialValuePtr,
vhtUInt8  hostValue 
) [inline, static]

static void vhdSys::toSerialUInt16Ptr ( void *  serialValuePtr,
vhtUInt16  hostValue 
) [inline, static]

static void vhdSys::toSerialUInt32Ptr ( void *  serialValuePtr,
vhtUInt32  hostValue 
) [inline, static]

static void vhdSys::toSerialUInt64Ptr ( void *  serialValuePtr,
vhtUInt64  hostValue 
) [inline, static]

static vhtUInt8 vhdSys::fromSerialUInt8Ptr ( void *  serialValuePtr  )  [inline, static]

static vhtUInt16 vhdSys::fromSerialUInt16Ptr ( void *  serialValuePtr  )  [inline, static]

static vhtUInt32 vhdSys::fromSerialUInt32Ptr ( void *  serialValuePtr  )  [inline, static]

static vhtUInt64 vhdSys::fromSerialUInt64Ptr ( void *  serialValuePtr  )  [inline, static]


Generated on Thu Jan 18 10:06:27 2007 for vhdPLUS by  doxygen 1.5.1-p1