Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

corelinux::ScalarIdentifier Template Class Reference

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

#include <ScalarIdentifiers.hpp>

Inheritance diagram for corelinux::ScalarIdentifier

Inheritance graph
[legend]
Collaboration diagram for corelinux::ScalarIdentifier:

Collaboration graph
[legend]
List of all members.

Public Methods

 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.

ScalarIdentifier& operator= ( 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 Methods

virtual bool isEqual ( IdentifierCref aRef ) const
 Equality method. More...

virtual bool isLessThan ( IdentifierCref aRef ) const
 Less than method. More...

virtual bool isLessThanOrEqual ( IdentifierCref aRef ) const
 Less than or equal method. More...

virtual bool isGreaterThan ( IdentifierCref aRef ) const
 Greater than method. More...

virtual bool isGreaterThanOrEqual ( IdentifierCref aRef ) const
 Greater than or equal method. More...


Detailed Description

template<class ScalarType> template class corelinux::ScalarIdentifier

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


Member Function Documentation

template<classScalarType>
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<classScalarType>
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<classScalarType>
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.

template<classScalarType>
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<classScalarType>
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.


The documentation for this class was generated from the following file:
This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium