OptionalContentOrderNode Class Documentation
class OptionalContentOrderNodeNamespace:datalogics_interface
- Derived classes:
- OptionalContentOrderArray, OptionalContentOrderLeaf
Detailed Description
Base class for items in the OptionalContentConfig Order array.
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.