#include <tag_no_value.hpp>
Граф наследования:cls_2::tag_no_value_t:
May be used as container for child tags.
Открытые члены | |
tag_no_value_t (const char *name, bool is_mandatory, bool is_one_copy_only) | |
Стандатный конструктор. | |
tag_no_value_t (tag_t &owner, const char *name, bool is_mandatory, bool is_one_copy_only) | |
Конструктор для случая, когда тег является подчиненным тегом. | |
virtual int | on_start (parser_context_t &context) |
Called when tag parsing started. | |
virtual int | on_finish (parser_context_t &context) |
virtual int | on_tok_nonspace (parser_context_t &context, const char *tok_value) |
virtual int | on_tok_string (parser_context_t &context, const char *tok_value) |
virtual bool | is_mandatory () const |
virtual bool | is_defined () const |
virtual void | reset () |
void | make_defined () |
Защищенные данные | |
bool | m_is_mandatory |
bool | m_is_defined |
bool | m_is_one_copy_only |
|
Конструктор для случая, когда тег является подчиненным тегом.
|
|
Called when tag parsing started. Default implementation returns c_ok Переопределяет метод предка cls_2::tag_t. |