cee::app::Results
-
class Results : public RefCountedObject
Class to access results of the current state of an application.
Public Functions
-
size_t count() const
Returns total number of results.
-
size_t scalarCount() const
Returns number of scalar results.
-
size_t vectorCount() const
Returns number of vector results.
-
size_t displacementCount() const
Returns number of displacement results.
-
size_t tensorCount() const
Returns number of tensor results.
-
size_t indexOf(cee::ug::ResultInfo info) const
Returns the index of the result specified by info.
-
size_t scalarIndexOf(cee::ug::ResultInfo info) const
Returns the index of the scalar result specified by info.
-
size_t vectorIndexOf(cee::ug::ResultInfo info) const
Returns the index of the vecor result specified by info.
-
size_t displacementIndexOf(cee::ug::ResultInfo info) const
Returns the index of the displacement result specified by info.
-
size_t tensorIndexOf(cee::ug::ResultInfo info) const
Returns the index of the tensor result specified by info.
-
cee::ug::ResultInfo resultInfo(size_t index) const
Returns the result info at index index.
-
cee::ug::ResultInfo resultInfo(const Str &wildcard) const
Returns the result info matching the search string wildcard.
Return an invalid result info (id == -1) if none found
-
cee::ug::ResultInfo scalarInfo(size_t index) const
Returns the result info at scalar index index.
-
cee::ug::ResultInfo scalarInfo(const Str &wildcard) const
Returns the scalar result info matching the search string wildcard.
Return an invalid result info (id == -1) if none found
-
cee::ug::ResultInfo vectorInfo(size_t index) const
Returns the result info at vector index index.
-
cee::ug::ResultInfo vectorInfo(const Str &wildcard) const
Returns the vector result info matching the search string wildcard.
Return an invalid result info (id == -1) if none found
-
cee::ug::ResultInfo displacementInfo(size_t index) const
Returns the result info at displacement index index.
-
cee::ug::ResultInfo displacementInfo(const Str &wildcard) const
Returns the displacement result info matching the search string wildcard.
Return an invalid result info (id == -1) if none found
-
cee::ug::ResultInfo tensorInfo(size_t index) const
Returns the result info at tensor index index.
-
cee::ug::ResultInfo tensorInfo(const Str &wildcard) const
Returns the tensor result info matching the search string wildcard.
Return an invalid result info (id == -1) if none found
-
cee::ug::DataPartScalar *currentDataPartScalar(cee::ug::ResultInfo scalar)
Returns the current DataPartScalar for the specified result info.
-
cee::ug::DataPartVector *currentDataPartVector(cee::ug::ResultInfo vector)
Returns the current DataPartVector for the specified result info.
-
cee::ug::DataPartSymmetricTensor *currentDataPartTensor(cee::ug::ResultInfo tensor)
Returns the current DataPartSymmetricTensor for the specified result info.
-
cee::ug::DataPartDisplacement *currentDataPartDisplacement(cee::ug::ResultInfo displacement)
Returns the current DataPartDisplacement for the specified result info.
-
cee::ug::DataPartScalar *currentDataPartScalar(const Str &wildcard)
Returns the DataPartScalar matching the search string wildcard.
Return NULL if none found
-
cee::ug::DataPartVector *currentDataPartVector(const Str &wildcard)
Returns the DataPartVector matching the search string wildcard.
Return NULL if none found
-
cee::ug::DataPartSymmetricTensor *currentDataPartTensor(const Str &wildcard)
Returns the DataPartSymmetricTensor matching the search string wildcard.
Return NULL if none found
-
cee::ug::DataPartDisplacement *currentDataPartDisplacement(const Str &wildcard)
Returns the DataPartDisplacement matching the search string wildcard.
Return NULL if none found
-
cee::ug::DataResultScalar *currentDataResultScalar(cee::ug::ResultInfo scalar)
Returns the current DataResultScalar for the specified result info.
-
cee::ug::DataResultVector *currentDataResultVector(cee::ug::ResultInfo vector)
Returns the current DataResultVector for the specified result info.
-
cee::ug::DataResultSymmetricTensor *currentDataResultTensor(cee::ug::ResultInfo tensor)
Returns the current DataResultSymmetricTensor for the specified result info.
-
cee::ug::DataResultDisplacement *currentDataResultDisplacement(cee::ug::ResultInfo displacement)
Returns the current DataResultDisplacement for the specified result info.
-
cee::ug::DataResultScalar *currentDataResultScalar(const Str &wildcard)
Returns the DataResultScalar matching the search string wildcard.
Return NULL if none found
-
cee::ug::DataResultVector *currentDataResultVector(const Str &wildcard)
Returns the DataResultVector matching the search string wildcard.
Return NULL if none found
-
cee::ug::DataResultSymmetricTensor *currentDataResultTensor(const Str &wildcard)
Returns the DataResultSymmetricTensor matching the search string wildcard.
Return NULL if none found
-
cee::ug::DataResultDisplacement *currentDataResultDisplacement(const Str &wildcard)
Returns the DataResultDisplacement matching the search string wildcard.
Return NULL if none found
-
void add(cee::ug::ResultInfo result)
Adds the given result info.
-
void add(cee::ug::ResultInfo result, const Str &name)
Adds the given result info.
-
void remove(cee::ug::ResultInfo result)
Removes the specified result info.
-
void removeAll()
Removes all results.
Public Static Functions
-
static Results *instance()
Results is a singleton. Always access Results using this instance()
-
size_t count() const