Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

ElementAbstract Class Reference
[linbox/element]

#include <abstract.h>

Inheritance diagram for ElementAbstract:

ElementEnvelope

Detailed Description

Abstract element base class, a technicality.

The element class of {FieldAbstract}. This element has no knowledge of the field to which it belongs. All operations and functions requiring knolwedge of the field, such as addition and other arithmetic operations, are supplied by the field and not the element class.


Public Member Functions

virtual ElementAbstractclone (void) const =0
virtual ElementAbstractoperator= (const ElementAbstract &x)=0
virtual ~ElementAbstract (void)

Protected Member Functions

 ElementAbstract (void)


Constructor & Destructor Documentation

virtual ~ElementAbstract void   )  [inline, virtual]
 

Destructor.

ElementAbstract void   )  [inline, protected]
 

Default Constructor. Required by derived classes, but protected because this class should never be constructed by itself.


Member Function Documentation

virtual ElementAbstract* clone void   )  const [pure virtual]
 

Virtual copy constructor. Required because constructors cannot be virtual. Passes construction on to derived classes. Purely virtual.

Returns:
pointer to new ElementAbstract object in dynamic memory.

Implemented in ElementEnvelope.

virtual ElementAbstract& operator= const ElementAbstract x  )  [pure virtual]
 

Assignment operator. Purely virtual.

Parameters:
x constant reference to ElementAbstract object
Returns:
reference to self

Implemented in ElementEnvelope.


Generated on Fri Jul 8 10:29:50 2005 for linbox by doxygen 1.3.7