#include <JobGenealogist.hh>
| protocols::jd3::JGResultNode::JGResultNode |
( |
| ) |
|
| protocols::jd3::JGResultNode::JGResultNode |
( |
unsigned int |
result, |
|
|
JGJobNodeAP |
par |
|
) |
| |
| protocols::jd3::JGResultNode::~JGResultNode |
( |
| ) |
|
|
default |
| void protocols::jd3::JGResultNode::add_child |
( |
JGJobNodeAP |
c, |
|
|
bool |
tell_child_to_add_parent = true |
|
) |
| |
Like humans, the JGResultNode can have more than one child.
please only set tell_child_to_add_parent to false if you plan on adding this result node to c's vector of parents. The parent/child relationship is very complicated when only one of the two parties knows about the relationship.
References children_.
| utility::vector1< JGJobNodeAP > const& protocols::jd3::JGResultNode::children |
( |
| ) |
const |
|
inline |
Be careful here! The vector is const but the elements are not.
References children_.
| utility::vector1< JGJobNodeAP >& protocols::jd3::JGResultNode::children |
( |
| ) |
|
|
inlineprotected |
| void protocols::jd3::JGResultNode::parent |
( |
JGJobNodeAP |
parent | ) |
|
|
inline |
| bool protocols::jd3::JGResultNode::remove_child |
( |
JGJobNodeAP |
c, |
|
|
bool |
tell_child_to_remove_parent = true |
|
) |
| |
please only set tell_child_to_remove_parent to false if you plan on removing this result node from c's vector of parents. The parent/child relationship is very complicated when only one of the two parties knows that the relationship has ended.
References children_.
| unsigned int protocols::jd3::JGResultNode::result_id |
( |
| ) |
const |
|
inline |
| void protocols::jd3::JGResultNode::result_id |
( |
unsigned int |
result_id | ) |
|
|
inline |
| utility::vector1< JGJobNodeAP > protocols::jd3::JGResultNode::children_ |
|
private |
| unsigned int protocols::jd3::JGResultNode::result_id_ |
|
private |
The documentation for this class was generated from the following files: