COVISE Core
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)
 
void appendVariableList (coConfigEntryStringList &list, 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 matchingHost () const
 
bool matchingMaster () 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() [1/2]

coConfigEntry::coConfigEntry ( )

◆ ~coConfigEntry()

coConfigEntry::~coConfigEntry ( )
virtual

◆ coConfigEntry() [2/2]

coConfigEntry::coConfigEntry ( const coConfigEntry entry)
protected

Member Function Documentation

◆ addValue()

void coConfigEntry::addValue ( const QString &  variable,
const QString &  value,
const QString &  section 
)

◆ appendVariableList()

void coConfigEntry::appendVariableList ( coConfigEntryStringList list,
QString  scope 
)

◆ cleanName()

QString & coConfigEntry::cleanName ( QString &  name)
static

◆ clone()

virtual coConfigEntry * covise::coConfigEntry::clone ( ) const
pure virtual

Implemented in covise::coConfigXercesEntry.

◆ deleteSection()

bool coConfigEntry::deleteSection ( const QString &  section)

◆ deleteValue()

bool coConfigEntry::deleteValue ( const QString &  variable,
const QString &  section 
)

◆ entryChanged()

void coConfigEntry::entryChanged ( )

◆ getCName()

const char * coConfigEntry::getCName ( ) const

◆ getConfigName()

const QString & coConfigEntry::getConfigName ( ) const

◆ getEntry()

const char * coConfigEntry::getEntry ( const char *  variable)

◆ getName()

QString coConfigEntry::getName ( ) const

◆ getPath()

const QString & coConfigEntry::getPath ( ) const

◆ getSchemaInfos()

coConfigSchemaInfos * coConfigEntry::getSchemaInfos ( )

◆ getScopeList()

coConfigEntryStringList coConfigEntry::getScopeList ( QString  scope)

◆ getValue()

coConfigEntryString coConfigEntry::getValue ( const QString &  variable,
QString  scope 
)

◆ getVariableList()

coConfigEntryStringList coConfigEntry::getVariableList ( QString  scope)

◆ hasChildren()

bool coConfigEntry::hasChildren ( ) const

◆ hasValues()

bool coConfigEntry::hasValues ( ) const

◆ isList()

bool coConfigEntry::isList ( ) const

◆ isReadOnly()

bool coConfigEntry::isReadOnly ( ) const

◆ makeSection()

void coConfigEntry::makeSection ( const QString &  section)
protected

◆ matchingArch()

bool covise::coConfigEntry::matchingArch ( ) const
private

◆ matchingAttributes()

bool coConfigEntry::matchingAttributes ( ) const
private

◆ matchingHost()

bool covise::coConfigEntry::matchingHost ( ) const
private

◆ matchingMaster()

bool covise::coConfigEntry::matchingMaster ( ) const
private

◆ matchingRank()

bool covise::coConfigEntry::matchingRank ( ) const
private

◆ merge()

void coConfigEntry::merge ( const coConfigEntry with)
virtual

◆ setPath()

void coConfigEntry::setPath ( const QString &  path)
protected

◆ setReadOnly()

void coConfigEntry::setReadOnly ( bool  ro)

◆ setSchemaInfos()

void coConfigEntry::setSchemaInfos ( coConfigSchemaInfos infos)

◆ setValue()

bool coConfigEntry::setValue ( const QString &  variable,
const QString &  value,
const QString &  section 
)

Friends And Related Function Documentation

◆ coConfigEntryToEditor

friend class coConfigEntryToEditor
friend

◆ coConfigXercesEntry

friend class coConfigXercesEntry
friend

Member Data Documentation

◆ attributes

QHash<QString, QString *> covise::coConfigEntry::attributes
private

◆ children

coConfigEntryPtrList covise::coConfigEntry::children
private

◆ cName

char* covise::coConfigEntry::cName
mutableprivate

◆ configName

QString covise::coConfigEntry::configName
private

◆ configScope

coConfigConstants::ConfigScope covise::coConfigEntry::configScope
private

◆ elementGroup

QString covise::coConfigEntry::elementGroup
private

◆ isListNode

bool covise::coConfigEntry::isListNode
private

◆ name

QString covise::coConfigEntry::name
mutableprivate

◆ path

QString covise::coConfigEntry::path
private

◆ readOnly

bool covise::coConfigEntry::readOnly
private

◆ schemaInfos

coConfigSchemaInfos* covise::coConfigEntry::schemaInfos
private

◆ textNodes

QStringList covise::coConfigEntry::textNodes
private

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