Meta property object.
More...
#include <meta.hpp>
|
template<typename > |
class | factory |
| A meta factory is allowed to create meta objects.
|
|
Meta property object.
A meta property is an opaque container for a key/value pair.
Properties are associated with any other meta object to enrich it.
Definition at line 756 of file meta.hpp.
◆ key()
any meta::prop::key |
( |
| ) |
const |
|
inlinenoexcept |
Returns the stored key.
- Returns
- A meta any containing the key stored with the given property.
Definition at line 774 of file meta.hpp.
◆ operator bool()
meta::prop::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
Returns true if a meta object is valid, false otherwise.
- Returns
- True if the meta object is valid, false otherwise.
Definition at line 790 of file meta.hpp.
◆ operator==()
bool meta::prop::operator== |
( |
const prop & |
other | ) |
const |
|
inlinenoexcept |
Checks if two meta objects refer to the same node.
- Parameters
-
other | The meta object with which to compare. |
- Returns
- True if the two meta objects refer to the same node, false otherwise.
Definition at line 800 of file meta.hpp.
◆ value()
any meta::prop::value |
( |
| ) |
const |
|
inlinenoexcept |
Returns the stored value.
- Returns
- A meta any containing the value stored with the given property.
Definition at line 782 of file meta.hpp.
The documentation for this class was generated from the following file: