|
linbox
1
|
Adaptor from archetypical interface to abstract interface, a technicality. More...
#include <envelope.h>
Public Member Functions | |
| ElementEnvelope () | |
| ElementEnvelope (const typename Field::Element &elem) | |
| ElementEnvelope (const ElementAbstract &E) | |
| ElementAbstract * | clone (void) const |
| ElementAbstract & | operator= (const ElementAbstract &E) |
| ~ElementEnvelope () | |
Public Member Functions inherited from ElementAbstract | |
| virtual | ~ElementAbstract (void) |
Additional Inherited Members | |
Protected Member Functions inherited from ElementAbstract | |
| ElementAbstract (void) | |
Adaptor from archetypical interface to abstract interface, a technicality.
A class meeting the interface specified in ElementArchetype is adapted to be a child class of ElementAbstract. A concrete instance of ElementArchetype representing the adapted class can then be constructed.
All this is in support of the FieldArchetype system.
|
inline |
Default Constructor.
|
inline |
Constructor from the Field element to be wrapped.
| elem | Field element object to be wrapped. |
|
inline |
Copy constructor. Constructs ElementEnvelope object by copying the element it wraps. This is required to allow element objects to be passed by value into functions. In this implementation, this means copying the element { E._elem}.
| E | FieldEnvelope object. |
|
inline |
Destructor.
|
inlinevirtual |
Virtual copy constructor. Required because constructors cannot be virtual. Passes construction on to derived classes.
Implements ElementAbstract.
|
inlinevirtual |
Assignment operator.
| x | parameterized field base element |
Implements ElementAbstract.
1.8.1