#include <sprk.h>
Public Member Functions | |
unsigned int | GetValue () const |
HPS::Type | ObjectType () const |
UnsignedIntegerMetadata & | operator= (UnsignedIntegerMetadata const &in_that)=default |
UnsignedIntegerMetadata & | operator= (UnsignedIntegerMetadata &&in_that) |
void | SetValue (unsigned int in_value) |
UnsignedIntegerMetadata () | |
UnsignedIntegerMetadata (Metadata const &in_that) | |
UnsignedIntegerMetadata (UnsignedIntegerMetadata const &in_that) | |
UnsignedIntegerMetadata (UnsignedIntegerMetadata &&in_that) | |
UnsignedIntegerMetadata (char const *in_name, unsigned int in_value) | |
![]() | |
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) | |
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 UnsignedIntegerMetadata class is a smart pointer. It represents a piece of unsigned integer Metadata.
HPS::UnsignedIntegerMetadata::UnsignedIntegerMetadata | ( | ) |
The default constructor creates an uninitialized UnsignedIntegerMetadata object. The Type() function will return Type::None.
HPS::UnsignedIntegerMetadata::UnsignedIntegerMetadata | ( | Metadata const & | in_that | ) |
This constructor creates an UnsignedIntegerMetadata object that shares the underlying smart-pointer of the source Metadata. The copy will only be successful if the source component is really an upcast of an UnsignedIntegerMetadata object. Otherwise the copy will fail and the resulting UnsignedIntegerMetadata will be invalid.
in_that | The source Metadata to copy. |
HPS::UnsignedIntegerMetadata::UnsignedIntegerMetadata | ( | UnsignedIntegerMetadata const & | in_that | ) |
The copy constructor creates an UnsignedIntegerMetadata object that shares the underlying smart-pointer of the source UnsignedIntegerMetadata.
in_that | The source UnsignedIntegerMetadata to copy. |
HPS::UnsignedIntegerMetadata::UnsignedIntegerMetadata | ( | UnsignedIntegerMetadata && | in_that | ) |
The move constructor creates an UnsignedIntegerMetadata by transferring the underlying object of the rvalue reference to this UnsignedIntegerMetadata.
in_that | An rvalue reference to an UnsignedIntegerMetadata to take the underlying object from. |
HPS::UnsignedIntegerMetadata::UnsignedIntegerMetadata | ( | char const * | in_name, |
unsigned int | in_value | ||
) |
This constructor creates an UnsignedIntegerMetadata with a given name and value.
in_name | The UTF8-encoded name for this UnsignedIntegerMetadata. |
in_value | The unsigned integer value for this UnsignedIntegerMetadata. |
unsigned int HPS::UnsignedIntegerMetadata::GetValue | ( | ) | const |
Gets the unsigned integer value for this UnsignedIntegerMetadata.
|
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::Metadata.
UnsignedIntegerMetadata& HPS::UnsignedIntegerMetadata::operator= | ( | UnsignedIntegerMetadata && | in_that | ) |
The move assignment operator transfers the underlying object of the rvalue reference to this UnsignedIntegerMetadata.
in_that | An rvalue reference to a UnsignedIntegerMetadata to take the underlying object from. |
void HPS::UnsignedIntegerMetadata::SetValue | ( | unsigned int | in_value | ) |
Sets the unsigned integer value for this UnsignedIntegerMetadata.
in_value | The unsigned integer value for this UnsignedIntegerMetadata. |