FastString.h File Reference

#include "CrystalBaseOps.h"
#include "CrystalNew/CrystalNew.h"

Go to the source code of this file.

Classes

class  CSharedStringBuffer
 Storage manager for string data. More...
class  TSharedString< T >
class  TSharedStringAccessor< T >
 Fast strings with caching in static buffer. More...
class  TFastString< T, SIZE >

Typedefs

typedef TSharedString< char > CSharedString
typedef TFastString< char, 60 > CFastString
typedef TSharedString< uchar > CSharedUString
typedef TFastString< uchar, 60 > CFastUString

Functions

template<class T>
int StringCompareData (const T *pBuffer1, int lBuffer1, const T *pBuffer2, int lBuffer2)
template<class T>
TSharedString< T > operator+ (const T *pData, const TSharedString< T > &str)


Typedef Documentation

typedef TFastString<char, 60> CFastString
 

Definition at line 666 of file FastString.h.

typedef TFastString<uchar, 60> CFastUString
 

Definition at line 670 of file FastString.h.

typedef TSharedString<char> CSharedString
 

Definition of standard string types

Definition at line 665 of file FastString.h.

typedef TSharedString<uchar> CSharedUString
 

Definition at line 669 of file FastString.h.


Function Documentation

template<class T>
TSharedString<T> operator+ const T *  pData,
const TSharedString< T > &  str
 

Operators

Definition at line 497 of file FastString.h.

template<class T>
int StringCompareData const T *  pBuffer1,
int  lBuffer1,
const T *  pBuffer2,
int  lBuffer2
 

Compares two binary blocks.

Parameters:
pBuffer1 pointer to first buffer
lBuffer1 number of elements in first buffer
pBuffer2 pointer to second buffer
lBuffer2 number of elements in second buffer
Returns:
0 if buffers are equal, <0 if b1 less than b2, >0 if b1 greater than b2

Definition at line 93 of file FastString.h.


Generated on Wed Dec 21 18:10:14 2005 for Crystal2 Platform by  doxygen 1.4.5