9 #ifndef lgrDynStrings_H_
10 #define lgrDynStrings_H_
23 virtual ~DtToCaseBuff();
25 DtToCaseBuff(
const DtToCaseBuff& src );
27 DtToCaseBuff& operator=(
const DtToCaseBuff& src );
30 const char* tolower(
const char* str );
31 const char* toupper(
const char* str );
32 inline int len()
const {
return myLn; }
35 int resize(
int sz = 0 );
49 virtual ~DtWStringConv();
51 DtWStringConv(
const DtWStringConv& src );
53 DtWStringConv& operator=(
const DtWStringConv& src );
57 bool operator==(
const DtWStringConv& rhs )
const;
58 bool operator!=(
const DtWStringConv& rhs )
const;
61 bool initFromCharArr(
const char* str,
int len = -1 );
62 bool initFromWString(
const std::wstring& str );
63 void copyToWString( std::wstring& str );
66 inline const char* data()
const;
67 inline int length()
const;
70 int resize(
int sz = 0 );
78 inline const char* DtWStringConv::data()
const
84 inline int DtWStringConv::length()
const
101 virtual ~DtVarLengthBuffer();
103 DtVarLengthBuffer(
const DtVarLengthBuffer& src );
105 DtVarLengthBuffer& operator=(
const DtVarLengthBuffer& src );
109 bool operator==(
const DtVarLengthBuffer& rhs )
const;
110 bool operator!=(
const DtVarLengthBuffer& rhs )
const;
117 bool init(
const void* data,
int dataSize,
bool isString =
false );
119 bool setIsString(
bool yesNo );
120 inline bool isString()
const;
122 bool setLength(
int _length );
123 inline int length()
const;
125 inline const void* data()
const;
127 inline int bfSize()
const;
130 int resize(
int sz = 0 );
139 inline bool DtVarLengthBuffer::isString()
const
145 inline int DtVarLengthBuffer::length()
const
151 inline const void* DtVarLengthBuffer::data()
const
157 inline int DtVarLengthBuffer::bfSize()
const
181 int resize(
int sz = 0 );
Defines IMPORT/EXPORT macros for lgrSim library.
#define DT_DLL_LGRSIM
Definition: lgrSim.h:21
class 'DtDynamicBuffer'
Definition: lgrDynStrings.h:169
char * myBuff
Definition: lgrDynStrings.h:184
int mySz
Definition: lgrDynStrings.h:185