Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

at::OSTraitsBase Class Reference

#include <at_os.h>

List of all members.

Public Types

enum  { DebugBuild = AT_DebugBuild }

Static Public Methods

char * GetAccVioAddr ()
bool GetRunningTestCase ()
bool AT_OSAssert (bool i_assertion, const char *i_file, int i_line)
void TestCaseAssert (const char *i_file, int i_line)
void TestCaseAbort (const char *i_file, int i_line)

Static Public Attributes

const char * m_default_temp_dir = "/tmp"
const char m_directory_separator = '/'

Friends

class UnitTestAssertModifier


Detailed Description

The OSTraitsBase class is a base class defining some basic OS-specific traits.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
DebugBuild  DebugBuild is a constant that will be used to check for debug builds. This will enable extra consistantcy checks.


Member Function Documentation

bool at::OSTraitsBase::AT_OSAssert bool    i_assertion,
const char *    i_file,
int    i_line
[inline, static]
 

The AT_OSAssert method that the current process if an assertion fails.

char* at::OSTraitsBase::GetAccVioAddr   [inline, static]
 

GetAccVioAddr returns m_accessViolationAddr.

Returns:
m_accessViolationAddr

bool at::OSTraitsBase::GetRunningTestCase   [inline, static]
 

GetRunningTestCase returns m_running_test_case

Returns:
m_running_test_case

void at::OSTraitsBase::TestCaseAbort const char *    i_file,
int    i_line
[static]
 

TestCaseAbort will throw a test case assertion.

Parameters:
i_file  The file name that is asserting
i_line  The line number where the assertion occurred

void at::OSTraitsBase::TestCaseAssert const char *    i_file,
int    i_line
[static]
 

TestCaseAssert will throw a test case assertion.

Parameters:
i_file  The file name that is asserting
i_line  The line number where the assertion occurred


Friends And Related Function Documentation

friend class UnitTestAssertModifier [friend]
 


Member Data Documentation

const char * at::OSTraitsBase::m_default_temp_dir = "/tmp" [static]
 

m_default_temp_dir is a directory to use if no "TMP" or "TEMP" environment variable exists.

const char at::OSTraitsBase::m_directory_separator = '/' [static]
 


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

Generated for Austria by doxygen and MakeXS at Sun Oct 24 17:35:34 PDT 2004