COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
covise::coConfigValue< T > Class Template Referenceabstract

#include <coConfigValue.h>

Collaboration diagram for covise::coConfigValue< T >:
Collaboration graph
[legend]

Public Member Functions

 coConfigValue (const QString &configGroupName, const QString &variable, const QString &section)
 
 coConfigValue (const QString &variable, const QString &section)
 
 coConfigValue (const QString &simpleVariable)
 
 coConfigValue (coConfigGroup *group, const QString &variable, const QString &section)
 
 coConfigValue (coConfigGroup *group, const QString &simpleVariable)
 
 coConfigValue (const coConfigValue< T > &value)
 
virtual ~coConfigValue ()
 
virtual void update ()
 
virtual bool hasValidValue ()
 
virtual bool hasValidValue () const
 
coConfigValue< T > & operator= (const T &)
 
virtual operator T ()
 
virtual bool operator== (const coConfigValue< T > &)
 
virtual bool operator!= (const coConfigValue< T > &)
 
virtual void setSaveToGroup (coConfigGroup *group)
 
virtual coConfigGroupgetSaveToGroup () const
 
virtual void setAutoUpdate (bool update)
 
virtual bool isAutoUpdate () const
 
virtual bool isModified () const
 

Protected Member Functions

virtual T fromString (const QString &value) const =0
 
virtual QString toString (const T &value) const =0
 

Protected Attributes

QString variable
 
QString section
 
QString value
 
QString unmodifiedValue
 
QString configGroupName
 
bool autoUpdate
 
bool modified
 
coConfigGroupgroup
 
coConfigGroupsaveToGroup
 

Constructor & Destructor Documentation

template<class T>
covise::coConfigValue< T >::coConfigValue ( const QString &  configGroupName,
const QString &  variable,
const QString &  section 
)
template<class T>
covise::coConfigValue< T >::coConfigValue ( const QString &  variable,
const QString &  section 
)
template<class T>
covise::coConfigValue< T >::coConfigValue ( const QString &  simpleVariable)
template<class T>
covise::coConfigValue< T >::coConfigValue ( coConfigGroup group,
const QString &  variable,
const QString &  section 
)
template<class T>
covise::coConfigValue< T >::coConfigValue ( coConfigGroup group,
const QString &  simpleVariable 
)
template<class T>
covise::coConfigValue< T >::coConfigValue ( const coConfigValue< T > &  value)
template<class T>
virtual covise::coConfigValue< T >::~coConfigValue ( )
virtual

Member Function Documentation

template<class T>
virtual T covise::coConfigValue< T >::fromString ( const QString &  value) const
protectedpure virtual
template<class T>
virtual coConfigGroup* covise::coConfigValue< T >::getSaveToGroup ( ) const
virtual
template<class T>
virtual bool covise::coConfigValue< T >::hasValidValue ( )
virtual
template<class T>
virtual bool covise::coConfigValue< T >::hasValidValue ( ) const
virtual
template<class T>
virtual bool covise::coConfigValue< T >::isAutoUpdate ( ) const
virtual
template<class T>
virtual bool covise::coConfigValue< T >::isModified ( ) const
virtual
template<class T>
virtual covise::coConfigValue< T >::operator T ( )
virtual
template<class T>
virtual bool covise::coConfigValue< T >::operator!= ( const coConfigValue< T > &  )
virtual
template<class T>
coConfigValue<T>& covise::coConfigValue< T >::operator= ( const T &  )
template<class T>
virtual bool covise::coConfigValue< T >::operator== ( const coConfigValue< T > &  )
virtual
template<class T>
virtual void covise::coConfigValue< T >::setAutoUpdate ( bool  update)
virtual
template<class T>
virtual void covise::coConfigValue< T >::setSaveToGroup ( coConfigGroup group)
virtual
template<class T>
virtual QString covise::coConfigValue< T >::toString ( const T &  value) const
protectedpure virtual
template<class T>
virtual void covise::coConfigValue< T >::update ( )
virtual

Member Data Documentation

template<class T>
bool covise::coConfigValue< T >::autoUpdate
protected
template<class T>
QString covise::coConfigValue< T >::configGroupName
protected
template<class T>
coConfigGroup* covise::coConfigValue< T >::group
protected
template<class T>
bool covise::coConfigValue< T >::modified
protected
template<class T>
coConfigGroup* covise::coConfigValue< T >::saveToGroup
protected
template<class T>
QString covise::coConfigValue< T >::section
protected
template<class T>
QString covise::coConfigValue< T >::unmodifiedValue
protected
template<class T>
QString covise::coConfigValue< T >::value
protected
template<class T>
QString covise::coConfigValue< T >::variable
protected

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