#include <generic.hpp>
Definition at line 23 of file generic.hpp.
Public Member Functions | |
generic (const std::string &type, const std::string &name) | |
void | copy (const generic &obj) |
virtual bool | accept (ph::common::object_name_visitor *v) const |
virtual bool | accept (ph::common::member_visitor *v) |
virtual bool | accept (ph::common::const_member_visitor *v) const |
virtual bool | accept (ph::common::object_visitor *v) |
virtual bool | accept (ph::common::const_object_visitor *v) const |
virtual ph::common::object_base * | clone (const std::string &name, ph::common::cloneable_object_context *context) const |
virtual ph::common::object_base * | get_composite_object (const std::string &name) |
virtual bool | has (const std::string &name) const |
virtual void | set (const std::string &name, const std::string &value) |
virtual bool | is_any_object () |
|
Definition at line 30 of file generic.hpp. |
|
Definition at line 35 of file generic.hpp. |
|
Definition at line 59 of file generic.cpp. References ph::common::object_name_visitor::visit(). |
|
Definition at line 64 of file generic.cpp. |
|
Definition at line 77 of file generic.cpp. |
|
Definition at line 90 of file generic.cpp. |
|
Definition at line 101 of file generic.cpp. |
|
Definition at line 112 of file generic.cpp. |
|
We create any composite object that is asked for. This is the only way to ensure that all objects are correctly created when parseing. Definition at line 14 of file generic.cpp. |
|
We have all members asked for. This is the way that it must work, otherwise the parser bails on us. Definition at line 31 of file generic.cpp. |
|
Remove any composites with this name. They are really members if they are being set. This is because we will tell the parser that everything is a composite (cos we aren't sure), but later on the parser is nice enough to set the member anyway when it get's data through. Definition at line 40 of file generic.cpp. |
|
Definition at line 53 of file generic.hpp. |