#include <sprk.h>
Public Member Functions | |
virtual void | Assign (Metadata const &in_that) |
bool | Equals (Metadata const &in_that) const |
HPS::UTF8 | GetName () const |
Metadata () | |
Metadata (Metadata const &in_that) | |
Metadata (Metadata &&in_that) | |
Metadata (char const *in_name) | |
HPS::Type | ObjectType () const |
bool | operator!= (Metadata const &in_that) const |
Metadata & | operator= (Metadata const &in_that) |
Metadata & | operator= (Metadata &&in_that) |
bool | operator== (Metadata const &in_that) const |
void | SetName (char const *in_name) |
![]() | |
Sprocket (HPS::Sprocket const &in_that)=default | |
Sprocket (Sprocket &&in_that) | |
![]() | |
virtual bool | Empty () const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (HPS::Type in_mask) const |
Object (Object const &that) | |
Object (Object &&in_that) | |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
HPS::Type | Type () const |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
The Metadata class is a smart pointer. It represents a variety of metadata, i.e., a (name, value) pair, which might be associated with a Component, e.g., IDs, names, layers, user-defined or format-specific attributes, etc.
HPS::Metadata::Metadata | ( | ) |
HPS::Metadata::Metadata | ( | Metadata const & | in_that | ) |
HPS::Metadata::Metadata | ( | Metadata && | in_that | ) |
HPS::Metadata::Metadata | ( | char const * | in_name | ) |
|
virtual |
bool HPS::Metadata::Equals | ( | Metadata const & | in_that | ) | const |
HPS::UTF8 HPS::Metadata::GetName | ( | ) | const |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS::Object.
Reimplemented in HPS::BooleanMetadata, HPS::TimeMetadata, HPS::StringMetadata, HPS::DoubleMetadata, HPS::UnsignedIntegerMetadata, and HPS::IntegerMetadata.
bool HPS::Metadata::operator!= | ( | Metadata const & | in_that | ) | const |
bool HPS::Metadata::operator== | ( | Metadata const & | in_that | ) | const |
void HPS::Metadata::SetName | ( | char const * | in_name | ) |