Inheritence diagram for xlifepp::Term:
Collaboration diagram for xlifepp::Term:
abstract base class of TermVector and TermMatrix, that are the numerical representations of linear and bilinear forms on spaces.
Subclassed by xlifepp::SuTermMatrix, xlifepp::SuTermVector, xlifepp::TermMatrix, xlifepp::TermVector
Public Functions
-
virtual ~Term()
-
virtual destructor (do nothing)
-
virtual void clear() = 0
-
deallocate memory used by a Term
-
virtual void compute() = 0
-
compute the Term
-
inline bool &computed()
-
returns computation state (non const)
-
inline bool computed() const
-
returns computation state (const)
-
inline ComputingInfo &computingInfo()
-
returns computingInfo (const)
-
inline ComputingInfo computingInfo() const
-
returns computingInfo (const)
-
inline const string_t &name() const
-
return the Term name (const)
-
string_t primaryName() const
-
name without trailing @
-
virtual void print(std::ostream&) const = 0
-
print the Term
-
inline TermType &termType()
-
child term type
-
inline TermType termType() const
-
child term type
-
virtual std::set<const Space*> unknownSpaces() const = 0
-
list of involved unknown spaces
Public Members
-
Parameters params
-
a free zone to store additional data (magic zone)
Public Static Functions
-
static void clearGlobalVector()
-
delete all term objects
-
static void printAllTerms(std::ostream&)
-
print the list of terms in memory
Public Static Attributes
-
static std::vector<Term*> theTerms
-
list of existing Term objects
list of pointers of all terms
Friends
-
friend std::ostream &operator<<(std::ostream&, const Term&)
-
print operator