XFormatIO

Inherited from NULL

Inherited by NULL

Friend class NULL

Description

Members

Public interface


Path m_strPath

void* m_pFp

int64 m_liSize

char * m_pBuf

int m_iBufSize

char m_cKeyPrefix

bool m_bContinue


XFormatIO(const char * path = 0)

~XFormatIO()

bool open(IOFlag f)

bool isEnd()

void close()

int64 size()

void writeName(const char * str)

void readName(char * str)

void writeText(const char * data)

void readText(char * data)

void setPath(const char * path)

int64 getCurPos()

void setPos(int64 pos)

const char * getPath()

char * readKeyword()

bool isNextKeyword(const char * key = 0)

int readTextInt()

double readTextDouble()

bool readTextBool()

void writeTextInt(int v)

void writeTextDouble(double v)

void writeTextBool(bool v)

void writeKeyword(const char * v)

void nextLine()

void skipLine()

void readPath(char * path)

void skipWhite()

void skipComment()

void skipToNextKeyword()

void showProgress()

void enableBuffer(int size)

void disableBuffer()

void resetBuffer()

void flushBuffer()

XFormatIO & operator « (double v)

XFormatIO & operator « (int v)

XFormatIO & operator « (ulong v)

XFormatIO & operator « (bool v)

XFormatIO & operator « (const char * keyword)

XFormatIO & operator « (IOCharacter c)

XFormatIO & operator » (float& v)

XFormatIO & operator » (double& v)

XFormatIO & operator » (int& v)

XFormatIO & operator » (ulong& v)

XFormatIO & operator » (bool& v)

XFormatIO & operator » (char * keyword)

XFormatIO & operator » (IOCharacter c)

bool pumpBuffer()

void setKeywordPrefix(char c)