14 #ifndef __INCLUDED_SCOPIRA_TOOL_PROP_H__ 15 #define __INCLUDED_SCOPIRA_TOOL_PROP_H__ 20 #include <scopira/tool/object.h> 21 #include <scopira/tool/flow.h> 22 #include <scopira/tool/iterator.h> 66 virtual bool is_node(
void)
const {
return false; }
72 virtual iterator
get(
const std::string& name);
74 virtual property *
get_first(
const std::string& name) {
return 0; }
76 virtual size_t get_size(
const std::string &name)
const {
return 0; }
78 virtual bool contains(
const std::string& name)
const {
return false; }
80 virtual void remove(
const std::string& name) { }
84 virtual const std::string *
get_string_value(
const std::string &name)
const {
return 0; }
106 typedef std::list < scopira::tool::count_ptr< scopira::tool::property > > sproplist_t;
typedef std::map < std::string, sproplist_t > propmap_t;
109 propmap_t dm_propmap;
125 virtual bool is_node(
void)
const {
return true; }
139 virtual iterator get(
const std::string& name);
145 virtual property *
get_first(
const std::string& name);
151 virtual size_t get_size(
const std::string &name)
const;
157 virtual bool contains(
const std::string& name)
const;
163 virtual void remove(
const std::string& name);
178 virtual const std::string *
get_string_value(
const std::string &name)
const;
Definition: archiveflow.h:20