OptionalContentOrderNode Class Documentation
classOptionalContentOrderNodeNamespace:datalogics_interface
- Derived classes:
- OptionalContentOrderArray, OptionalContentOrderLeaf
Detailed Description
Items in the OptionalContentConfig's Order array are either OptionalContentOrderLeaf or OptionalContentOrderArray. This is the base class for both; you cannot instantiate an OptionalContentOrderNode, only one of its child classes.
Referenced by
Constructor & Destructor Documentation
~OptionalContentOrderNode
~OptionalContentOrderNode()Member Function Documentation
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.