Operator Console
|
A null-terminated string class for which all access is controlled by critical sections. More...
#include <CriticalCString.h>
Public Member Functions | |
CriticalCString (void) | |
virtual | ~CriticalCString (void) |
bool | Append (CString &str) |
bool | Append (const char *str, int len) |
void | Clear () |
void | Get (CString &str, bool clear=false) |
copy m_string into str, then optionally clear m_string More... | |
void | Set (CString &str) |
void | Set (std::string &str) |
void | Set (const char *str) |
void | Set (const char *str, int len) |
CriticalCString (void) | |
virtual | ~CriticalCString (void) |
bool | Append (CString &str) |
bool | Append (const char *str, int len) |
void | Clear () |
void | Get (CString &str, bool clear=false) |
copy m_string into str, then optionally clear m_string More... | |
void | Set (CString &str) |
void | Set (std::string &str) |
void | Set (const char *str) |
void | Set (const char *str, int len) |
Private Attributes | |
CString | m_string |
A null-terminated string class for which all access is controlled by critical sections.
CriticalCString::CriticalCString | ( | void | ) |
|
virtual |
bool CriticalCString::Append | ( | CString & | str | ) |
References m_string.
Referenced by ImageTest::GetDataNode(), ImageTest::GetPassFailNode(), ImageTest::GetString(), ImageTest::ParseFailures(), and StdoutThread::ThreadProc().
bool CriticalCString::Append | ( | CString & | str | ) |
bool CriticalCString::Append | ( | const char * | str, |
int | len | ||
) |
References m_string.
bool CriticalCString::Append | ( | const char * | str, |
int | len | ||
) |
void CriticalCString::Clear | ( | ) |
void CriticalCString::Clear | ( | ) |
References m_string.
Referenced by ImageTest::InitResults().
void CriticalCString::Get | ( | CString & | str, |
bool | clear = false |
||
) |
copy m_string into str, then optionally clear m_string
References m_string.
Referenced by StdoutThread::Get().
void CriticalCString::Get | ( | CString & | str, |
bool | clear = false |
||
) |
copy m_string into str, then optionally clear m_string
void CriticalCString::Set | ( | CString & | str | ) |
void CriticalCString::Set | ( | CString & | str | ) |
References m_string.
Referenced by ImageTest::ParseFailures(), and StdoutThread::ThreadProc().
void CriticalCString::Set | ( | std::string & | str | ) |
void CriticalCString::Set | ( | std::string & | str | ) |
References m_string.
void CriticalCString::Set | ( | const char * | str | ) |
void CriticalCString::Set | ( | const char * | str | ) |
References m_string.
void CriticalCString::Set | ( | const char * | str, |
int | len | ||
) |
References m_string.
void CriticalCString::Set | ( | const char * | str, |
int | len | ||
) |