#include <visitor.hpp>
Public Member Functions | |
find_visitor (std::string const &_path) | |
component const * | get_value () const |
attribute_definition_node const * | get_attribute () const |
vector< string > const & | get_path () const |
vector< int > const & | get_selector () const |
void | visit (attribute_definition_node const &node) |
Private Attributes | |
vector< string > | path |
vector< int > | selector |
string const | p |
size_t | depth |
component const * | value |
attribute_definition_node const * | attribute |
Definition at line 166 of file visitor.hpp.
find_visitor::find_visitor | ( | std::string const & | _path | ) |
component const* jdl::find_visitor::get_value | ( | ) | const [inline] |
attribute_definition_node const* jdl::find_visitor::get_attribute | ( | ) | const [inline] |
vector<string> const& jdl::find_visitor::get_path | ( | ) | const [inline] |
vector<int> const& jdl::find_visitor::get_selector | ( | ) | const [inline] |
void find_visitor::visit | ( | attribute_definition_node const & | node | ) | [virtual] |
Reimplemented from jdl::base_const_visitor.
Definition at line 455 of file visitor.cpp.
References attribute, depth, jdl::attribute_definition_node::get_name(), jdl::attribute_definition_node::get_value(), p, path, selector, and value.
vector<string> jdl::find_visitor::path [private] |
vector<int> jdl::find_visitor::selector [private] |
Definition at line 168 of file visitor.hpp.
Referenced by find_visitor(), get_selector(), and visit().
string const jdl::find_visitor::p [private] |
size_t jdl::find_visitor::depth [private] |
component const* jdl::find_visitor::value [private] |
attribute_definition_node const* jdl::find_visitor::attribute [private] |