A ReporterName that represents a VectorPostprocessor. More...
#include <ReporterName.h>
Public Member Functions | |
| VectorPostprocessorReporterName (const VectorPostprocessorName &name, const std::string &vector_name) | |
| const std::string & | getObjectName () const |
| Return the object name that produces the Reporter value. | |
| const std::string & | getValueName () const |
| Return the data name for the Reporter value. | |
| const std::string | getCombinedName () const |
| Return the name of the object and data as object_name/data_name. | |
| std::string | getRestartableName () const |
| Return the name used for registration of this Reporter in the restartable data system. | |
| operator std::string () const | |
| std::string operator allows this object to behave as a std::sting object | |
| bool | operator== (const ReporterName &rhs) const |
| Compare with another object or string. | |
| bool | operator== (const std::string &combined_name) const |
| bool | operator< (const ReporterName &rhs) const |
| Less than operator. | |
| std::string | specialTypeToName () const |
| Converts the special type to a usable name for error reporting. | |
| bool | isPostprocessor () const |
| bool | isVectorPostprocessor () const |
| void | setIsPostprocessor () |
| Sets the special type to a Postprocessor. | |
| void | setIsVectorPostprocessor () |
| Sets the special type to a VectorPostprocessor. | |
| bool | empty () const |
| Whether or not the ReporterName is empty, similar to std::string::empty() | |
Static Public Member Functions | |
| static bool | isValidName (const std::string &object_and_value_name) |
| Determines if the inputted string is convertible to a ReporterName. | |
Static Public Attributes | |
| static const std::string | REPORTER_RESTARTABLE_DATA_PREFIX = "ReporterData" |
| The prefix for reporter data in the restartable system. | |
Private Types | |
| enum class | SpecialType { ANY = 0 , POSTPROCESSOR = 1 , VECTORPOSTPROCESSOR = 2 } |
| Enum for storing a "special" type for this Reporter. More... | |
Private Attributes | |
| ReporterName::SpecialType | _special_type = ReporterName::SpecialType::ANY |
| The "special" type for this Reporter, used for identifying Postprocesors and VectorPostprocessors. | |
| std::string | _object_name |
| The object name. | |
| std::string | _value_name |
| The value name. | |
A ReporterName that represents a VectorPostprocessor.
Definition at line 152 of file ReporterName.h.
|
strongprivateinherited |
Enum for storing a "special" type for this Reporter.
This is used to designate Reporters that represent Postprocessors and VectorPostprocessors in output and error handling.
| Enumerator | |
|---|---|
| ANY | |
| POSTPROCESSOR | |
| VECTORPOSTPROCESSOR | |
Definition at line 124 of file ReporterName.h.
| VectorPostprocessorReporterName::VectorPostprocessorReporterName | ( | const VectorPostprocessorName & | name, |
| const std::string & | vector_name | ||
| ) |
Definition at line 111 of file ReporterName.C.
|
inlineinherited |
Whether or not the ReporterName is empty, similar to std::string::empty()
Definition at line 116 of file ReporterName.h.
|
inherited |
Return the name of the object and data as object_name/data_name.
Definition at line 53 of file ReporterName.C.
Referenced by ReporterData::getAllRealReporterFullNames(), ReporterData::getAllRealReporterValues(), ReporterName::getRestartableName(), ReporterTransferInterface::hideVariableHelper(), ReporterName::operator<(), operator<<(), and ReporterName::operator==().
|
inherited |
Return the object name that produces the Reporter value.
Definition at line 41 of file ReporterName.C.
Referenced by UserObjectBase::addReporterDependencyHelper(), AccumulateReporter::declareAccumulateHelper(), ReporterTransferInterface::hideVariableHelper(), Exodus::outputReporters(), and TableOutput::outputReporters().
|
inherited |
Return the name used for registration of this Reporter in the restartable data system.
Definition at line 59 of file ReporterName.C.
|
inherited |
Return the data name for the Reporter value.
Definition at line 47 of file ReporterName.C.
Referenced by AccumulateReporter::declareAccumulateHelper(), ReporterData::getReporterStateHelper(), and Exodus::outputReporters().
|
inlineinherited |
Definition at line 94 of file ReporterName.h.
Referenced by ReporterData::declareReporterValue(), ReporterData::getReporterStateHelper(), and ReporterName::specialTypeToName().
|
staticinherited |
Determines if the inputted string is convertible to a ReporterName.
| object_and_value_name | The string to determine convertibility |
Definition at line 35 of file ReporterName.C.
Referenced by WebServerControl::addServerActionsInternal().
|
inlineinherited |
Definition at line 98 of file ReporterName.h.
Referenced by ReporterData::declareReporterValue(), ReporterData::getReporterStateHelper(), and ReporterName::specialTypeToName().
|
inherited |
std::string operator allows this object to behave as a std::sting object
Definition at line 64 of file ReporterName.C.
|
inherited |
Less than operator.
Definition at line 80 of file ReporterName.C.
|
inherited |
Compare with another object or string.
Definition at line 67 of file ReporterName.C.
|
inherited |
Definition at line 75 of file ReporterName.C.
|
inlineinherited |
Sets the special type to a Postprocessor.
See ReporterData::declareReporterValue.
Definition at line 105 of file ReporterName.h.
Referenced by PostprocessorReporterName::PostprocessorReporterName(), and ReporterStateBase::setIsPostprocessor().
|
inlineinherited |
Sets the special type to a VectorPostprocessor.
See ReporterData::declareReporterValue.
Definition at line 111 of file ReporterName.h.
Referenced by ReporterStateBase::setIsVectorPostprocessor(), and VectorPostprocessorReporterName().
|
inherited |
Converts the special type to a usable name for error reporting.
Definition at line 89 of file ReporterName.C.
Referenced by ReporterData::getReporterStateHelper().
|
privateinherited |
The object name.
Definition at line 135 of file ReporterName.h.
Referenced by ReporterName::empty(), ReporterName::getCombinedName(), ReporterName::getObjectName(), ReporterName::operator==(), and ReporterName::ReporterName().
|
privateinherited |
The "special" type for this Reporter, used for identifying Postprocesors and VectorPostprocessors.
Definition at line 132 of file ReporterName.h.
Referenced by ReporterName::isPostprocessor(), ReporterName::isVectorPostprocessor(), ReporterName::setIsPostprocessor(), and ReporterName::setIsVectorPostprocessor().
|
privateinherited |
The value name.
Definition at line 137 of file ReporterName.h.
Referenced by ReporterName::empty(), ReporterName::getCombinedName(), ReporterName::getValueName(), ReporterName::operator==(), and ReporterName::ReporterName().
|
staticinherited |
The prefix for reporter data in the restartable system.
Definition at line 63 of file ReporterName.h.
Referenced by RestartableDataReporter::execute(), and ReporterName::getRestartableName().