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

corelinux::Number Class Reference

#include <Number.hpp>

Inheritance diagram for corelinux::Number:

corelinux::FrameworkEntity corelinux::RealNumber corelinux::SignedNumber corelinux::UnsignedNumber corelinux::Integer corelinux::UnsignedInteger corelinux::ShortInteger corelinux::UnsignedShortInteger 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
 Number ( void )
 All Number derivations require a public default constructor for instantiation via the class factory (MetaType).

virtual ~Number ( void )
 Virtual destructor.

Operator overloads
bool operator== ( NumberCref ) const
 Equality operator. More...

NumberRef operator= ( NumberCref )
 Assignment operator. More...


Static Public Methods

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

 NumberPtr ( void )
 1 a new instance of Number. More...

 void ( NumberPtr aPointer )
 1 a point of Number


Detailed Description

Represents the root class for types that are a number (Integer, etc.)


Constructor & Destructor Documentation

corelinux::Number::Number ( void )
 

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

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

Virtual destructor.


Member Function Documentation

corelinux::Number::NumberPtr ( void ) [static]
 

1 a new instance of Number.

Returns:
a pointer to Number

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

get the type.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::FrameworkEntity.

Reimplemented in corelinux::Integer, corelinux::RealNumber, corelinux::ShortInteger, corelinux::SignedNumber, corelinux::UnsignedInteger, corelinux::UnsignedNumber, and corelinux::UnsignedShortInteger.

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

get the type descriptor.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::FrameworkEntity.

Reimplemented in corelinux::Integer, corelinux::RealNumber, corelinux::ShortInteger, corelinux::SignedNumber, corelinux::UnsignedInteger, corelinux::UnsignedNumber, and corelinux::UnsignedShortInteger.

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

redefine the operator delete[]

  • aVoidPtr the pointer to delete.

Reimplemented in corelinux::Integer, corelinux::RealNumber, corelinux::ShortInteger, corelinux::SignedNumber, corelinux::UnsignedInteger, corelinux::UnsignedNumber, and corelinux::UnsignedShortInteger.

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

redefine the operator new[]

  • aSize.

Returns:
a VoidPtr

Reimplemented from corelinux::FrameworkEntity.

Reimplemented in corelinux::Integer, corelinux::RealNumber, corelinux::ShortInteger, corelinux::SignedNumber, corelinux::UnsignedInteger, corelinux::UnsignedNumber, and corelinux::UnsignedShortInteger.

NumberRef corelinux::Number::operator= ( NumberCref )
 

Assignment operator.

Parameters:
Number   const reference @returnm Number reference to (*this)

bool corelinux::Number::operator== ( NumberCref aNumber ) const
 

Equality operator.

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

corelinux::Number::void ( NumberPtr aPointer ) [static]
 

1 a point of Number


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