#include <sprk.h>
|
template<typename T > |
static intptr_t | ClassID () |
|
The BooleanMetadata class is a smart pointer. It represents a piece of boolean Metadata.
HPS::BooleanMetadata::BooleanMetadata |
( |
| ) |
|
The default constructor creates an uninitialized BooleanMetadata object. The Type() function will return Type::None.
HPS::BooleanMetadata::BooleanMetadata |
( |
Metadata const & |
in_that | ) |
|
This constructor creates a BooleanMetadata 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 a BooleanMetadata object. Otherwise the copy will fail and the resulting BooleanMetadata will be invalid.
- Parameters
-
The move constructor creates a BooleanMetadata by transferring the underlying object of the rvalue reference to this BooleanMetadata.
- Parameters
-
in_that | An rvalue reference to a BooleanMetadata to take the underlying object from. |
HPS::BooleanMetadata::BooleanMetadata |
( |
char const * |
in_name, |
|
|
bool |
in_value |
|
) |
| |
This constructor creates a BooleanMetadata with a given name and value.
- Parameters
-
bool HPS::BooleanMetadata::GetValue |
( |
| ) |
const |
HPS::Type HPS::BooleanMetadata::ObjectType |
( |
| ) |
const |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS::Metadata.
The move assignment operator transfers the underlying object of the rvalue reference to this BooleanMetadata.
- Parameters
-
in_that | An rvalue reference to a BooleanMetadata to take the underlying object from. |
- Returns
- A reference to this BooleanMetadata.
void HPS::BooleanMetadata::SetValue |
( |
bool |
in_value | ) |
|
The documentation for this class was generated from the following file: