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

corelinux::Integer Class Reference

#include <Integer.hpp>

Inheritance diagram for corelinux::Integer:

corelinux::SignedNumber corelinux::Number corelinux::FrameworkEntity corelinux::ShortInteger List of all members.

Public Methods

virtual MetaTypeCptr getType ( void ) const
 get the type. More...

VoidPtr operator new (size_t aSize)
 redefine the operator new[]
  • aSize.
More...


void operator delete (VoidPtr aVoidPtr)
 redefine the operator delete[]
  • aVoidPtr the pointer to delete.


Constructor and destructor
 Integer ( void )
 All Integer derivations require a public default constructor for instantiation via the class factory (MetaType).

 Integer ( IntegerCref )
 Constructor with value. More...

 Integer ( IntCref )
 Constructor with value. More...

virtual ~Integer ( void )
 Virtual destructor.

Operator overloads
bool operator== ( IntegerCref ) const
 Value equality operator. More...

bool operator== ( IntCref ) const
 Value equality operator. More...

IntegerRef operator= ( IntegerCref )
 Value assignment operator. More...

IntegerRef operator= ( IntCref )
 Value assignment operator. More...

Data members for Meta access
 DECLARE_INSTANCEDATA ( Int, Value )

Static Public Methods

MetaTypeCptr getTypeDescriptor ( void )
 get the type descriptor. More...

 IntegerPtr ( void )
 1 a new instance of Integer. More...

 void ( IntegerPtr aPointer )
 1 a point of Integer


Detailed Description

Represents the subset of Numbers that are whole


Constructor & Destructor Documentation

corelinux::Integer::Integer ( void )
 

All Integer derivations require a public default constructor for instantiation via the class factory (MetaType).

corelinux::Integer::Integer ( IntegerCref )
 

Constructor with value.

Parameters:
Integer   const reference

corelinux::Integer::Integer ( IntCref )
 

Constructor with value.

Parameters:
Int   const reference to integer

corelinux::Integer::~Integer ( void ) [virtual]
 

Virtual destructor.


Member Function Documentation

corelinux::Integer::DECLARE_INSTANCEDATA ( Int,
Value )
 

corelinux::Integer::IntegerPtr ( void ) [static]
 

1 a new instance of Integer.

Returns:
a pointer to Integer

MetaTypeCptr corelinux::Integer::getType ( void ) const [virtual]
 

get the type.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::SignedNumber.

Reimplemented in corelinux::ShortInteger.

MetaTypeCptr corelinux::Integer::getTypeDescriptor ( void ) [static]
 

get the type descriptor.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::SignedNumber.

Reimplemented in corelinux::ShortInteger.

void corelinux::Integer::operator delete ( VoidPtr aVoidPtr )
 

redefine the operator delete[]

  • aVoidPtr the pointer to delete.

Reimplemented from corelinux::SignedNumber.

Reimplemented in corelinux::ShortInteger.

VoidPtr corelinux::Integer::operator new ( size_t aSize )
 

redefine the operator new[]

  • aSize.

Returns:
a VoidPtr

Reimplemented from corelinux::SignedNumber.

Reimplemented in corelinux::ShortInteger.

IntegerRef corelinux::Integer::operator= ( IntCref )
 

Value assignment operator.

Parameters:
Int   const reference
Returns:
Integer reference to ( *this )

IntegerRef corelinux::Integer::operator= ( IntegerCref )
 

Value assignment operator.

Parameters:
Integer   const reference
Returns:
Integer reference to (*this)

bool corelinux::Integer::operator== ( IntCref ) const
 

Value equality operator.

Parameters:
Int   const reference
Returns:
bool if values are the same

bool corelinux::Integer::operator== ( IntegerCref ) const
 

Value equality operator.

Parameters:
Integer   const reference
Returns:
bool true if the same object instance

corelinux::Integer::void ( IntegerPtr aPointer ) [static]
 

1 a point of Integer


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