cfgfile 0.2.11
|
Base class for the tags in the configuration file. More...
#include <tag.hpp>
Public Types | |
typedef std::vector< tag_t< Trait > * > | child_tags_list_t |
List with children. | |
Protected Member Functions | |
void | set_parent (const tag_t< Trait > *p) |
Set parent tag. | |
bool | is_any_child_defined () const |
bool | is_defined_member_value () const |
Friends | |
template<typename T1 > | |
class | parser_t |
template<class T1 , class T2 > | |
class | tag_vector_of_tags_t |
Base class for the tags in the configuration file.
typedef std::vector< tag_t< Trait >* > cfgfile::tag_t< Trait >::child_tags_list_t |
List with children.
|
inlineexplicit |
Construct tag.
|
inline |
Construct tag.
|
inline |
Add child tag.
|
inlinevirtual |
Reimplemented in cfgfile::tag_vector_of_tags_t< T, Trait >.
|
inline |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Called when tag parsing finished.
Implemented in cfgfile::tag_no_value_t< Trait >, cfgfile::tag_scalar_t< T, Trait >, cfgfile::tag_scalar_t< bool, Trait >, cfgfile::tag_scalar_t< typename Trait::string_t, Trait >, cfgfile::tag_scalar_t< QString, Trait >, cfgfile::tag_scalar_vector_t< T, Trait >, and cfgfile::tag_vector_of_tags_t< T, Trait >.
|
inlinevirtual |
Called when tag parsing started.
Reimplemented in cfgfile::tag_vector_of_tags_t< T, Trait >.
|
pure virtual |
Called when string found.
Implemented in cfgfile::tag_no_value_t< Trait >, cfgfile::tag_scalar_t< T, Trait >, cfgfile::tag_scalar_t< bool, Trait >, cfgfile::tag_scalar_t< typename Trait::string_t, Trait >, cfgfile::tag_scalar_t< QString, Trait >, cfgfile::tag_scalar_vector_t< T, Trait >, and cfgfile::tag_vector_of_tags_t< T, Trait >.
|
inline |
|
pure virtual |
Print tag to the output.
Implemented in cfgfile::tag_no_value_t< Trait >, cfgfile::tag_scalar_t< T, Trait >, cfgfile::tag_scalar_t< bool, Trait >, cfgfile::tag_scalar_t< typename Trait::string_t, Trait >, cfgfile::tag_scalar_t< QString, Trait >, cfgfile::tag_scalar_vector_t< T, Trait >, and cfgfile::tag_vector_of_tags_t< T, Trait >.
|
pure virtual |
Print tag to the output.
Implemented in cfgfile::tag_no_value_t< Trait >, cfgfile::tag_scalar_t< T, Trait >, cfgfile::tag_scalar_t< bool, Trait >, cfgfile::tag_scalar_t< typename Trait::string_t, Trait >, cfgfile::tag_scalar_t< QString, Trait >, cfgfile::tag_scalar_vector_t< T, Trait >, and cfgfile::tag_vector_of_tags_t< T, Trait >.
|
inline |
Remove child tag.
|
inline |
Set "defined" property.
Set parent tag.
|
friend |