Class to access results of the current state of an application. More...
Public Member Functions | |
size_t | count () const |
Returns total number of results. More... | |
size_t | scalarCount () const |
Returns number of scalar results. More... | |
size_t | vectorCount () const |
Returns number of vector results. More... | |
size_t | displacementCount () const |
Returns number of displacement results. More... | |
size_t | tensorCount () const |
Returns number of tensor results. More... | |
size_t | indexOf (cee::ug::ResultInfo info) const |
Returns the index of the result specified by info. More... | |
size_t | scalarIndexOf (cee::ug::ResultInfo info) const |
Returns the index of the scalar result specified by info. More... | |
size_t | vectorIndexOf (cee::ug::ResultInfo info) const |
Returns the index of the vecor result specified by info. More... | |
size_t | displacementIndexOf (cee::ug::ResultInfo info) const |
Returns the index of the displacement result specified by info. More... | |
size_t | tensorIndexOf (cee::ug::ResultInfo info) const |
Returns the index of the tensor result specified by info. More... | |
cee::ug::ResultInfo | resultInfo (size_t index) const |
Returns the result info at index index. More... | |
cee::ug::ResultInfo | resultInfo (const Str &wildcard) const |
Returns the result info matching the search string wildcard. More... | |
cee::ug::ResultInfo | scalarInfo (size_t index) const |
Returns the result info at scalar index index. More... | |
cee::ug::ResultInfo | scalarInfo (const Str &wildcard) const |
Returns the scalar result info matching the search string wildcard. More... | |
cee::ug::ResultInfo | vectorInfo (size_t index) const |
Returns the result info at vector index index. More... | |
cee::ug::ResultInfo | vectorInfo (const Str &wildcard) const |
Returns the vector result info matching the search string wildcard. More... | |
cee::ug::ResultInfo | displacementInfo (size_t index) const |
Returns the result info at displacement index index. More... | |
cee::ug::ResultInfo | displacementInfo (const Str &wildcard) const |
Returns the displacement result info matching the search string wildcard. More... | |
cee::ug::ResultInfo | tensorInfo (size_t index) const |
Returns the result info at tensor index index. More... | |
cee::ug::ResultInfo | tensorInfo (const Str &wildcard) const |
Returns the tensor result info matching the search string wildcard. More... | |
cee::ug::DataPartScalar * | currentDataPartScalar (cee::ug::ResultInfo scalar) |
Returns the current DataPartScalar for the specified result info. More... | |
cee::ug::DataPartVector * | currentDataPartVector (cee::ug::ResultInfo vector) |
Returns the current DataPartVector for the specified result info. More... | |
cee::ug::DataPartSymmetricTensor * | currentDataPartTensor (cee::ug::ResultInfo tensor) |
Returns the current DataPartSymmetricTensor for the specified result info. More... | |
cee::ug::DataPartDisplacement * | currentDataPartDisplacement (cee::ug::ResultInfo displacement) |
Returns the current DataPartDisplacement for the specified result info. More... | |
cee::ug::DataPartScalar * | currentDataPartScalar (const Str &wildcard) |
Returns the DataPartScalar matching the search string wildcard. More... | |
cee::ug::DataPartVector * | currentDataPartVector (const Str &wildcard) |
Returns the DataPartVector matching the search string wildcard. More... | |
cee::ug::DataPartSymmetricTensor * | currentDataPartTensor (const Str &wildcard) |
Returns the DataPartSymmetricTensor matching the search string wildcard. More... | |
cee::ug::DataPartDisplacement * | currentDataPartDisplacement (const Str &wildcard) |
Returns the DataPartDisplacement matching the search string wildcard. More... | |
cee::ug::DataResultScalar * | currentDataResultScalar (cee::ug::ResultInfo scalar) |
Returns the current DataResultScalar for the specified result info. More... | |
cee::ug::DataResultVector * | currentDataResultVector (cee::ug::ResultInfo vector) |
Returns the current DataResultVector for the specified result info. More... | |
cee::ug::DataResultSymmetricTensor * | currentDataResultTensor (cee::ug::ResultInfo tensor) |
Returns the current DataResultSymmetricTensor for the specified result info. More... | |
cee::ug::DataResultDisplacement * | currentDataResultDisplacement (cee::ug::ResultInfo displacement) |
Returns the current DataResultDisplacement for the specified result info. More... | |
cee::ug::DataResultScalar * | currentDataResultScalar (const Str &wildcard) |
Returns the DataResultScalar matching the search string wildcard. More... | |
cee::ug::DataResultVector * | currentDataResultVector (const Str &wildcard) |
Returns the DataResultVector matching the search string wildcard. More... | |
cee::ug::DataResultSymmetricTensor * | currentDataResultTensor (const Str &wildcard) |
Returns the DataResultSymmetricTensor matching the search string wildcard. More... | |
cee::ug::DataResultDisplacement * | currentDataResultDisplacement (const Str &wildcard) |
Returns the DataResultDisplacement matching the search string wildcard. More... | |
void | add (cee::ug::ResultInfo result) |
Adds the given result info. More... | |
void | add (cee::ug::ResultInfo result, const Str &name) |
Adds the given result info. More... | |
void | remove (cee::ug::ResultInfo result) |
Removes the specified result info. More... | |
void | removeAll () |
Removes all results. More... | |
![]() | |
void | addRef () const |
Increments the reference count for this object. More... | |
void | release () const |
Decrements the reference count for this object. More... | |
int | refCount () const |
Returns the reference count for this object. More... | |
void | setRefCountZero () const |
Sets the ref count to zero, but DOES NOT delete the object. More... | |
Static Public Member Functions | |
static Results * | instance () |
Results is a singleton. Always access Results using this instance() More... | |
Class to access results of the current state of an application.
void cee::app::Results::add | ( | cee::ug::ResultInfo | result | ) |
Adds the given result info.
void cee::app::Results::add | ( | cee::ug::ResultInfo | result, |
const Str & | name | ||
) |
Adds the given result info.
size_t cee::app::Results::count | ( | ) | const |
Returns total number of results.
cee::ug::DataPartDisplacement * cee::app::Results::currentDataPartDisplacement | ( | cee::ug::ResultInfo | displacement | ) |
Returns the current DataPartDisplacement for the specified result info.
cee::ug::DataPartDisplacement * cee::app::Results::currentDataPartDisplacement | ( | const Str & | wildcard | ) |
Returns the DataPartDisplacement matching the search string wildcard.
Return NULL if none found
cee::ug::DataPartScalar * cee::app::Results::currentDataPartScalar | ( | cee::ug::ResultInfo | scalar | ) |
Returns the current DataPartScalar for the specified result info.
cee::ug::DataPartScalar * cee::app::Results::currentDataPartScalar | ( | const Str & | wildcard | ) |
Returns the DataPartScalar matching the search string wildcard.
Return NULL if none found
cee::ug::DataPartSymmetricTensor * cee::app::Results::currentDataPartTensor | ( | cee::ug::ResultInfo | tensor | ) |
Returns the current DataPartSymmetricTensor for the specified result info.
cee::ug::DataPartSymmetricTensor * cee::app::Results::currentDataPartTensor | ( | const Str & | wildcard | ) |
Returns the DataPartSymmetricTensor matching the search string wildcard.
Return NULL if none found
cee::ug::DataPartVector * cee::app::Results::currentDataPartVector | ( | cee::ug::ResultInfo | vector | ) |
Returns the current DataPartVector for the specified result info.
cee::ug::DataPartVector * cee::app::Results::currentDataPartVector | ( | const Str & | wildcard | ) |
Returns the DataPartVector matching the search string wildcard.
Return NULL if none found
cee::ug::DataResultDisplacement * cee::app::Results::currentDataResultDisplacement | ( | cee::ug::ResultInfo | displacement | ) |
Returns the current DataResultDisplacement for the specified result info.
cee::ug::DataResultDisplacement * cee::app::Results::currentDataResultDisplacement | ( | const Str & | wildcard | ) |
Returns the DataResultDisplacement matching the search string wildcard.
Return NULL if none found
cee::ug::DataResultScalar * cee::app::Results::currentDataResultScalar | ( | cee::ug::ResultInfo | scalar | ) |
Returns the current DataResultScalar for the specified result info.
cee::ug::DataResultScalar * cee::app::Results::currentDataResultScalar | ( | const Str & | wildcard | ) |
Returns the DataResultScalar matching the search string wildcard.
Return NULL if none found
cee::ug::DataResultSymmetricTensor * cee::app::Results::currentDataResultTensor | ( | cee::ug::ResultInfo | tensor | ) |
Returns the current DataResultSymmetricTensor for the specified result info.
cee::ug::DataResultSymmetricTensor * cee::app::Results::currentDataResultTensor | ( | const Str & | wildcard | ) |
Returns the DataResultSymmetricTensor matching the search string wildcard.
Return NULL if none found
cee::ug::DataResultVector * cee::app::Results::currentDataResultVector | ( | cee::ug::ResultInfo | vector | ) |
Returns the current DataResultVector for the specified result info.
cee::ug::DataResultVector * cee::app::Results::currentDataResultVector | ( | const Str & | wildcard | ) |
Returns the DataResultVector matching the search string wildcard.
Return NULL if none found
size_t cee::app::Results::displacementCount | ( | ) | const |
Returns number of displacement results.
size_t cee::app::Results::displacementIndexOf | ( | cee::ug::ResultInfo | info | ) | const |
Returns the index of the displacement result specified by info.
cee::ug::ResultInfo cee::app::Results::displacementInfo | ( | size_t | index | ) | const |
Returns the result info at displacement index index.
cee::ug::ResultInfo cee::app::Results::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
size_t cee::app::Results::indexOf | ( | cee::ug::ResultInfo | info | ) | const |
Returns the index of the result specified by info.
|
static |
Results is a singleton. Always access Results using this instance()
void cee::app::Results::remove | ( | cee::ug::ResultInfo | result | ) |
Removes the specified result info.
void cee::app::Results::removeAll | ( | ) |
Removes all results.
cee::ug::ResultInfo cee::app::Results::resultInfo | ( | size_t | index | ) | const |
Returns the result info at index index.
cee::ug::ResultInfo cee::app::Results::resultInfo | ( | const Str & | wildcard | ) | const |
Returns the result info matching the search string wildcard.
Return an invalid result info (id == -1) if none found
size_t cee::app::Results::scalarCount | ( | ) | const |
Returns number of scalar results.
size_t cee::app::Results::scalarIndexOf | ( | cee::ug::ResultInfo | info | ) | const |
Returns the index of the scalar result specified by info.
cee::ug::ResultInfo cee::app::Results::scalarInfo | ( | size_t | index | ) | const |
Returns the result info at scalar index index.
cee::ug::ResultInfo cee::app::Results::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
size_t cee::app::Results::tensorCount | ( | ) | const |
Returns number of tensor results.
size_t cee::app::Results::tensorIndexOf | ( | cee::ug::ResultInfo | info | ) | const |
Returns the index of the tensor result specified by info.
cee::ug::ResultInfo cee::app::Results::tensorInfo | ( | size_t | index | ) | const |
Returns the result info at tensor index index.
cee::ug::ResultInfo cee::app::Results::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
size_t cee::app::Results::vectorCount | ( | ) | const |
Returns number of vector results.
size_t cee::app::Results::vectorIndexOf | ( | cee::ug::ResultInfo | info | ) | const |
Returns the index of the vecor result specified by info.
cee::ug::ResultInfo cee::app::Results::vectorInfo | ( | size_t | index | ) | const |
Returns the result info at vector index index.
cee::ug::ResultInfo cee::app::Results::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