linbox
|
Abstract element base class, a technicality. More...
#include <abstract.h>
Public Member Functions | |
virtual ElementAbstract * | clone (void) const =0 |
Virtual copy constructor. More... | |
virtual ElementAbstract & | operator= (const ElementAbstract &x)=0 |
Assignment operator. More... | |
virtual | ~ElementAbstract (void) |
Destructor. | |
Protected Member Functions | |
ElementAbstract (void) | |
Default Constructor. More... | |
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.
|
inlineprotected |
Default Constructor.
Required by derived classes, but protected because this class should never be constructed by itself.
|
pure virtual |
Virtual copy constructor.
Required because constructors cannot be virtual. Passes construction on to derived classes. Purely virtual.
Implemented in ElementEnvelope< Field >, and ElementEnvelope< Ring >.
|
pure virtual |
Assignment operator.
Purely virtual.
x | constant reference to ElementAbstract object |
Implemented in ElementEnvelope< Field >, and ElementEnvelope< Ring >.