|
virtual void * | cast (cid a_class) const |
|
| tree (const std::string &a_tag_name, factory &a_factory, tree *a_parent) |
|
virtual | ~tree () |
|
virtual bool | invalidate () |
|
const std::list< ielem * > & | childs () const |
|
const std::vector< atb > & | attributes () const |
| attributes //////////////////////////////////////// More...
|
|
void | add_attribute (const std::string &a_name, const std::string &a_value) |
|
bool | is_attribute (const std::string &a_name) const |
|
void | set_attributes (const std::vector< atb > &a_atbs) |
|
const std::string & | tag_name () const |
|
bool | attribute_value (const std::string &a_atb, std::string &a_value) const |
|
template<class T > |
bool | attribute_value (const std::string &a_atb, T &a_value) const |
|
void | remove_attributes (const std::string &a_atb) |
|
bool | remove_attribute (const std::string &a_name) |
|
void | add_element (const std::string &a_name, const std::vector< atb > &a_atbs, const std::string &a_value) |
| elements ////////////////////////////////////////// More...
|
|
bool | element_value (const std::string &a_name, std::string &a_value) const |
|
bool | element_atb_value (const std::string &a_elem, const std::string &a_atb, std::string &a_value) const |
|
template<class T > |
bool | element_atb_value (const std::string &a_elem, const std::string &a_atb, T &a_value) const |
|
bool | is_element (const std::string &a_name) const |
| for osc ////////////////////////////////////// More...
|
|
bool | set_element_value (const std::string &a_name, const std::string &a_value, int a_index=0) |
|
bool | set_attribute_value (const std::string &a_atb, const std::string &a_value) |
|
bool | has_empty_attribute_value (std::ostream &a_out) const |
|
void | post_execute (exec_func a_function, void *a_tag) |
|
tree * | find_by_tag (const std::string &a_tag) const |
|
tree * | find_item (const std::string &a_name) const |
|
tree * | find_item_with_tag (const std::string &a_tag, const std::string &a_name) const |
|
void | remove_elements (const std::string &a_name) |
|
void | add_child (tree *a_tree) |
|
tree * | create_copy (tree *a_parent) |
|
bool | copy (const tree &a_from, copy_what a_what=copy_all, bool a_clear=true) |
|
void | replace (const std::string &a_old, const std::string &a_new) |
|
bool | element_values (const std::string &a_name, std::vector< std::string > &a_values) const |
|
void | post_execute_backward (exec_func a_function, void *a_tag) |
|
tree * | find_by_attribute (const std::string &a_atb, const std::string &a_value, bool a_up_down=true, bool a_left_right=true) const |
|
void | dump_xml (std::ostream &a_out, const std::string &a_spaces="") |
|
bool | set_element_atb_value (const std::string &a_elem, const std::string &a_atb, const std::string &a_value, int a_index=0) |
|
void | sub_trees (std::list< tree * > &a_list) const |
|
void | sub_elems (std::list< element * > &a_list) const |
|
bool | replace_child (tree *a_old, tree *a_new) |
|
virtual void * | cast (const std::string &a_class) const |
|
void | delete_element (const std::string &a_name) |
|
void | delete_element (element *a_element) |
|
void | delete_sub_trees () |
|
void | delete_sub_elems () |
|
const tree * | find_by_element_in_same_level (const std::string &a_name, const std::string &a_value) const |
|
bool | element_value_boolean (const std::string &a_name, bool &a_value) const |
|
void | update_tree (const tree &a_old) |
|
tree * | parent () const |
| end osc ////////////////////////////////////// More...
|
|
void | set_parent (tree *a_parent) |
|
unsigned int | number_of_trees () const |
|
void | remove_child (tree *&a_tree, bool a_delete=true) |
|
void | set_data (void *a_data_1, void *a_data_2, int a_data_int) |
|
void | get_data (void *&a_data_1, void *&a_data_2, int &a_data_int) const |
|
void * | get_data1 () const |
|
void * | get_data2 () const |
|
int | get_data_int () const |
|
void | set_depth (unsigned int a_depth) |
|
unsigned int | depth () const |
|
void | set_save_flag (bool a_value) |
|
bool | save_flag () const |
|
void | set_file (const std::string &a_file) |
|
const std::string & | file () const |
|
virtual | ~ielem () |
|
Definition at line 47 of file tree.