GT RoboCup SSL
Soccer software, robot firmware
ConfigBool Class Reference

Public Member Functions

 ConfigBool (Configuration *tree, QString name, bool value=false, std::string description="")
 
bool value ()
 
void setValue (bool val)
 
 operator bool ()
 
bool operator= (bool x)
 
virtual QString toString () override
 
virtual void setValueString (const QString &str) override
 
- Public Member Functions inherited from ConfigItem
const QStringList & path () const
 
const std::string name () const
 Returns the same name that was passed to the constructor.
 

Protected Member Functions

virtual void setupItem () override
 
- Protected Member Functions inherited from ConfigItem
 ConfigItem (Configuration *tree, const QString &name, std::string description="")
 
void addItem ()
 
void valueChanged (const QString &str)
 

Protected Attributes

bool _value
 
- Protected Attributes inherited from ConfigItem
QStringList _path
 
Configuration_config
 
QTreeWidgetItem * _treeItem
 
std::string _description
 

Friends

class Configuration
 
+ Inheritance diagram for ConfigBool:
+ Collaboration diagram for ConfigBool:

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