class
#include <Magnum/OpenDdl/Validation.h>
Property Property specification.
Example usage (excerpt from OpenGEX specification of Animation
structure):
Properties{{clip, PropertyType::UnsignedInt, OptionalProperty}, {begin, PropertyType::Float, OptionalProperty}, {end, PropertyType::Float, OptionalProperty}}
Constructors, destructors, conversion operators
- Property(Int identifier, PropertyType type, RequiredPropertyType required) constexpr
- Constructor.
Function documentation
Magnum:: OpenDdl:: Validation:: Property:: Property(Int identifier,
PropertyType type,
RequiredPropertyType required) constexpr
Constructor.
Parameters | |
---|---|
identifier | Property identifier |
type | Expected property type |
required | Whether the property is required |