class
#include <Magnum/OpenDdl/Property.h>
Property OpenDDL property.
See Document for more information.
Public functions
- auto identifier() const -> Int
- Property identifier.
- auto isTypeCompatibleWith(PropertyType type) const -> bool
- Whether property type is compatible with given type.
-
template<class T>auto as() const -> const T&
- Property data.
-
auto asReference() const -> Containers::
Optional<Structure> - Reference property data.
Function documentation
Int Magnum:: OpenDdl:: Property:: identifier() const
Property identifier.
template<class T>
const T& Magnum:: OpenDdl:: Property:: as() const
Property data.
The property type must be compatible with desired type.
Containers:: Optional<Structure> Magnum:: OpenDdl:: Property:: asReference() const
Reference property data.
The property type must be Type::null
.