User Tools

Site Tools


class:kernel:xformatio



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)

  • function:
  • parameters:
    1. [i]const char * path = 0:
  • return value:

~XFormatIO()

  • function:
  • parameters: NULL
  • return value:

bool open(IOFlag f)

  • function:
  • parameters:
    1. [i]IOFlag f:
  • return value:

bool isEnd()

  • function:
  • parameters: NULL
  • return value:

void close()

  • function:
  • parameters: NULL
  • return value:

int64 size()

  • function:
  • parameters: NULL
  • return value:

void writeName(const char * str)

  • function:
  • parameters:
    1. [i]const char * str:
  • return value:

void readName(char * str)

  • function:
  • parameters:
    1. [i]char * str:
  • return value:

void writeText(const char * data)

  • function:
  • parameters:
    1. [i]const char * data:
  • return value:

void readText(char * data)

  • function:
  • parameters:
    1. [i]char * data:
  • return value:

void setPath(const char * path)

  • function:
  • parameters:
    1. [i]const char * path:
  • return value:

int64 getCurPos()

  • function:
  • parameters: NULL
  • return value:

void setPos(int64 pos)

  • function:
  • parameters:
    1. [i]int64 pos:
  • return value:

const char * getPath()

  • function:
  • parameters: NULL
  • return value:

char * readKeyword()

  • function:
  • parameters: NULL
  • return value:

bool isNextKeyword(const char * key = 0)

  • function:
  • parameters:
    1. [i]const char * key = 0:
  • return value:

int readTextInt()

  • function:
  • parameters: NULL
  • return value:

double readTextDouble()

  • function:
  • parameters: NULL
  • return value:

bool readTextBool()

  • function:
  • parameters: NULL
  • return value:

void writeTextInt(int v)

  • function:
  • parameters:
    1. [i]int v:
  • return value:

void writeTextDouble(double v)

  • function:
  • parameters:
    1. [i]double v:
  • return value:

void writeTextBool(bool v)

  • function:
  • parameters:
    1. [i]bool v:
  • return value:

void writeKeyword(const char * v)

  • function:
  • parameters:
    1. [i]const char * v:
  • return value:

void nextLine()

  • function:
  • parameters: NULL
  • return value:

void skipLine()

  • function:
  • parameters: NULL
  • return value:

void readPath(char * path)

  • function:
  • parameters:
    1. [i]char * path:
  • return value:

void skipWhite()

  • function:
  • parameters: NULL
  • return value:

void skipComment()

  • function:
  • parameters: NULL
  • return value:

void skipToNextKeyword()

  • function:
  • parameters: NULL
  • return value:

void showProgress()

  • function:
  • parameters: NULL
  • return value:

void enableBuffer(int size)

  • function:
  • parameters:
    1. [i]int size:
  • return value:

void disableBuffer()

  • function:
  • parameters: NULL
  • return value:

void resetBuffer()

  • function:
  • parameters: NULL
  • return value:

void flushBuffer()

  • function:
  • parameters: NULL
  • return value:

XFormatIO & operator « (double v)

  • function:
  • parameters:
    1. [i]double v:
  • return value:

XFormatIO & operator « (int v)

  • function:
  • parameters:
    1. [i]int v:
  • return value:

XFormatIO & operator « (ulong v)

  • function:
  • parameters:
    1. [i]ulong v:
  • return value:

XFormatIO & operator « (bool v)

  • function:
  • parameters:
    1. [i]bool v:
  • return value:

XFormatIO & operator « (const char * keyword)

  • function:
  • parameters:
    1. [i]const char * keyword:
  • return value:

XFormatIO & operator « (IOCharacter c)

  • function:
  • parameters:
    1. [i]IOCharacter c:
  • return value:

XFormatIO & operator » (float& v)

  • function:
  • parameters:
    1. [i]float& v:
  • return value:

XFormatIO & operator » (double& v)

  • function:
  • parameters:
    1. [i]double& v:
  • return value:

XFormatIO & operator » (int& v)

  • function:
  • parameters:
    1. [i]int& v:
  • return value:

XFormatIO & operator » (ulong& v)

  • function:
  • parameters:
    1. [i]ulong& v:
  • return value:

XFormatIO & operator » (bool& v)

  • function:
  • parameters:
    1. [i]bool& v:
  • return value:

XFormatIO & operator » (char * keyword)

  • function:
  • parameters:
    1. [i]char * keyword:
  • return value:

XFormatIO & operator » (IOCharacter c)

  • function:
  • parameters:
    1. [i]IOCharacter c:
  • return value:

bool pumpBuffer()

  • function:
  • parameters: NULL
  • return value:

void setKeywordPrefix(char c)

  • function:
  • parameters:
    1. [i]char c:
  • return value:
class/kernel/xformatio.txt · Last modified: 2023/08/04 08:40 (external edit)