#include <params.h>
Public Member Functions | |
void | addParam (ParamInterface *param) |
void | clearParams () |
ParamInterface * | clone () const |
bool | contains (const QString &full_name) const |
size_t | count () const |
ParamInterface * | getChild (size_t index) const |
QVector< ParamInterface * > | getChildren () const |
ParamInterface * | getParam (const QString &relative_name) const |
bool | isEmpty () const |
virtual bool | isParams () const |
void | load (QSettings &settings) |
Params & | operator= (const Params &config) |
Params (Params *parent=NULL) | |
void | read (QDataStream &stream) |
void | removeParam (const QString &relative_name) |
void | reset () |
void | save (QSettings &settings) const |
QString | toYaml (const QString &prefix) const |
QString | validate () const |
void | write (QDataStream &stream) const |
virtual | ~Params () |
Static Public Member Functions | |
static QStringList | sortGroups (const QStringList &groups) |
Protected Member Functions | |
Params (const QString &group_name, Params *parent=NULL) | |
Protected Attributes | |
QVector< ParamInterface * > | params_ |
Private Slots | |
void | paramDestroyed () |
rqt_mrta::config::Params::Params | ( | Params * | parent = NULL | ) |
Definition at line 9 of file params.cpp.
rqt_mrta::config::Params::~Params | ( | ) | [virtual] |
Definition at line 16 of file params.cpp.
rqt_mrta::config::Params::Params | ( | const QString & | group_name, |
Params * | parent = NULL |
||
) | [protected] |
Definition at line 11 of file params.cpp.
void rqt_mrta::config::Params::addParam | ( | ParamInterface * | param | ) | [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 53 of file params.cpp.
void rqt_mrta::config::Params::clearParams | ( | ) | [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 109 of file params.cpp.
ParamInterface * rqt_mrta::config::Params::clone | ( | ) | const [virtual] |
Implements rqt_mrta::config::ParamInterface.
Reimplemented in rqt_mrta::config::ParamsArray.
Definition at line 213 of file params.cpp.
bool rqt_mrta::config::Params::contains | ( | const QString & | full_name | ) | const [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 127 of file params.cpp.
size_t rqt_mrta::config::Params::count | ( | ) | const [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 141 of file params.cpp.
ParamInterface * rqt_mrta::config::Params::getChild | ( | size_t | index | ) | const |
Definition at line 31 of file params.cpp.
QVector< ParamInterface * > rqt_mrta::config::Params::getChildren | ( | ) | const |
Definition at line 29 of file params.cpp.
ParamInterface * rqt_mrta::config::Params::getParam | ( | const QString & | relative_name | ) | const [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 33 of file params.cpp.
bool rqt_mrta::config::Params::isEmpty | ( | ) | const [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 143 of file params.cpp.
bool rqt_mrta::config::Params::isParams | ( | ) | const [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 242 of file params.cpp.
void rqt_mrta::config::Params::load | ( | QSettings & | settings | ) | [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 157 of file params.cpp.
Definition at line 202 of file params.cpp.
void rqt_mrta::config::Params::paramDestroyed | ( | ) | [private, slot] |
Definition at line 244 of file params.cpp.
void rqt_mrta::config::Params::read | ( | QDataStream & | stream | ) | [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 190 of file params.cpp.
void rqt_mrta::config::Params::removeParam | ( | const QString & | relative_name | ) | [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 79 of file params.cpp.
void rqt_mrta::config::Params::reset | ( | ) | [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 172 of file params.cpp.
void rqt_mrta::config::Params::save | ( | QSettings & | settings | ) | const [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 145 of file params.cpp.
QStringList rqt_mrta::config::Params::sortGroups | ( | const QStringList & | groups | ) | [static] |
Definition at line 257 of file params.cpp.
QString rqt_mrta::config::Params::toYaml | ( | const QString & | prefix | ) | const [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 273 of file params.cpp.
QString rqt_mrta::config::Params::validate | ( | ) | const [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 220 of file params.cpp.
void rqt_mrta::config::Params::write | ( | QDataStream & | stream | ) | const [virtual] |
Reimplemented from rqt_mrta::config::ParamInterface.
Definition at line 180 of file params.cpp.
QVector<ParamInterface*> rqt_mrta::config::Params::params_ [protected] |