COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
covise::coConfigEntry Class Referenceabstract

#include <coConfigEntry.h>

Inheritance diagram for covise::coConfigEntry:
Inheritance graph
[legend]
Collaboration diagram for covise::coConfigEntry:
Collaboration graph
[legend]

Public Member Functions

 coConfigEntry ()
 
virtual ~coConfigEntry ()
 
coConfigEntryStringList getScopeList (QString scope)
 
coConfigEntryStringList getVariableList (QString scope)
 
coConfigEntryString getValue (const QString &variable, QString scope)
 
const char * getEntry (const char *variable)
 
bool setValue (const QString &variable, const QString &value, const QString &section)
 
void addValue (const QString &variable, const QString &value, const QString &section)
 
bool deleteValue (const QString &variable, const QString &section)
 
bool deleteSection (const QString &section)
 
bool hasValues () const
 
const QString & getPath () const
 
QString getName () const
 
const char * getCName () const
 
const QString & getConfigName () const
 
bool isList () const
 
bool hasChildren () const
 
void setReadOnly (bool ro)
 
bool isReadOnly () const
 
coConfigSchemaInfosgetSchemaInfos ()
 
void setSchemaInfos (coConfigSchemaInfos *infos)
 
void entryChanged ()
 
virtual void merge (const coConfigEntry *with)
 
virtual coConfigEntryclone () const =0
 
- Public Member Functions inherited from covise::Subject< coConfigEntry >
 Subject ()
 
virtual ~Subject ()
 
void attach (Observer< coConfigEntry > &observer)
 
void notify ()
 

Static Public Member Functions

static QString & cleanName (QString &name)
 

Protected Member Functions

 coConfigEntry (const coConfigEntry *entry)
 
void setPath (const QString &path)
 
void makeSection (const QString &section)
 

Private Member Functions

bool matchingAttributes () const
 
bool matchingArch () const
 
bool matchingRank () const
 

Private Attributes

coConfigConstants::ConfigScope configScope
 
QString configName
 
QString path
 
bool isListNode
 
bool readOnly
 
coConfigEntryPtrList children
 
QHash< QString, QString * > attributes
 
QStringList textNodes
 
coConfigSchemaInfosschemaInfos
 
QString elementGroup
 
char * cName
 
QString name
 

Friends

class coConfigXercesEntry
 
class coConfigEntryToEditor
 

Constructor & Destructor Documentation

coConfigEntry::coConfigEntry ( )
coConfigEntry::~coConfigEntry ( )
virtual
coConfigEntry::coConfigEntry ( const coConfigEntry entry)
protected

Member Function Documentation

void coConfigEntry::addValue ( const QString &  variable,
const QString &  value,
const QString &  section 
)
QString & coConfigEntry::cleanName ( QString &  name)
static
virtual coConfigEntry* covise::coConfigEntry::clone ( ) const
pure virtual

Implemented in covise::coConfigXercesEntry.

bool coConfigEntry::deleteSection ( const QString &  section)
bool coConfigEntry::deleteValue ( const QString &  variable,
const QString &  section 
)
void coConfigEntry::entryChanged ( )
const char * coConfigEntry::getCName ( ) const
const QString & coConfigEntry::getConfigName ( ) const
const char * coConfigEntry::getEntry ( const char *  variable)
QString coConfigEntry::getName ( ) const
const QString & coConfigEntry::getPath ( ) const
coConfigSchemaInfos * coConfigEntry::getSchemaInfos ( )
coConfigEntryStringList coConfigEntry::getScopeList ( QString  scope)
coConfigEntryString coConfigEntry::getValue ( const QString &  variable,
QString  scope 
)
coConfigEntryStringList coConfigEntry::getVariableList ( QString  scope)
bool coConfigEntry::hasChildren ( ) const
bool coConfigEntry::hasValues ( ) const
bool coConfigEntry::isList ( ) const
bool coConfigEntry::isReadOnly ( ) const
void coConfigEntry::makeSection ( const QString &  section)
protected
bool coConfigEntry::matchingArch ( ) const
private
bool coConfigEntry::matchingAttributes ( ) const
private
bool coConfigEntry::matchingRank ( ) const
private
void coConfigEntry::merge ( const coConfigEntry with)
virtual
void coConfigEntry::setPath ( const QString &  path)
protected
void coConfigEntry::setReadOnly ( bool  ro)
void coConfigEntry::setSchemaInfos ( coConfigSchemaInfos infos)
bool coConfigEntry::setValue ( const QString &  variable,
const QString &  value,
const QString &  section 
)

Friends And Related Function Documentation

friend class coConfigEntryToEditor
friend
friend class coConfigXercesEntry
friend

Member Data Documentation

QHash<QString, QString *> covise::coConfigEntry::attributes
private
coConfigEntryPtrList covise::coConfigEntry::children
private
char* covise::coConfigEntry::cName
mutableprivate
QString covise::coConfigEntry::configName
private
coConfigConstants::ConfigScope covise::coConfigEntry::configScope
private
QString covise::coConfigEntry::elementGroup
private
bool covise::coConfigEntry::isListNode
private
QString covise::coConfigEntry::name
mutableprivate
QString covise::coConfigEntry::path
private
bool covise::coConfigEntry::readOnly
private
coConfigSchemaInfos* covise::coConfigEntry::schemaInfos
private
QStringList covise::coConfigEntry::textNodes
private

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