jdl::dag_visitor Class Reference

#include <visitor.hpp>

Inheritance diagram for jdl::dag_visitor:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 dag_visitor ()
void visit (attribute_definition_node const &node)
void visit (list_node const &node)
graph::node const * get_DAG () const
 ~dag_visitor ()

Private Member Functions

void check_dag ()

Private Attributes

map< string,
component * > 
nodes
vector< pair< string,
string > > 
dependencies
bool start_record
bool start_node
bool is_dag_node
bool start_dependecies
bool dep_list
bool found_nodes
bool found_deps
graph::noderoot


Detailed Description

Definition at line 187 of file visitor.hpp.


Constructor & Destructor Documentation

jdl::dag_visitor::dag_visitor (  )  [inline]

Definition at line 201 of file visitor.hpp.

jdl::dag_visitor::~dag_visitor (  )  [inline]

Definition at line 215 of file visitor.hpp.

References root.


Member Function Documentation

void dag_visitor::check_dag (  )  [private]

Definition at line 343 of file visitor.cpp.

References graph::node::accept(), graph::node::add_child(), dependencies, found_deps, found_nodes, nodes, root, and throw_node_not_exist().

Referenced by visit().

void dag_visitor::visit ( attribute_definition_node const &  node  )  [virtual]

Reimplemented from jdl::base_const_visitor.

Definition at line 213 of file visitor.cpp.

References check_dag(), found_deps, found_nodes, jdl::attribute_definition_node::get_name(), jdl::attribute_definition_node::get_value(), is_dag_node, nodes, start_dependecies, start_node, start_record, and jdl::base_const_visitor::visit().

void dag_visitor::visit ( list_node const &  node  )  [virtual]

Reimplemented from jdl::base_const_visitor.

Definition at line 388 of file visitor.cpp.

References build_dependencies(), dep_list, dependencies, start_dependecies, and jdl::base_const_visitor::visit().

graph::node const* jdl::dag_visitor::get_DAG (  )  const [inline]

Definition at line 213 of file visitor.hpp.

References root.


Member Data Documentation

map<string, component*> jdl::dag_visitor::nodes [private]

Definition at line 188 of file visitor.hpp.

Referenced by check_dag(), and visit().

vector<pair<string,string> > jdl::dag_visitor::dependencies [private]

Definition at line 189 of file visitor.hpp.

Referenced by check_dag(), and visit().

bool jdl::dag_visitor::start_record [private]

Definition at line 190 of file visitor.hpp.

Referenced by visit().

bool jdl::dag_visitor::start_node [private]

Definition at line 191 of file visitor.hpp.

Referenced by visit().

bool jdl::dag_visitor::is_dag_node [private]

Definition at line 192 of file visitor.hpp.

Referenced by visit().

bool jdl::dag_visitor::start_dependecies [private]

Definition at line 193 of file visitor.hpp.

Referenced by visit().

bool jdl::dag_visitor::dep_list [private]

Definition at line 194 of file visitor.hpp.

Referenced by visit().

bool jdl::dag_visitor::found_nodes [private]

Definition at line 195 of file visitor.hpp.

Referenced by check_dag(), and visit().

bool jdl::dag_visitor::found_deps [private]

Definition at line 196 of file visitor.hpp.

Referenced by check_dag(), and visit().

graph::node* jdl::dag_visitor::root [private]

Definition at line 197 of file visitor.hpp.

Referenced by check_dag(), get_DAG(), and ~dag_visitor().


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