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

corelinux::ShortInteger Class Reference

#include <ShortInteger.hpp>

Inheritance diagram for corelinux::ShortInteger:

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

 ShortInteger ( ShortIntegerCref )
 Constructor with value. More...

 ShortInteger ( ShortCref )
 Constructor with value. More...

virtual ~ShortInteger ( void )
 Virtual destructor.

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

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

ShortIntegerRef operator= ( ShortIntegerCref )
 Value assignment operator. More...

ShortIntegerRef operator= ( ShortCref )
 Value assignment operator. More...

Data members for Meta access
 DECLARE_INSTANCEDATA_FROMBASE (Short,Value,Int,Integer)

Static Public Methods

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

 ShortIntegerPtr ( void )
 1 a new instance of ShortInteger. More...

 void ( ShortIntegerPtr aPointer )
 1 a point of ShortInteger


Detailed Description

Represents the subset of Numbers that are whole


Constructor & Destructor Documentation

corelinux::ShortInteger::ShortInteger ( void )
 

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

corelinux::ShortInteger::ShortInteger ( ShortIntegerCref )
 

Constructor with value.

Parameters:
ShortInteger   const reference

corelinux::ShortInteger::ShortInteger ( ShortCref )
 

Constructor with value.

Parameters:
Short   const reference to short integer

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

Virtual destructor.


Member Function Documentation

corelinux::ShortInteger::DECLARE_INSTANCEDATA_FROMBASE ( Short,
Value,
Int,
Integer )
 

corelinux::ShortInteger::ShortIntegerPtr ( void ) [static]
 

1 a new instance of ShortInteger.

Returns:
a pointer to ShortInteger

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

get the type.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Integer.

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

get the type descriptor.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Integer.

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

redefine the operator delete[]

  • aVoidPtr the pointer to delete.

Reimplemented from corelinux::Integer.

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

redefine the operator new[]

  • aSize.

Returns:
a VoidPtr

Reimplemented from corelinux::Integer.

ShortIntegerRef corelinux::ShortInteger::operator= ( ShortCref )
 

Value assignment operator.

Parameters:
Short   const reference
Returns:
ShortInteger reference to ( *this )

Reimplemented from corelinux::SignedNumber.

ShortIntegerRef corelinux::ShortInteger::operator= ( ShortIntegerCref )
 

Value assignment operator.

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

Reimplemented from corelinux::SignedNumber.

bool corelinux::ShortInteger::operator== ( ShortCref ) const
 

Value equality operator.

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

bool corelinux::ShortInteger::operator== ( ShortIntegerCref ) const
 

Value equality operator.

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

corelinux::ShortInteger::void ( ShortIntegerPtr aPointer ) [static]
 

1 a point of ShortInteger


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