VPTissue Reference Manual
|
Attributes associated with a node. More...
#include <NodeAttributes.h>
Public Member Functions | |
bool | IsFixed () const |
bool | IsSam () const |
virtual void | ReadPtree (const boost::property_tree::ptree &node_pt) |
Read the given ptree into the attributes. | |
void | SetFixed (bool b) |
void | SetSam (bool b) |
virtual boost::property_tree::ptree | ToPtree () const |
Convert the node attributes to a ptree. More... | |
Attributes associated with a node.
Definition at line 29 of file NodeAttributes.h.
|
virtual |
Convert the node attributes to a ptree.
The format of a node attributes ptree is as follows:
<fixed>[true if the node is fixed]</fixed> <sam>[true if the node is connected to the shoot]</sam>
Reimplemented in SimPT_Sim::Node.
Definition at line 43 of file NodeAttributes.cpp.