28 class CLASS_DECL_ACME node :
29 virtual public ::particle
35 typedef pointer_array < node > array;
37 ::xml::node * m_pxmlnode;
49 string name()
const {
return m_strName; }
50 void set_name(const ::scoped_string & scopedstrName) { m_strName = scopedstrName; }
53 string value()
const {
return m_strValue; }
54 void set_value(const ::scoped_string & scopedstrValue) { m_strValue = scopedstrValue; }
57 inline enum_node get_type()
const {
return m_enode; }
58 inline void set_type(enum_node enode) { m_enode = enode; }
60 inline ::xml::node* get_xml_node()
const {
return m_pxmlnode; }
62 virtual ::xml::document* get_xml_document()
const;
66 payload attribute(const ::scoped_string & scopedstr)
const {
return m_set[scopedstr]; }
67 ::property& attribute(const ::scoped_string & scopedstr) {
return m_set[scopedstr]; }
71 node* node_at(::collection::index i) {
return m_nodea[i]; }
72 ::collection::count get_node_count()
const {
return m_nodea.get_count(); }