9 #ifndef MBase_FragmentedString_h 10 #define MBase_FragmentedString_h 115 unsigned Int32 mBlockSize;
122 #define HEADER_SIZE sizeof(BlockHeader) 129 BlockHeader *mCurHdr;
130 unsigned Int32 mSpaceUsed;
131 unsigned Int32 mTotalLength;
132 unsigned Int32 mTotalAllocatedSize;
133 unsigned Int32 mTotalAllocNum;
134 unsigned Int32 mInitSize;
137 WCHAR* GetCurrentPosition();
138 size_t AdjustBoundary(
size_t iSize);
wchar_t WCHAR
Definition: PDCwchar.h:23
HRESULT AppendChar(WCHAR iChar)
HRESULT get_TotalAllocatedSize(unsigned Int32 *opSize)
long HRESULT
Definition: FragmentedString.h:20
#define DLL_BASE_EXIM
Definition: Base.h:20
void operator()(T *ipData)
Definition: FragmentedString.h:28
HRESULT AppendChars(WCHAR *ipChars, unsigned Int32 iLength)
Definition: FragmentedString.h:37
DLL_BASE_EXIM FragmentedString * CreateFragmentedString(WCHAR *ipStr, size_t iSize, const MBase::Allocator< WCHAR > &iAlloc=MBase::Allocator< WCHAR >())
#define Int32
Definition: BasicTypes.h:20
HRESULT CopyString(unsigned Int32 iLength, WCHAR *opString)
HRESULT get_TotalAllocNumer(unsigned Int32 *opNum)
FragmentedString(WCHAR *ipStr, size_t iSize, const MBase::Allocator< WCHAR > &iAlloc=MBase::Allocator< WCHAR >())
Definition: Allocator.h:47
HRESULT get_Length(unsigned Int32 *opLength)
Definition: StrongPtr.h:50
Definition: FragmentedString.h:25
HRESULT get_InitSize(unsigned Int32 *opInit)
MBase::StrongPtr< FragmentedString, DeleteFS< FragmentedString > > FragmentedStringPtr
Definition: FragmentedString.h:145
HRESULT AppendString(WCHAR *ipString)
#define NULL
Definition: Null.h:10