Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
クラス | 関数
WinUnit 名前空間

クラス

class  Assert
 
class  AssertException
 
class  AssertExceptionA
 
class  AssertExceptionW
 
class  Environment
 

関数

template<class T >
const TCHAR * ToString (const T &object, TCHAR buffer[], size_t bufferSize)
 Size of buffer in TCHARs
 
template<class T >
const TCHAR * ToString (T *object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const bool &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const signed char &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const unsigned char &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const char &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const __int16 &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const unsigned __int16 &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const __int32 &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const unsigned __int32 &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const long &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const unsigned long &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const __int64 &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const unsigned __int64 &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const float &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const double &object, TCHAR buffer[], size_t bufferSize)
 
template<>
const TCHAR * ToString (const long double &object, TCHAR buffer[], size_t bufferSize)
 
void Trace (const wchar_t *formatString,...)
 Wide-character version of function called by WIN_TRACE macro.
 
void Trace (const char *formatString,...)
 ANSI version of function called by WIN_TRACE macro.
 

関数詳解

◆ ToString() [1/17]

template<>
const TCHAR * WinUnit::ToString ( const __int16 &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [2/17]

template<>
const TCHAR * WinUnit::ToString ( const __int32 &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [3/17]

template<>
const TCHAR * WinUnit::ToString ( const __int64 &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [4/17]

template<>
const TCHAR * WinUnit::ToString ( const bool object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [5/17]

template<>
const TCHAR * WinUnit::ToString ( const char &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [6/17]

template<>
const TCHAR * WinUnit::ToString ( const double &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [7/17]

template<>
const TCHAR * WinUnit::ToString ( const float &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [8/17]

template<>
const TCHAR * WinUnit::ToString ( const long &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [9/17]

template<>
const TCHAR * WinUnit::ToString ( const long double &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [10/17]

template<>
const TCHAR * WinUnit::ToString ( const signed char &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [11/17]

template<class T >
const TCHAR * WinUnit::ToString ( const T &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inline

Size of buffer in TCHARs

Implement this function for your type if you would like it to show up in assert messages as something more specific than [OBJECT].

戻り値
Pointer to buffer passed in, for easier inline use.
引数
objectObject that needs a string representation
bufferBuffer to hold the returned string

◆ ToString() [12/17]

template<>
const TCHAR * WinUnit::ToString ( const unsigned __int16 &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [13/17]

template<>
const TCHAR * WinUnit::ToString ( const unsigned __int32 &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [14/17]

template<>
const TCHAR * WinUnit::ToString ( const unsigned __int64 &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [15/17]

template<>
const TCHAR * WinUnit::ToString ( const unsigned char &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [16/17]

template<>
const TCHAR * WinUnit::ToString ( const unsigned long &  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ ToString() [17/17]

template<class T >
const TCHAR * WinUnit::ToString ( T *  object,
TCHAR  buffer[],
size_t  bufferSize 
)
inlineprivate

◆ Trace() [1/2]

void WinUnit::Trace ( const char *  formatString,
  ... 
)
inlineprivate

ANSI version of function called by WIN_TRACE macro.

◆ Trace() [2/2]

void WinUnit::Trace ( const wchar_t *  formatString,
  ... 
)
inlineprivate

Wide-character version of function called by WIN_TRACE macro.