1 #if !defined (__SCALARIDENTIFIERS_HPP)
2 #define __SCALARIDENTIFIERS_HPP
24 #if !defined IN_COMMON_HPP
25 #error ScalarIdentifiers.hpp is included by Common.hpp only.
36 template<
class ScalarType >
104 inline operator ScalarType &( void )
111 inline operator ScalarType *( void )
136 return ( theScalar ==
160 return ( theScalar <=
184 return ( theScalar >=
192 ScalarType theScalar;
197 using corelinux::Dword;
198 using corelinux::Int;
199 using corelinux::Short;
200 using corelinux::Word;
201 using corelinux::UnsignedInt;
205 DECLARE_TYPE( CORELINUX(ScalarIdentifier<Int>),
IntIdentifier );
221 DECLARE_TYPE( CORELINUX(ScalarIdentifier<Word>),
WordIdentifier );
252 #endif // if defined(__SCALARIDENTIFIERS_HPP)
ScalarIdentifier(void)
Default constructor.
Definition: ScalarIdentifiers.hpp:48
virtual ~ScalarIdentifier(void)
Virtual Destructor.
Definition: ScalarIdentifiers.hpp:78
ScalarIdentifier(const ScalarIdentifier &aScalar)
Copy constructor.
Definition: ScalarIdentifiers.hpp:68
const ScalarType & getScalar(void) const
Returns a const reference.
Definition: ScalarIdentifiers.hpp:121
virtual bool isGreaterThan(IdentifierCref aRef) const
Greater than method.
Definition: ScalarIdentifiers.hpp:170
An Identifier is a abstract representation of identity.
Definition: Identifier.hpp:40
virtual bool isGreaterThanOrEqual(IdentifierCref aRef) const
Greater than or equal method.
Definition: ScalarIdentifiers.hpp:182
ScalarType & operator=(ScalarType aScalar)
Operator assignment for scalars.
Definition: ScalarIdentifiers.hpp:88
ScalarIdentifier provides a templated interface for declaring CoreLinux Identifiers for simple scalar...
Definition: ScalarIdentifiers.hpp:37
ScalarIdentifier(ScalarType aType)
Initializing constructor.
Definition: ScalarIdentifiers.hpp:58
virtual bool isLessThanOrEqual(IdentifierCref aRef) const
Less than or equal method.
Definition: ScalarIdentifiers.hpp:158
virtual bool isLessThan(IdentifierCref aRef) const
Less than method.
Definition: ScalarIdentifiers.hpp:146
ScalarIdentifier & operator=(const ScalarIdentifier &aScalar)
Operator assignment of Identifiers.
Definition: ScalarIdentifiers.hpp:96
virtual bool isEqual(IdentifierCref aRef) const
Equality method.
Definition: ScalarIdentifiers.hpp:134