Logo Search packages:      
Sourcecode: herculesstudio version File versions  Download package

Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes

ConfigFile Class Reference

Collaboration diagram for ConfigFile:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addDev (DeviceConfigLine *configLine)
void addNonDev (SystemConfigLine *configLine)
void appendNewLines ()
bool changed ()
 ConfigFile (const std::string &fileName)
void deleteLine (int index)
DeviceConfigLinefindFirstDeviceByType (const char *type) const
DeviceConfigLinegetDevice (const std::string &devno) const
DeviceConfigLinegetDevice (int index) const
const std::string & getFileName () const
int getLastSys ()
void initialize ()
bool isNew () const
const ConfigLinelocateLine (const std::string &keyword, bool synonyms=true)
SystemConfigLineoperator[] (int index) const
void setNew (bool newVal)
int size () const
 synonymEntry (ASN_AND_LX_REUSE, ALRF)
bool write ()
bool write (const std::string &fileName)

Private Member Functions

char * getNextLine (char *buff, int len, FILE *f)
void openTemplate ()

Private Attributes

bool mChanged
FileArray mFileArray
std::string mFileName
int mLastSys
bool mNewConfig
std::vector< DeviceConfigLinemNewDeviceLines
std::vector< SystemConfigLinemNewLines
int templateCounter

Static Private Attributes

static const char * configTemplate []
static struct SynonymTableEntry mSynonyms []

Detailed Description

Definition at line 40 of file ConfigFile.cpp.


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

Generated by  Doxygen 1.6.0   Back to index