corelinux::ScalarIdentifier< ScalarType > Class Template Reference

ScalarIdentifier provides a templated interface for declaring CoreLinux Identifiers for simple scalar types. More...

#include <ScalarIdentifiers.hpp>

Inheritance diagram for corelinux::ScalarIdentifier< ScalarType >:

corelinux::Identifier corelinux::CoreLinuxObject

List of all members.

Public Member Functions

 ScalarIdentifier (void)
 Default constructor.
 ScalarIdentifier (ScalarType aType)
 Initializing constructor.
 ScalarIdentifier (const ScalarIdentifier &aScalar)
 Copy constructor.
virtual ~ScalarIdentifier (void)
 Virtual Destructor.
ScalarType & operator= (ScalarType aScalar)
 Operator assignment for scalars.
ScalarIdentifieroperator= (const ScalarIdentifier &aScalar)
 Operator assignment of Identifiers.
 operator ScalarType & (void)
 Reference cast operator.
 operator ScalarType * (void)
 Pointer cast operator.
const ScalarType & getScalar (void) const
 Returns a const reference.

Protected Member Functions

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


Detailed Description

template<class ScalarType>
class corelinux::ScalarIdentifier< ScalarType >

ScalarIdentifier provides a templated interface for declaring CoreLinux Identifiers for simple scalar types.

Member Function Documentation

template<class ScalarType>
virtual bool corelinux::ScalarIdentifier< ScalarType >::isEqual ( IdentifierCref  aRef  )  const [inline, protected, virtual]

Equality method.

Parameters:
Identifier const reference
Returns:
true if equal, false otherwise

Reimplemented from corelinux::Identifier.

template<class ScalarType>
virtual bool corelinux::ScalarIdentifier< ScalarType >::isLessThan ( IdentifierCref  aRef  )  const [inline, protected, virtual]

Less than method.

Parameters:
Identifier const reference
Returns:
true if less than, false otherwise

Reimplemented from corelinux::Identifier.

template<class ScalarType>
virtual bool corelinux::ScalarIdentifier< ScalarType >::isLessThanOrEqual ( IdentifierCref  aRef  )  const [inline, protected, virtual]

Less than or equal method.

Parameters:
Identifier const reference
Returns:
true if less than or equal, false otherwise

Reimplemented from corelinux::Identifier.

template<class ScalarType>
virtual bool corelinux::ScalarIdentifier< ScalarType >::isGreaterThan ( IdentifierCref  aRef  )  const [inline, protected, virtual]

Greater than method.

Parameters:
Identifier const reference
Returns:
true if greater than, false otherwise

Reimplemented from corelinux::Identifier.

template<class ScalarType>
virtual bool corelinux::ScalarIdentifier< ScalarType >::isGreaterThanOrEqual ( IdentifierCref  aRef  )  const [inline, protected, virtual]

Greater than or equal method.

Parameters:
Identifier const reference
Returns:
true if greater than or equal, false otherwise

Reimplemented from corelinux::Identifier.


The documentation for this class was generated from the following file:

This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium