Teuchos - Trilinos Tools Package
Version of the Day
|
Decorator class that uses a strategy object to convert to and from char[]
to typed buffers for objects that use reference semantics and then call a type-specific reduction object.
More...
#include <Teuchos_ReductionOpHelpers.hpp>
Public Member Functions | |
CharToReferenceTypeReductionOp (const RCP< const Serializer< Ordinal, T > > &serializer, const RCP< const ReferenceTypeReductionOp< Ordinal, T > > &reductOp) | |
void | reduce (const Ordinal charCount, const char charInBuffer[], char charInoutBuffer[]) const |
Public Member Functions inherited from Teuchos::Describable | |
virtual std::string | description () const |
Return a simple one-line description of this object. More... | |
virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Print the object with some verbosity level to a FancyOStream. More... | |
void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Version of describe() that takes an std::ostream instead of a FancyOStream. More... | |
virtual | ~Describable () |
Destructor (marked virtual for memory safety of derived classes). More... | |
Public Member Functions inherited from Teuchos::LabeledObject | |
LabeledObject () | |
Construct with an empty label. More... | |
virtual | ~LabeledObject () |
virtual void | setObjectLabel (const std::string &objectLabel) |
Set the object label (see LabeledObject). More... | |
virtual std::string | getObjectLabel () const |
Get the object label (see LabeledObject). More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Teuchos::Describable | |
static const EVerbosityLevel | verbLevel_default = VERB_DEFAULT |
Default value for the verbLevel argument of describe(). More... | |
Related Functions inherited from Teuchos::Describable | |
DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
Describable output stream manipulator. More... | |
std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
Output stream operator for Describable manipulator. More... | |
Decorator class that uses a strategy object to convert to and from char[]
to typed buffers for objects that use reference semantics and then call a type-specific reduction object.
ToDo: Finish Documentation!
Definition at line 132 of file Teuchos_ReductionOpHelpers.hpp.
Teuchos::CharToReferenceTypeReductionOp< Ordinal, T >::CharToReferenceTypeReductionOp | ( | const RCP< const Serializer< Ordinal, T > > & | serializer, |
const RCP< const ReferenceTypeReductionOp< Ordinal, T > > & | reductOp | ||
) |
Definition at line 191 of file Teuchos_ReductionOpHelpers.hpp.
|
virtual |
Implements Teuchos::ValueTypeReductionOp< Ordinal, char >.
Definition at line 199 of file Teuchos_ReductionOpHelpers.hpp.