FEDEM Solver
R8.0
Source code of the dynamics solver
|
#include <FFrEntryBase.H>
Public Member Functions | |
FFrEntryBase () | |
Default constructor. More... | |
FFrEntryBase (const FFrEntryBase &obj) | |
Copy constructor. More... | |
FFrEntryBase & | operator= (const FFrEntryBase &)=delete |
Disable default assignment operator. More... | |
virtual | ~FFrEntryBase () |
Empty destructor. More... | |
FFaResultDescription | getEntryDescription () const |
Returns the full path of this result entry. More... | |
virtual const std::string & | getDescription () const =0 |
virtual bool | hasDescription () const |
virtual const std::string & | getType () const =0 |
virtual int | getBaseID () const |
Returns baseID for objects that have a baseID. Returns 0 for other types. More... | |
virtual bool | hasBaseID () const |
virtual int | getUserID () const |
Returns userID for objects that have a userID (OG and some IGs). More... | |
virtual bool | hasUserID () const |
virtual const std::vector< FFrEntryBase * > * | getDataFields () const |
Returns a pointer to the data fields if they are set, returns 0 if not. More... | |
virtual bool | hasDataFields () const |
template<class T > | |
int | readPositionedTimestepData (const T *values, int nvals) const |
Reads all variable reference data in the hierarhcy under this entry. More... | |
virtual void | printPosition (std::ostream &os) const =0 |
Prints out the positioning data of this entry. More... | |
FFrEntryBase * | getOwner () const |
Returns the owner of this entry in the hierarchy. More... | |
void | setOwner (FFrEntryBase *owner) |
Defines the owner of this entry in the hierarchy. More... | |
virtual void | setGlobal () |
Defines this as a global-scope entry (as opposed to container-scope). More... | |
bool | isGlobal () const |
Check if this entry is in global scope. More... | |
virtual bool | isOG () const |
virtual bool | isSOG () const |
virtual bool | isIG () const |
virtual bool | isVarRef () const |
virtual bool | isEmpty () const =0 |
Returns true if this entry and all below it are empty. More... | |
virtual bool | isVariableFloat () const =0 |
Returns true if the first variable referred is a float. More... | |
virtual void | removeContainers (const std::set< FFrResultContainer * > &cont)=0 |
virtual int | traverse (FFrResultContainer *, FFrEntryBase *, FFrEntryBase *&, int binPos) |
Traverses to build owner hierarchy and calculate binary sizes. More... | |
virtual bool | merge (FFrEntryBase *objToMergeFrom)=0 |
virtual bool | compare (const FFrEntryBase *) const |
virtual bool | equal (const FFrEntryBase *obj) const =0 |
virtual bool | less (const FFrEntryBase *obj) const =0 |
virtual int | recursiveReadPosData (const double *vals, int nvals, int arrayPos) const =0 |
virtual int | recursiveReadPosData (const float *vals, int nvals, int arrayPos) const =0 |
virtual int | recursiveReadPosData (const int *vals, int nvals, int arrayPos) const =0 |
Private Attributes | |
FFrEntryBase * | myOwner |
Parent of this entry in the RDB hierchy. More... | |
bool | myGlobal |
Global (extractor-level) or local (container level) More... | |
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inlinevirtual |
Empty destructor.
|
inlinevirtual |
Reimplemented in FFrVariableReference, and FFrItemGroup.
|
pure virtual |
Implemented in FFrVariableReference, FFrItemGroup, and FFrFieldEntryBase.
|
inlinevirtual |
Returns baseID for objects that have a baseID. Returns 0 for other types.
Reimplemented in FFrObjectGroup.
|
inlinevirtual |
Returns a pointer to the data fields if they are set, returns 0 if not.
Reimplemented in FFrFieldEntryBase.
|
pure virtual |
Returns the description of the object, e.g., "Triad 12" for a triad. For variable references, it returns the variable name.
Implemented in FFrVariableReference, FFrSuperObjectGroup, FFrObjectGroup, and FFrItemGroup.
FFaResultDescription FFrEntryBase::getEntryDescription | ( | ) | const |
Returns the full path of this result entry.
|
inline |
Returns the owner of this entry in the hierarchy.
|
pure virtual |
Returns the referred object type (e.g., "Triad" for an object group representing triad data. For variable references, it returns the data type of the variable, e.g., SCALAR.
Implemented in FFrVariableReference, FFrSuperObjectGroup, FFrObjectGroup, and FFrItemGroup.
|
inlinevirtual |
Returns userID for objects that have a userID (OG and some IGs).
Reimplemented in FFrObjectGroup, and FFrItemGroup.
|
inlinevirtual |
Reimplemented in FFrObjectGroup.
|
inlinevirtual |
Reimplemented in FFrFieldEntryBase.
|
inlinevirtual |
Reimplemented in FFrObjectGroup, and FFrItemGroup.
|
inlinevirtual |
Reimplemented in FFrObjectGroup, and FFrItemGroup.
|
pure virtual |
Returns true if this entry and all below it are empty.
Implemented in FFrVariableReference, and FFrFieldEntryBase.
|
inline |
Check if this entry is in global scope.
|
inlinevirtual |
Reimplemented in FFrItemGroup.
|
inlinevirtual |
Reimplemented in FFrObjectGroup.
|
inlinevirtual |
Reimplemented in FFrSuperObjectGroup.
|
pure virtual |
Returns true if the first variable referred is a float.
Implemented in FFrVariableReference, and FFrFieldEntryBase.
|
inlinevirtual |
Reimplemented in FFrVariableReference.
|
pure virtual |
Implemented in FFrVariableReference, FFrItemGroup, and FFrFieldEntryBase.
|
pure virtual |
Implemented in FFrFieldEntryBase, and FFrVariableReference.
|
delete |
Disable default assignment operator.
|
pure virtual |
Prints out the positioning data of this entry.
Implemented in FFrVariableReference, and FFrFieldEntryBase.
|
inline |
Reads all variable reference data in the hierarhcy under this entry.
|
pure virtual |
Implemented in FFrVariableReference, and FFrFieldEntryBase.
|
pure virtual |
Implemented in FFrVariableReference, and FFrFieldEntryBase.
|
pure virtual |
Implemented in FFrVariableReference, and FFrFieldEntryBase.
|
pure virtual |
Implemented in FFrVariableReference, and FFrFieldEntryBase.
|
inlinevirtual |
Defines this as a global-scope entry (as opposed to container-scope).
Reimplemented in FFrItemGroup.
|
inline |
Defines the owner of this entry in the hierarchy.
|
inlinevirtual |
Traverses to build owner hierarchy and calculate binary sizes.
Reimplemented in FFrVariableReference, FFrObjectGroup, and FFrItemGroup.
|
private |
Global (extractor-level) or local (container level)
|
private |
Parent of this entry in the RDB hierchy.