corelinux_Identifier3
An identifier is a abstract representation of identity.
Usage
Inherits corelinux::CoreLinuxObject.
Inherited by
corelinux::ScalarIdentifier<
ScalarType
>,
and
NameIdentifier.
Public Member Functions
Identifier (void)
Default Constructor.
Identifier
(IdentifierCref)
Copy Constructor.
virtual
~Identifier
(void)
Virtual Destructor.
IdentifierRef
operator=
(IdentifierCref)
Non-equality operator
overload
returns
!isEqual(aRef).
bool
operator<
(IdentifierCref)
const
Protected Member Functions
virtual bool
isEqual
(IdentifierCref)
const
Detailed Description
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.
Constructor & Destructor Documentation
corelinux::Identifier::Identifier (IdentifierCref)
Copy Constructor. Parameters:
Identifier const reference
Member Function Documentation
bool corelinux::Identifier::isEqual (IdentifierCref) const [protected, virtual]
Equality method. Parameters:
Identifier const reference
Returns:
true if equal, false otherwise
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
bool corelinux::Identifier::isGreaterThan (IdentifierCref) const [protected, virtual]
Greater than method. Parameters:
Identifier const reference
Returns:
true if greater than, false otherwise
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
bool corelinux::Identifier::isGreaterThanOrEqual (IdentifierCref) const [protected, virtual]
Greater than or equal method. Parameters:
Identifier const reference
Returns:
true if greater than or equal, false otherwise
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
bool corelinux::Identifier::isLessThan (IdentifierCref) const [protected, virtual]
Less than method. Parameters:
Identifier const reference
Returns:
true if less than, false otherwise
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
bool corelinux::Identifier::isLessThanOrEqual (IdentifierCref) const [protected, virtual]
Less than or equal method. Parameters:
Identifier const reference
Returns:
true if less than or equal, false otherwise
Reimplemented in corelinux::ScalarIdentifier< ScalarType >.
bool corelinux::Identifier::operator!= (IdentifierCref) const
Non-equality operator overload returns !isEqual(aRef). Parameters:
Identifier const reference
Returns:
false if equal, true otherwise
bool corelinux::Identifier::operator< (IdentifierCref) const
Less than operator overload. Calls isLessThan virtual method.
Parameters:
Identifier const reference
Returns:
true if less than, false otherwise
bool corelinux::Identifier::operator<= (IdentifierCref) const
Less than or equal operator overload. Calls isLessThanOrEqual virtual method.
Parameters:
Identifier const reference
Returns:
true if less than or equal, false otherwise
IdentifierRef corelinux::Identifier::operator= (IdentifierCref)
Assignment operator overload. Parameters:
Identifier const reference
Returns:
Identifier reference to self
bool corelinux::Identifier::operator== (IdentifierCref) const
Equality operator overload calls isEqual virtual method. Parameters:
Identifier const reference
Returns:
true if equal, false otherwise
bool corelinux::Identifier::operator> (IdentifierCref) const
Greater than operator overload. Calls isGreaterThan virtual method.
Parameters:
Identifier const reference
Returns:
true if greater than, false otherwise
bool corelinux::Identifier::operator>= (IdentifierCref) const
Greater than or equal operator overload. Calls isGreaterThanOrEqual virtual method.
Parameters:
Identifier const reference
Returns:
true if greater than or equal, false otherwise
History
- Debian 3.1 (Sarge): the text shown here
- Debian 3.0 (Woody)