Windows C++ Library
Public Types | Static Public Member Functions
CStrCvt Class Reference

#include <StrCvt.hpp>

List of all members.

Public Types

enum  ParseFlags { PARSE_ANY_FORMAT = 0x0000, PARSE_OCTAL_ONLY = 0x0008, PARSE_DECIMAL_ONLY = 0x000A, PARSE_HEX_ONLY = 0x0010 }

Static Public Member Functions

static CString FormatInt (int nValue)
static CString FormatUInt (uint nValue)
static CString FormatLong (long lValue)
static CString FormatDouble (double dValue)
static CString FormatDate (time_t tValue)
static CString FormatDateTime (time_t tValue)
static CString FormatError (DWORD dwError=::GetLastError())
static int ParseInt (const tchar *pszString, int nFlags=PARSE_ANY_FORMAT)
static uint ParseUInt (const tchar *pszString, int nFlags=PARSE_ANY_FORMAT)
static long ParseLong (const tchar *pszString, int nFlags=PARSE_ANY_FORMAT)
static double ParseDouble (const tchar *pszString, int nFlags=PARSE_ANY_FORMAT)

Member Enumeration Documentation

Enumerator:
PARSE_ANY_FORMAT 
PARSE_OCTAL_ONLY 
PARSE_DECIMAL_ONLY 
PARSE_HEX_ONLY 

Member Function Documentation

CString CStrCvt::FormatInt ( int  nValue) [static]
CString CStrCvt::FormatUInt ( uint  nValue) [static]
CString CStrCvt::FormatLong ( long  lValue) [static]
CString CStrCvt::FormatDouble ( double  dValue) [static]
CString CStrCvt::FormatDate ( time_t  tValue) [static]
CString CStrCvt::FormatDateTime ( time_t  tValue) [static]
CString CStrCvt::FormatError ( DWORD  dwError = ::GetLastError()) [static]
int CStrCvt::ParseInt ( const tchar *  pszString,
int  nFlags = PARSE_ANY_FORMAT 
) [static]
uint CStrCvt::ParseUInt ( const tchar *  pszString,
int  nFlags = PARSE_ANY_FORMAT 
) [static]
long CStrCvt::ParseLong ( const tchar *  pszString,
int  nFlags = PARSE_ANY_FORMAT 
) [static]
double CStrCvt::ParseDouble ( const tchar *  pszString,
int  nFlags = PARSE_ANY_FORMAT 
) [static]

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