#include <hps.h>
Public Member Functions | |
ImageDefinition () | |
ImageDefinition (Definition const &in_that) | |
ImageDefinition (ImageDefinition const &in_that) | |
ImageDefinition & | operator= (ImageDefinition const &in_that) |
ImageDefinition (ImageDefinition &&in_that) | |
ImageDefinition & | operator= (ImageDefinition &&in_that) |
HPS::Type | ObjectType () const |
void | Set (ImageKit const &in_kit) |
void | Show (ImageKit &out_kit) const |
![]() | |
Definition () | |
Definition (Definition const &in_that) | |
Definition & | operator= (Definition const &in_that) |
Definition (Definition &&in_that) | |
Definition & | operator= (Definition &&in_that) |
void | Undefine () |
PortfolioKey | Owner () const |
UTF8 | Name () const |
virtual void | Assign (Definition const &in_that) |
bool | Equals (Definition const &in_that) const |
bool | operator== (Definition const &in_that) const |
bool | operator!= (Definition const &in_that) const |
![]() | |
Object (Object const &that) | |
Object & | operator= (Object const &other_object) |
Object (Object &&in_that) | |
Object & | operator= (Object &&in_that) |
HPS::Type | Type () const |
virtual bool | Empty () const |
virtual void | Reset () |
bool | HasType (HPS::Type in_mask) const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
The ImageDefinition class is a smart pointer to a database object. It is a handle to an image defined within a portolfio.
HPS::ImageDefinition::ImageDefinition | ( | ) |
The default constructor creates an uninitialized ImageDefinition object. The Type() function will return Type::None.
HPS::ImageDefinition::ImageDefinition | ( | Definition const & | in_that | ) |
This constructor creates an ImageDefinition object that shares the underlying smart-pointer of the source Definition. The copy will only be successful if the source definition is really an upcast of an image definition. Otherwise the copy will fail and the resulting ImageDefinition will be invalid.
in_that | The source Definition to copy. |
HPS::ImageDefinition::ImageDefinition | ( | ImageDefinition const & | in_that | ) |
The copy constructor creates an ImageDefinition object that shares the underlying smart-pointer of the source ImageDefinition.
in_that | The source ImageDefinition to copy. |
HPS::ImageDefinition::ImageDefinition | ( | ImageDefinition && | in_that | ) |
The move constructor creates an ImageDefinition by transferring the underlying impl of the rvalue reference to this ImageDefinition thereby avoiding a copy and allocation.
in_that | An rvalue reference to an ImageDefinition to take the impl from. |
|
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::Definition.
ImageDefinition& HPS::ImageDefinition::operator= | ( | ImageDefinition const & | in_that | ) |
Associate this ImageDefinition with the same underlying impl as the source ImageDefinition.
in_that | The source ImageDefinition for the assignment. |
ImageDefinition& HPS::ImageDefinition::operator= | ( | ImageDefinition && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this ImageDefinition thereby avoiding a copy.
in_that | An rvalue reference to an ImageDefinition to take the impl from. |
void HPS::ImageDefinition::Set | ( | ImageKit const & | in_kit | ) |
Redefine the image for this ImageDefinition.
in_kit | The new image for this ImageDefinition. |
void HPS::ImageDefinition::Show | ( | ImageKit & | out_kit | ) | const |
Shows the image for this ImageDefinition.
out_kit | The image for this ImageDefinition. |