#include <JobGenealogist.hh>
◆ JGResultNode() [1/2]
| protocols::jd3::JGResultNode::JGResultNode |
( |
| ) |
|
◆ JGResultNode() [2/2]
| protocols::jd3::JGResultNode::JGResultNode |
( |
unsigned int |
result, |
|
|
JGJobNodeAP |
par |
|
) |
| |
◆ ~JGResultNode()
| protocols::jd3::JGResultNode::~JGResultNode |
( |
| ) |
|
|
default |
◆ add_child()
| 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_.
◆ children() [1/2]
| utility::vector1< JGJobNodeAP >& protocols::jd3::JGResultNode::children |
( |
| ) |
|
|
inlineprotected |
◆ children() [2/2]
| utility::vector1< JGJobNodeAP > const& protocols::jd3::JGResultNode::children |
( |
| ) |
const |
|
inline |
Be careful here! The vector is const but the elements are not.
References children_.
◆ operator<()
| bool protocols::jd3::JGResultNode::operator< |
( |
JGResultNode const & |
rhs | ) |
const |
|
inline |
◆ parent() [1/3]
◆ parent() [2/3]
◆ parent() [3/3]
| void protocols::jd3::JGResultNode::parent |
( |
JGJobNodeAP |
parent | ) |
|
|
inline |
◆ remove_child()
| 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_.
◆ result_id() [1/2]
| unsigned int protocols::jd3::JGResultNode::result_id |
( |
| ) |
const |
|
inline |
◆ result_id() [2/2]
| void protocols::jd3::JGResultNode::result_id |
( |
unsigned int |
result_id | ) |
|
|
inline |
◆ JGJobNode
◆ JobGenealogist
◆ children_
| utility::vector1< JGJobNodeAP > protocols::jd3::JGResultNode::children_ |
|
private |
◆ parent_
◆ result_id_
| unsigned int protocols::jd3::JGResultNode::result_id_ |
|
private |
The documentation for this class was generated from the following files: