AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Implementation of the Verifiable interface for aggregates of BaseTypes. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.5.0/src/axom/inlet/Verifiable.hpp>
Public Member Functions | |
AggregateVerifiable (std::vector< std::reference_wrapper< BaseVerifiable >> &&verifiables) | |
AggregateVerifiable & | operator= (const AggregateVerifiable &)=delete |
AggregateVerifiable & | required (bool isRequired=true) |
Set the required status of this object. More... | |
bool | isRequired () const |
Return the required status. More... | |
AggregateVerifiable & | registerVerifier (std::function< bool(const BaseType &)> lambda) |
Registers the function object that will verify this object's contents during the verification stage. More... | |
bool | verify () const |
Verifies the object to make sure it satisfies the imposed requirements. More... | |
Implementation of the Verifiable interface for aggregates of BaseTypes.
BaseType | The "base" type of the object, used for the argument type of a verifying predicate |
In practice this interface is used for the Container and Function classes.
|
inline |
|
delete |
|
inlinevirtual |
Set the required status of this object.
Set whether this object is required, or not, to be in the input file. The default behavior is to not be required.
[in] | isRequired | Boolean value of whether object is required |
Implements axom::inlet::Verifiable< BaseType >.
Referenced by axom::inlet::AggregateVerifiable< axom::inlet::Function >::required().
|
inlinevirtual |
Return the required status.
Return that this object is required, or not, to be in the input file. The default behavior is to not be required.
Implements axom::inlet::Verifiable< BaseType >.
|
inlinevirtual |
Registers the function object that will verify this object's contents during the verification stage.
[in] | The | function object. |
Implements axom::inlet::Verifiable< BaseType >.
Referenced by axom::inlet::AggregateVerifiable< axom::inlet::Function >::registerVerifier().
|
inlinevirtual |
Verifies the object to make sure it satisfies the imposed requirements.
Implements axom::inlet::Verifiable< BaseType >.