CoreLinux++
0.4.32
|
An Identifier is a abstract representation of identity. More...
#include <Identifier.hpp>
Public Member Functions | |
Identifier (void) | |
Default Constructor. | |
Identifier (IdentifierCref) | |
Copy Constructor. More... | |
virtual | ~Identifier (void) |
Virtual Destructor. | |
IdentifierRef | operator= (IdentifierCref) |
Assignment operator overload. More... | |
bool | operator== (IdentifierCref) const |
Equality operator overload calls isEqual virtual method. More... | |
bool | operator!= (IdentifierCref) const |
Non-equality operator overload returns !isEqual(aRef) More... | |
bool | operator< (IdentifierCref) const |
Less than operator overload. More... | |
bool | operator<= (IdentifierCref) const |
Less than or equal operator overload. More... | |
bool | operator> (IdentifierCref) const |
Greater than operator overload. More... | |
bool | operator>= (IdentifierCref) const |
Greater than or equal operator overload. More... | |
![]() | |
CoreLinuxObject (void) | |
Default Constructor. | |
CoreLinuxObject (CoreLinuxObjectCref) | |
Copy Constructor. More... | |
virtual | ~CoreLinuxObject (void) |
Virtual Destructor. | |
CoreLinuxObjectRef | operator= (CoreLinuxObjectCref) |
Assignment operator overload. More... | |
bool | operator== (CoreLinuxObjectCref) const |
Equality operator overload. More... | |
bool | operator!= (CoreLinuxObjectCref) const |
Non-equality operator overload. More... | |
Protected Member Functions | |
virtual bool | isEqual (IdentifierCref) const |
Equality method. More... | |
virtual bool | isLessThan (IdentifierCref) const |
Less than method. More... | |
virtual bool | isLessThanOrEqual (IdentifierCref) const |
Less than or equal method. More... | |
virtual bool | isGreaterThan (IdentifierCref) const |
Greater than method. More... | |
virtual bool | isGreaterThanOrEqual (IdentifierCref) const |
Greater than or equal method. More... | |
An Identifier is a abstract representation of identity.
Derivations implement ConcreteIdentifiers (Strings, Widgets, UUID, whatever). The logical operators call virtual methods which derivations should define.as all the defaults return true.
corelinux::Identifier::Identifier | ( | IdentifierCref | aRef | ) |
Copy Constructor.
Identifier | const reference |
|
protectedvirtual |
Equality method.
Identifier | const reference |
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
Referenced by operator==().
|
protectedvirtual |
Greater than method.
Identifier | const reference |
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
Referenced by operator>().
|
protectedvirtual |
Greater than or equal method.
Identifier | const reference |
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
Referenced by operator>=().
|
protectedvirtual |
Less than method.
Identifier | const reference |
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
Referenced by operator<().
|
protectedvirtual |
Less than or equal method.
Identifier | const reference |
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
Referenced by operator<=().
bool corelinux::Identifier::operator!= | ( | IdentifierCref | aRef | ) | const |
Non-equality operator overload returns !isEqual(aRef)
Identifier | const reference |
References operator==().
bool corelinux::Identifier::operator< | ( | IdentifierCref | aRef | ) | const |
Less than operator overload.
Calls isLessThan virtual method.
Identifier | const reference |
References isLessThan().
bool corelinux::Identifier::operator<= | ( | IdentifierCref | aRef | ) | const |
Less than or equal operator overload.
Calls isLessThanOrEqual virtual method.
Identifier | const reference |
References isLessThanOrEqual().
IdentifierRef corelinux::Identifier::operator= | ( | IdentifierCref | aRef | ) |
Assignment operator overload.
Identifier | const reference |
References corelinux::CoreLinuxObject::operator=().
bool corelinux::Identifier::operator== | ( | IdentifierCref | aRef | ) | const |
Equality operator overload calls isEqual virtual method.
Identifier | const reference |
References isEqual().
Referenced by operator!=().
bool corelinux::Identifier::operator> | ( | IdentifierCref | aRef | ) | const |
Greater than operator overload.
Calls isGreaterThan virtual method.
Identifier | const reference |
References isGreaterThan().
bool corelinux::Identifier::operator>= | ( | IdentifierCref | aRef | ) | const |
Greater than or equal operator overload.
Calls isGreaterThanOrEqual virtual method.
Identifier | const reference |
References isGreaterThanOrEqual().