169 Blob(
char * pData, std::size_t nDataSize,
bool bCopy =
true );
250 int setData(
char * pData, std::size_t nDataSize,
bool bCopy =
true );
354 virtual std::size_t
getData(
char *& prBlob,
bool bCopy =
true );
378 int getData(
char *& prBlob, std::size_t nStartPosition, std::size_t nSize );
404 int getBlob(
Blob *& prBlob, std::size_t nStartPosition, std::size_t nSize );
469 const char * pSearchMask,
470 std::size_t nSearchMaskSize,
471 bool bSearchAtTheBeginning );
530 const char * pSearchMask,
531 std::size_t nSearchMaskSize );
562 const char * pSearchMask,
563 std::size_t nSearchMaskSize );
596 const char * pSearchMask,
597 std::size_t nSearchMaskSize,
598 bool bSearchAtTheEnd );
657 const char * pSearchMask,
658 std::size_t nSearchMaskSize );
688 const char * pSearchMask,
689 std::size_t nSearchMaskSize );
759 int append(
const char * pBuffer, std::size_t nBufferSize );
830 std::size_t nBufferSize,
831 std::size_t nBufferPosition );
850 int insert(
const Blob * pBlob, std::size_t nBufferPosition );
869 int insert(
const Blob & rBlob, std::size_t nBufferPosition );
890 int remove( std::size_t nNumberRemoveBytes, std::size_t nBufferPosition );
918 std::size_t pOldContentSize,
919 const char * pNewContent,
920 std::size_t pNewContentSize );
950 std::size_t pOldContentSize,
951 const char * pNewContent,
952 std::size_t pNewContentSize );
1016 int operator== (
const Blob & rBlob )
const;
1017 int operator!= (
const Blob & rBlob )
const;
1018 bool operator> (
const Blob & rBlob );
1019 bool operator< (
const Blob & rBlob );
1020 bool operator>= (
const Blob & rBlob );
1021 bool operator<= (
const Blob & rBlob );
1061 operator int()
const;
This class allows to edit a blob (insert, copy, search etc.).
Definition EuBlob.h:75
bool m_bMemResponsible
Definition EuBlob.h:126
int swap(Blob &rSwapBlob)
int insert(const Blob &rBlob, std::size_t nBufferPosition)
int remove(std::size_t nNumberRemoveBytes, std::size_t nBufferPosition)
std::size_t m_nSize
Definition EuBlob.h:99
int setCurrentPosition(std::size_t nNewPosition)
char getChar(std::size_t nPosition)
int getData(char *&prBlob, std::size_t nStartPosition, std::size_t nSize)
int insert(const char *pBuffer, std::size_t nBufferSize, std::size_t nBufferPosition)
int replaceAll(const char *pOldContent, std::size_t pOldContentSize, const char *pNewContent, std::size_t pNewContentSize)
bool findForward(std::size_t &nFoundPosition, const char *pSearchMask, std::size_t nSearchMaskSize)
int append(const char *pBuffer, std::size_t nBufferSize)
int insert(const Blob *pBlob, std::size_t nBufferPosition)
bool findForward(std::size_t &nFoundPosition, const char *pSearchMask, std::size_t nSearchMaskSize, bool bSearchAtTheBeginning)
std::size_t getCurrentPosition() const
bool findBackward(std::size_t &nFoundPosition, const char *pSearchMask, std::size_t nSearchMaskSize, bool bSearchAtTheEnd)
int append(const Blob &rBlob)
virtual std::size_t getData(char *&prBlob, bool bCopy=true)
int append(const Blob *pBlob)
int getBlob(Blob *&prBlob, std::size_t nStartPosition, std::size_t nSize)
bool findBackward(std::size_t &nFoundPosition, const char *pSearchMask, std::size_t nSearchMaskSize)
bool findForwardNext(std::size_t &nFoundPosition, const char *pSearchMask, std::size_t nSearchMaskSize)
std::size_t getSize() const
int replace(const char *pOldContent, std::size_t pOldContentSize, const char *pNewContent, std::size_t pNewContentSize)
int setData(char *pData, std::size_t nDataSize, bool bCopy=true)
bool findBackwardNext(std::size_t &nFoundPosition, const char *pSearchMask, std::size_t nSearchMaskSize)
Blob(char *pData, std::size_t nDataSize, bool bCopy=true)
std::size_t m_nCurrentPosition
Definition EuBlob.h:110
void setMemResponsible(bool bActiv=true)
char * m_pBlob
Definition EuBlob.h:88