#include <attributeproxy.h>
Public Member Functions | |
AttributeProxy (Node *new_parent, string new_attributeName) | |
void | operator= (string value) |
void | operator= (Node *value) |
void | operator= (vector< Node * > vec_nodes) |
Private Attributes | |
Node * | parent |
string | attributeName |
Definition at line 13 of file attributeproxy.h.
|
Definition at line 15 of file attributeproxy.h. 00015 : 00016 parent(new_parent), 00017 attributeName(new_attributeName) 00018 { 00019 } void operator=(string value);
|
|
Definition at line 15 of file attributeproxy.cc. References parent, and AST::Node::set_attribute(). 00015 { 00016 parent->set_attribute(this->attributeName, value); 00017 }
|
|
Definition at line 12 of file attributeproxy.cc. References parent, and AST::Node::set_attribute(). 00012 { 00013 parent->set_attribute(this->attributeName, value); 00014 }
|
|
-----------------------------------------------------------------------------// Node proxy allows cleaner access to the map -> much more type safe wraper functions for each of the set_attribute calls -------------------------------------------------------------------------------- Definition at line 8 of file attributeproxy.cc. References parent, and AST::Node::set_attribute(). 00008 { 00009 parent->set_attribute(this->attributeName, value); 00010 }
|
|
Definition at line 25 of file attributeproxy.h. |
|
Definition at line 24 of file attributeproxy.h. Referenced by operator=(). |