VPTissue Reference Manual
SimPT_Sim::NodeAttributes Class Reference

Attributes associated with a node. More...

#include <NodeAttributes.h>

Inheritance diagram for SimPT_Sim::NodeAttributes:
Inheritance graph
Collaboration diagram for SimPT_Sim::NodeAttributes:
Collaboration graph

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...
 

Detailed Description

Attributes associated with a node.

Definition at line 29 of file NodeAttributes.h.

Member Function Documentation

ptree SimPT_Sim::NodeAttributes::ToPtree ( ) const
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.


The documentation for this class was generated from the following files: