jdl::find_visitor Class Reference

#include <visitor.hpp>

Inheritance diagram for jdl::find_visitor:

Inheritance graph
[legend]
Collaboration diagram for jdl::find_visitor:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 166 of file visitor.hpp.


Constructor & Destructor Documentation

find_visitor::find_visitor ( std::string const &  _path  ) 

Definition at line 405 of file visitor.cpp.

References path, and selector.


Member Function Documentation

component const* jdl::find_visitor::get_value (  )  const [inline]

Definition at line 179 of file visitor.hpp.

References value.

attribute_definition_node const* jdl::find_visitor::get_attribute (  )  const [inline]

Definition at line 180 of file visitor.hpp.

References attribute.

vector<string> const& jdl::find_visitor::get_path (  )  const [inline]

Definition at line 181 of file visitor.hpp.

References path.

vector<int> const& jdl::find_visitor::get_selector (  )  const [inline]

Definition at line 182 of file visitor.hpp.

References selector.

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.


Member Data Documentation

vector<string> jdl::find_visitor::path [private]

Definition at line 167 of file visitor.hpp.

Referenced by find_visitor(), get_path(), and visit().

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]

Definition at line 170 of file visitor.hpp.

Referenced by visit().

size_t jdl::find_visitor::depth [private]

Definition at line 172 of file visitor.hpp.

Referenced by visit().

component const* jdl::find_visitor::value [private]

Definition at line 173 of file visitor.hpp.

Referenced by get_value(), and visit().

attribute_definition_node const* jdl::find_visitor::attribute [private]

Definition at line 174 of file visitor.hpp.

Referenced by get_attribute(), and visit().


The documentation for this class was generated from the following files:
Generated on Sun Feb 17 16:56:05 2008 for JDLParser by  doxygen 1.5.3