---
name: "corelinux_ScalarIdentifier"
section: "3"
platform: "linux"
package: "libcorelinux-dev"
version: "0.4.32-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/corelinux_ScalarIdentifier"
---

# corelinux\_ScalarIdentifier(3)

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

## NAME

corelinux::ScalarIdentifier - **ScalarIdentifier** provides a templated interface for declaring CoreLinux Identifiers for simple scalar types.

## SYNOPSIS

`#include <ScalarIdentifiers.hpp>`

Inherits **corelinux::Identifier**.

### 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.*  **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 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 \>::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**.

### 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**.

## Author

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