Reference

corelinux_Identifier(3)

An Identifier is a abstract representation of identity.

NAME

corelinux::Identifier - An Identifier is a abstract representation of identity.

SYNOPSIS

#include <Identifier.hpp>

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)
Assignment operator overload. bool operator== (IdentifierCref) const
Equality operator overload calls isEqual virtual method. bool operator!= (IdentifierCref) const
Non-equality operator overload returns !isEqual(aRef). bool operator< (IdentifierCref) const
Less than operator overload. bool operator<= (IdentifierCref) const
Less than or equal operator overload. bool operator> (IdentifierCref) const
Greater than operator overload. bool operator>= (IdentifierCref) const
Greater than or equal operator overload.

Protected Member Functions

virtual bool isEqual (IdentifierCref) const
Equality method. virtual bool isLessThan (IdentifierCref) const
Less than method. virtual bool isLessThanOrEqual (IdentifierCref) const
Less than or equal method. virtual bool isGreaterThan (IdentifierCref) const
Greater than method. virtual bool isGreaterThanOrEqual (IdentifierCref) const
Greater than or equal method.

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

Author

Generated automatically by Doxygen for CoreLinux++ from the source code.

History