REFERENCE MANUAL
#include <sprk.h>
Public Member Functions | |
virtual void | Assign (Metadata const &in_that) |
bool | Equals (Metadata const &in_that) const |
UTF8 | GetName () const |
Metadata () | |
Metadata (Metadata const &in_that) | |
Metadata (Metadata &&in_that) | |
Metadata (char const *in_name) | |
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 (Sprocket &&in_that) | |
![]() | |
virtual bool | Empty () const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (Type in_mask) const |
Object (Object &&in_that) | |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
Type | Type () const |
Additional Inherited Members | |
![]() | |
enum | UpdateType { Synchronous, Asynchronous } |
![]() | |
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.
Metadata::Metadata | ( | ) |
Metadata::Metadata | ( | Metadata const & | in_that | ) |
Metadata::Metadata | ( | Metadata && | in_that | ) |
Metadata::Metadata | ( | char const * | in_name | ) |
|
virtual |
bool Metadata::Equals | ( | Metadata const & | in_that | ) | const |
UTF8 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 Object.
Reimplemented in BooleanMetadata, TimeMetadata, StringMetadata, DoubleMetadata, UnsignedIntegerMetadata, and IntegerMetadata.
bool Metadata::operator!= | ( | Metadata const & | in_that | ) | const |
bool Metadata::operator== | ( | Metadata const & | in_that | ) | const |
void Metadata::SetName | ( | char const * | in_name | ) |