Fission FSN
Loading...
Searching...
No Matches
fsCStringsFile Class Reference

#include <fsCStringsFile.h>

Inheritance diagram for fsCStringsFile:

Public Member Functions

void read ()
void write ()
virtual ~fsCStringsFile ()
Public Member Functions inherited from fsCVariableTable
const fsStrfileNameGet () const
std::vector< fsStrpartKeyCollectionGet (const fsStr &pPartKey) const
std::vector< fsStrpartValueCollectionGet (const fsStr &pPartVal) const
fsF32 f32Get (const fsStr &pKey) const
fsF32 f32GetWithDefault (const fsStr &pKey, fsF32 pDefault) const
fsS32 s32Get (const fsStr &pKey) const
fsS32 s32GetWithDefault (const fsStr &pKey, fsS32 pDefault) const
fsStr strGet (const fsStr &pKey) const
fsStr strGetWithDefault (const fsStr &pKey, const fsStr &pDefault) const
fsBool boolGet (const fsStr &pKey) const
fsBool boolGetWithDefault (const fsStr &pKey, fsBool pDefault) const
void removeKeysContaining (const fsStr &pPartialKey)
fsBool keyExistsGet (const fsStr &pKey) const
void merge (fsCVariableTable *pIncoming)
void s32Set (const fsStr &pKey, fsS32 pVal)
void f32Set (const fsStr &pKey, fsF32 pVal)
void strSet (const fsStr &pKey, const fsStr &pVal)
void boolSet (const fsStr &pKey, fsBool pVal)
fsS32 load (const fsCResourceName &pFileName)
void save (const fsCResourceName &pFileName) const
fsS32 loadResultGet () const
fsBool successfullLoadGet () const
 fsCVariableTable ()
virtual ~fsCVariableTable ()

Static Public Member Functions

static fsBool nextKeyGet (fsStr &pOutStr, std::vector< fsStr > &pLines, std::vector< fsStr >::iterator &pLine)
static fsBool nextValueGet (fsStr &pOutStr, std::vector< fsStr > &pLines, std::vector< fsStr >::iterator &pLine)

Static Public Attributes

static const fsStr mRowOpenTag = "<Row"
static const fsStr mRowCloseTag = "</Row>"
static const fsStr mCellOpenTag = "<Cell"
static const fsStr mCellCloseTag = "</Cell>"
static const fsStr mStringPropertyTag = "ss:Type=\"String\""
static const fsStr mNumberPropertyTag = "ss:Type=\"Number\""
static const fsStr mEllipsisChar

Protected Member Functions

 fsCStringsFile ()
void read (const fsStr &pFileName, fsCVariableTable *pStrings)

Additional Inherited Members

Public Types inherited from fsCVariableTable
enum  {
  eLOAD_RESULT_INVALID = 0 , eLOAD_RESULT_SUCCESS_NO_CHECKSUM , eLOAD_RESULT_SUCCESS_WITH_CHECKSUM , eLOAD_RESULT_FAIL_FILESYSTEM_NOT_READY ,
  eLOAD_RESULT_FAIL_FILE_NOT_FOUND , eLOAD_RESULT_FAIL_READ_ERROR , eLOAD_RESULT_FAIL_CHECKSUM_INVALID
}
Static Protected Member Functions inherited from fsCVariableTable
static fsStr downcased (const fsStr &pKey)
Protected Attributes inherited from fsCVariableTable
VarTableMap mEntries
fsS32 mLoadResult
Static Protected Attributes inherited from fsCVariableTable
static const fsStr mBoolTrueStr
static const fsStr mAltBoolTrueStr
static const fsStr mBoolFalseStr

Constructor & Destructor Documentation

◆ ~fsCStringsFile()

fsCStringsFile::~fsCStringsFile ( )
virtual

◆ fsCStringsFile()

fsCStringsFile::fsCStringsFile ( )
protected

Member Function Documentation

◆ nextKeyGet()

fsBool fsCStringsFile::nextKeyGet ( fsStr & pOutStr,
std::vector< fsStr > & pLines,
std::vector< fsStr >::iterator & pLine )
static

◆ nextValueGet()

fsBool fsCStringsFile::nextValueGet ( fsStr & pOutStr,
std::vector< fsStr > & pLines,
std::vector< fsStr >::iterator & pLine )
static

◆ read() [1/2]

void fsCStringsFile::read ( )

◆ read() [2/2]

void fsCStringsFile::read ( const fsStr & pFileName,
fsCVariableTable * pStrings )
protected

◆ write()

void fsCStringsFile::write ( )

Member Data Documentation

◆ mCellCloseTag

const fsStr fsCStringsFile::mCellCloseTag = "</Cell>"
static

◆ mCellOpenTag

const fsStr fsCStringsFile::mCellOpenTag = "<Cell"
static

◆ mEllipsisChar

const fsStr fsCStringsFile::mEllipsisChar
static

◆ mNumberPropertyTag

const fsStr fsCStringsFile::mNumberPropertyTag = "ss:Type=\"Number\""
static

◆ mRowCloseTag

const fsStr fsCStringsFile::mRowCloseTag = "</Row>"
static

◆ mRowOpenTag

const fsStr fsCStringsFile::mRowOpenTag = "<Row"
static

◆ mStringPropertyTag

const fsStr fsCStringsFile::mStringPropertyTag = "ss:Type=\"String\""
static

The documentation for this class was generated from the following files: