OptionalContentOrderLeaf Class Documentation
classOptionalContentOrderLeaf : OptionalContentOrderNodeNamespace:datalogics_interface
- Inherits from:
OptionalContentOrderNode
Detailed Description
Items in the Order array can be arranged into a tree structure. Each 'leaf' on this tree would be an OptionalContentOrderLeaf that contains a reference to an OptionalContentGroup in this document.
Uses types
Constructor & Destructor Documentation
OptionalContentOrderLeaf
OptionalContentOrderLeaf(OptionalContentGroup &ocg)Parameters
ocg: OptionalContentGroup &The OptionalContentGroup this object will refer to.
Create an OptionalContentOrderLeaf that refers to the OptionalContentGroup.
OptionalContentOrderLeaf
OptionalContentOrderLeaf(OptionalContentOrderLeaf &&)Parameters
~OptionalContentOrderLeaf
~OptionalContentOrderLeaf()Member Function Documentation
get_optional_content_group
OptionalContentGroupget_optional_content_group()Returns:
The OptionalContentGroup this object refers to.Gets the OptionalContentGroup referred to by this OptionalContentOrderLeaf.
operator=
Parameters
Returns:
OptionalContentOrderLeaf &try_as
T *try_as(typename T)Parameters
: typename T
Returns:
T *Attempt to downcast this node to a derived type. Returns a pointer to the derived type, or nullptr if the type doesn't match.
try_as
const T *try_as(typename T)Parameters
: typename T
Returns:
const T *Const overload of try_as(). Returns a const pointer, or nullptr.