24#ifndef __ODSTRINGBUF_H_
25#define __ODSTRINGBUF_H_
OdSmartPtr< OdStreamBuf > OdStreamBufPtr
OdSmartPtr< OdStringBuf > OdStringBufPtr
static OdUInt32 GetUnicodeHeaderForType(OdStringBuf::CharFormat type)
static void DefaultUTF16Type(OdStringBuf::CharFormat &type)
static void Swap2BytesChar(OdChar &W)
OdChar FromANSI(OdUInt8 chr) const
static void DefaultUTF32Type(OdStringBuf::CharFormat &type)
OdStringBuf::CharFormat DetermineCharFormat() const
static void WriteOdFloat(OdStringBuf::CharFormat type, OdStreamBuf &io, float var)
ODRX_DECLARE_MEMBERS(OdStringBuf)
OdChar FromUTF8(OdUInt8 chr) const
static void WriteUnicodeHeader(OdStringBuf::CharFormat type, OdStreamBuf &io)
static void WriteOdUInt32(OdStringBuf::CharFormat type, OdStreamBuf &io, OdUInt32 var)
static void Swap4BytesNumber(OdUInt32 &DW)
static void Swap2BytesNumber(OdUInt16 &W)
static OdInt64 GetUnicodeHeaderSizeForType(OdStringBuf::CharFormat type)
static void WriteString(OdStringBuf::CharFormat type, OdStreamBuf &io, const char *text)
static void WriteString(OdStringBuf::CharFormat type, OdStreamBuf &io, const OdChar *text)
static OdInt64 GetUnicodeBitSizeForType(OdStringBuf::CharFormat type)
static void WriteTab(OdStringBuf::CharFormat type, OdStreamBuf &io, bool use_odc=true)
virtual OdString getString()
OdInt64 GetUnicodeHeaderSize() const
OdInt64 GetUnicodeBitSize() const
static void WriteNL(OdStringBuf::CharFormat type, OdStreamBuf &io, bool use_odc=true)
OdChar FromUTF16BE(OdUInt16 chr) const
static void WriteOdInt16(OdStringBuf::CharFormat type, OdStreamBuf &io, OdInt16 var)
OdChar FromUTF16LE(OdUInt16 chr) const
static void WriteOdInt8(OdStringBuf::CharFormat type, OdStreamBuf &io, OdInt8 var)
static void WriteOdUInt16(OdStringBuf::CharFormat type, OdStreamBuf &io, OdUInt16 var)
static void WriteOdInt32(OdStringBuf::CharFormat type, OdStreamBuf &io, OdInt32 var)
static void WriteOdUInt8(OdStringBuf::CharFormat type, OdStreamBuf &io, OdUInt8 var)
OdChar ReadChar(OdChar &secChr) const
void init(OdStreamBuf *pIo, CharFormat cf=CharFormat_Undefined)
CharFormat getCharFormat()
static void DefaultingType(OdStringBuf::CharFormat &type)
OdChar FromUTF32BE(OdUInt32 chr, OdChar &secChr) const
OdStreamBuf * getIOPtr() const
static void WriteOdDouble(OdStringBuf::CharFormat type, OdStreamBuf &io, double var)
OdChar FromUTF32LE(OdUInt32 chr, OdChar &secChr) const
static void WriteSpace(OdStringBuf::CharFormat type, OdStreamBuf &io, bool use_odc=true)
GLuint GLsizei GLsizei GLint GLenum * type