BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Functions | |
template<typename T > | |
std::vector< const T * > | AllDescendantsOfType (const INode &node) |
template<typename T > | |
std::vector< const T * > | ChildNodesOfType (const INode &node) |
template<typename T > | |
const T * | OnlyChildOfType (const INode &node) |
std::vector<const T*> NodeUtils::AllDescendantsOfType | ( | const INode & | node | ) |
Definition at line 51 of file NodeUtils.h.
References ASSERT, and INode::nodeChildren().
std::vector<const T*> NodeUtils::ChildNodesOfType | ( | const INode & | node | ) |
Definition at line 31 of file NodeUtils.h.
References INode::nodeChildren().
const T* NodeUtils::OnlyChildOfType | ( | const INode & | node | ) |
Definition at line 42 of file NodeUtils.h.