Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CPLAT_Begin_Namespace_CPLAT Namespace Reference


Classes

class  PoolStack
class  CP_ICUFormatAlex
 Helper class used to parse the ICU format string. More...
struct  assert_same_size
struct  assert_same_size< SIZE, SIZE >

Typedefs

typedef int ThreadKey
 Abstraction of per-thread storage key.

Functions

static void DeallocatePoolStack (PoolStack *stack)
ThreadKey AllocateThreadKey ()
PoolStackGetPoolStack ()
CP_FileSystemSpec _FileSpecFromURL (CFURLRef inURLRef, bool inReleaseURL, const char *whichFile, const char *function, const char *file, int line)
const CP_TimeZoneAssertTimeZone (const CP_TimeZone *tz)
void InitAMPMMarkers (std::vector< CP_String > &ampm)
void InitAbbrevNameWeekDays (std::vector< CP_String > &abbrevNameWeekDays)
void InitLongNameWeekDays (std::vector< CP_String > &longNameWeekDays)
void InitLongNameMonths (std::vector< CP_String > &longNameMonths)
void InitAbbrevNameMonths (std::vector< CP_String > &abbrevNameMonths)
SInt16 GetMonthFromAbbrevName (const CP_String &abbrevMonthName)
SInt16 GetMonthFromLongName (const CP_String &longMonthName, UInt32 *nameLength=NULL)
SInt16 GetWeekDayFromLongName (const CP_String &longWeekDay, UInt32 *nameLength=NULL)
CFTimeZoneRef AssertTimeZoneCFRef (const CP_TimeZone *tz)
CFDateFormatterStyle ConvertToCFDateFormatterStyle (CP_DateTime::FormatStyle inFormat)
double round (double inValue)
UInt64 ConvertToAbsolute100Nano (const FILETIME &theTime)
void ConvertFromAbsolute100Nano (UInt64 inValue, FILETIME *inOutResult)
bool IsLeapYear (UInt16 nYear)
SInt32 ComputeDayInYear (SYSTEMTIME &sysTime)
void FixTimeMarker (CP_String &strDateTimeFormat, bool bTimeMarker)
UInt32 _ParseDigits (const CP_String &inString, UInt32 &inOutIndex, int inDigitsToParse, bool *outValid)
void SetCFPreferencesValueInProperDomain (const CP_String &inKey, CFPropertyListRef inValue, const CP_String &inApplicationID, bool inWriteToAnyUserDomain)
template<typename RESULT, typename SOURCE>
RESULT * uuid_byte_ptr_cast (SOURCE *inSrc)
int CompareUUIDBytes (const CP_UUIDBytes &inLhs, const CP_UUIDBytes &inRhs)
void AssignBytesFromGUID (CP_UUIDBytes &theBytes, const GUID &theGUID)
void AssignGUIDFromBytes (GUID &theGUID, const CP_UUIDBytes &theBytes)
void ReadStringFromStream (CP_InStream &inStream, CP_String &outString)
void WriteStringToStream (CP_OutStream &inStream, const CP_String &inString)

Variables

static std::vector< CP_StringlongNameMonths
static std::vector< CP_StringabbrevNameMonths
static std::vector< CP_StringlongNameWeekDays
static std::vector< CP_StringabbrevNameWeekDays
static std::vector< CP_Stringampm
CP_Mutex utf8_str_mutex
CP_Mutex _sharedEncoderCreationMutex
CP_Mutex _sharedMacRomanTextEncoderMutex
CP_Mutex _sharedWindowsLatin1TextEncoderMutex
CP_Mutex _sharedUS_ASCIITextEncoderMutex
CP_Mutex _sharedUTF8TextEncoderMutex
CP_UUIDBytes nullUUIDBytes = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }


Typedef Documentation

typedef int CPLAT_Begin_Namespace_CPLAT::ThreadKey
 


Function Documentation

static void DeallocatePoolStack PoolStack *  stack  )  [static]
 

ThreadKey AllocateThreadKey  ) 
 

PoolStack& GetPoolStack  ) 
 

CP_FileSystemSpec _FileSpecFromURL CFURLRef  inURLRef,
bool  inReleaseURL,
const char *  whichFile,
const char *  function,
const char *  file,
int  line
 

Todo:
CodeWarrior Pro 8 is not handling CFStringRefs in va_list arg correct when passed as a CP_String

const CP_TimeZone& AssertTimeZone const CP_TimeZone tz  ) 
 

void InitAMPMMarkers std::vector< CP_String > &  ampm  ) 
 

void InitAbbrevNameWeekDays std::vector< CP_String > &  abbrevNameWeekDays  ) 
 

void InitLongNameWeekDays std::vector< CP_String > &  longNameWeekDays  ) 
 

void InitLongNameMonths std::vector< CP_String > &  longNameMonths  ) 
 

void InitAbbrevNameMonths std::vector< CP_String > &  abbrevNameMonths  ) 
 

SInt16 GetMonthFromAbbrevName const CP_String abbrevMonthName  ) 
 

SInt16 GetMonthFromLongName const CP_String longMonthName,
UInt32 nameLength = NULL
 

SInt16 GetWeekDayFromLongName const CP_String longWeekDay,
UInt32 nameLength = NULL
 

CFTimeZoneRef AssertTimeZoneCFRef const CP_TimeZone tz  ) 
 

CFDateFormatterStyle ConvertToCFDateFormatterStyle CP_DateTime::FormatStyle  inFormat  ) 
 

double round double  inValue  ) 
 

WARNING !!! to do

UInt64 ConvertToAbsolute100Nano const FILETIME &  theTime  ) 
 

void ConvertFromAbsolute100Nano UInt64  inValue,
FILETIME *  inOutResult
 

bool IsLeapYear UInt16  nYear  ) 
 

SInt32 ComputeDayInYear SYSTEMTIME &  sysTime  ) 
 

void FixTimeMarker CP_String strDateTimeFormat,
bool  bTimeMarker
 

UInt32 _ParseDigits const CP_String inString,
UInt32 inOutIndex,
int  inDigitsToParse,
bool *  outValid
 

void SetCFPreferencesValueInProperDomain const CP_String inKey,
CFPropertyListRef  inValue,
const CP_String inApplicationID,
bool  inWriteToAnyUserDomain
 

template<typename RESULT, typename SOURCE>
RESULT* uuid_byte_ptr_cast SOURCE *  inSrc  ) 
 

int CompareUUIDBytes const CP_UUIDBytes inLhs,
const CP_UUIDBytes inRhs
 

void AssignBytesFromGUID CP_UUIDBytes theBytes,
const GUID &  theGUID
 

void AssignGUIDFromBytes GUID &  theGUID,
const CP_UUIDBytes theBytes
 

void ReadStringFromStream CP_InStream inStream,
CP_String outString
 

void WriteStringToStream CP_OutStream inStream,
const CP_String inString
 


Variable Documentation

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::longNameMonths [static]
 

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::abbrevNameMonths [static]
 

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::longNameWeekDays [static]
 

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::abbrevNameWeekDays [static]
 

std::vector<CP_String> CPLAT_Begin_Namespace_CPLAT::ampm [static]
 

CP_Mutex CPLAT_Begin_Namespace_CPLAT::utf8_str_mutex
 

CP_Mutex CPLAT_Begin_Namespace_CPLAT::_sharedEncoderCreationMutex
 

CP_Mutex CPLAT_Begin_Namespace_CPLAT::_sharedMacRomanTextEncoderMutex
 

CP_Mutex CPLAT_Begin_Namespace_CPLAT::_sharedWindowsLatin1TextEncoderMutex
 

CP_Mutex CPLAT_Begin_Namespace_CPLAT::_sharedUS_ASCIITextEncoderMutex
 

CP_Mutex CPLAT_Begin_Namespace_CPLAT::_sharedUTF8TextEncoderMutex
 

CP_UUIDBytes CPLAT_Begin_Namespace_CPLAT::nullUUIDBytes = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
 


Generated on Sat Sep 17 20:02:40 2005 for CPLAT by  doxygen 1.4.0