|
Aegis
4.25.D505
|
#include <iso_639_3.h>
Public Member Functions | |
| virtual | ~xml_node_iso_639_3 () |
| xml_node_iso_639_3 () | |
| bool | need_setup (void) |
| bool | is_a_valid_code (const nstring &text) const |
Protected Member Functions | |
| void | element_begin (const nstring &name) |
| void | attribute (const nstring &name, const nstring &value) |
| void | element_end (const nstring &name) |
Private Types | |
| typedef std::map< nstring, nstring > | codes_t |
Private Member Functions | |
| void | assign (const nstring &key, const nstring &value) |
| xml_node_iso_639_3 (const xml_node_iso_639_3 &) | |
| xml_node_iso_639_3 & | operator= (const xml_node_iso_639_3 &) |
Private Attributes | |
| codes_t | codes |
| nstring | id |
| nstring | part1_code |
| nstring | part2_code |
The xml_node_iso_639_3 class is used to represent processing required when reading the iso-639-3 xml data.
Definition at line 32 of file iso_639_3.h.
typedef std::map<nstring, nstring> xml_node_iso_639_3::codes_t [private] |
Definition at line 61 of file iso_639_3.h.
| virtual xml_node_iso_639_3::~xml_node_iso_639_3 | ( | ) | [virtual] |
The destructor.
The default constructor.
| xml_node_iso_639_3::xml_node_iso_639_3 | ( | const xml_node_iso_639_3 & | ) | [private] |
The copy constructor. Do not use.
| void xml_node_iso_639_3::assign | ( | const nstring & | key, |
| const nstring & | value | ||
| ) | [private] |
The assign method is used to insert data into the codes instance variable.
| key | The left hand side of the assignment. |
| value | The right hand side of the assignment. |
| void xml_node_iso_639_3::attribute | ( | const nstring & | name, |
| const nstring & | value | ||
| ) | [protected, virtual] |
The attribute method is called for XML_READER_TYPE_ATTRIBUTE nodes. The default action is to do nothing.
Reimplemented from xml_node.
| void xml_node_iso_639_3::element_begin | ( | const nstring & | name | ) | [protected, virtual] |
The element_begin method is called for XML_READER_TYPE_ELEMENT nodes. The default action is to do nothing.
Reimplemented from xml_node.
| void xml_node_iso_639_3::element_end | ( | const nstring & | name | ) | [protected, virtual] |
The element_end method is called for XML_READER_TYPE_END_ELEMENT nodes. The default action is to do nothing.
Reimplemented from xml_node.
| bool xml_node_iso_639_3::is_a_valid_code | ( | const nstring & | text | ) | const |
| bool xml_node_iso_639_3::need_setup | ( | void | ) |
| xml_node_iso_639_3& xml_node_iso_639_3::operator= | ( | const xml_node_iso_639_3 & | ) | [private] |
The assignment operator. Do not use.
codes_t xml_node_iso_639_3::codes [private] |
The codes instance variable is used to remember the set of language codes parsed so far.
Definition at line 67 of file iso_639_3.h.
nstring xml_node_iso_639_3::id [private] |
The id instance variable is used to remember the value of the "id" attribute for the current record.
Definition at line 73 of file iso_639_3.h.
nstring xml_node_iso_639_3::part1_code [private] |
The part1_code instance variable is used to remember the value of the "part1_code" (2-letter code) attribute for the current record.
Definition at line 80 of file iso_639_3.h.
nstring xml_node_iso_639_3::part2_code [private] |
The part2_code instance variable is used to remember the value of the "part2_code" (3-letter code) attribute for the current record.
Definition at line 87 of file iso_639_3.h.
1.7.6.1