Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Teuchos::CharToValueTypeReductionOp< Ordinal, T, Serializer > Class Template Reference

Decorator class that uses traits to convert to and from char[] to typed buffers for objects that use value semantics and then call a type-specific reduction object. More...

#include <Teuchos_ReductionOpHelpers.hpp>

Inheritance diagram for Teuchos::CharToValueTypeReductionOp< Ordinal, T, Serializer >:
Inheritance graph
[legend]

Public Types

typedef CharToValueTypeReductionOpImp< Ordinal, T, SerializerBase
 

Public Member Functions

 CharToValueTypeReductionOp (const RCP< const ValueTypeReductionOp< Ordinal, T > > &reductOp, const RCP< const Serializer > &serializer)
 
- Public Member Functions inherited from Teuchos::CharToValueTypeReductionOpImp< Ordinal, T, Serializer >
 CharToValueTypeReductionOpImp (const RCP< const ValueTypeReductionOp< Ordinal, T > > &reductOp, const RCP< const Serializer > &serializer)
 
void reduce (const Ordinal charCount, const char charInBuffer[], char charInoutBuffer[]) const
 
virtual void reduce (const Ordinal count, const char inBuffer[], char inoutBuffer[]) const=0
 
- Public Member Functions inherited from Teuchos::Describable
virtual std::string description () const
 Return a simple one-line description of this object.
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 Print the object with some verbosity level to a FancyOStream.
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 Version of describe() that takes an std::ostream instead of a FancyOStream.
 
virtual ~Describable ()
 Destructor (marked virtual for memory safety of derived classes).
 
- Public Member Functions inherited from Teuchos::LabeledObject
 LabeledObject ()
 Construct with an empty label.
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 Set the object label (see LabeledObject).
 
virtual std::string getObjectLabel () const
 Get the object label (see LabeledObject).
 

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().
 

Detailed Description

template<typename Ordinal, typename T, typename Serializer = typename DefaultSerializer<Ordinal,T>::DefaultSerializerType>
class Teuchos::CharToValueTypeReductionOp< Ordinal, T, Serializer >

Decorator class that uses traits to convert to and from char[] to typed buffers for objects that use value semantics and then call a type-specific reduction object.

ToDo: Finish Documentation!

Definition at line 89 of file Teuchos_ReductionOpHelpers.hpp.

Member Typedef Documentation

◆ Base

template<typename Ordinal , typename T , typename Serializer = typename DefaultSerializer<Ordinal,T>::DefaultSerializerType>
typedef CharToValueTypeReductionOpImp<Ordinal,T,Serializer> Teuchos::CharToValueTypeReductionOp< Ordinal, T, Serializer >::Base

Definition at line 93 of file Teuchos_ReductionOpHelpers.hpp.

Constructor & Destructor Documentation

◆ CharToValueTypeReductionOp()

template<typename Ordinal , typename T , typename Serializer = typename DefaultSerializer<Ordinal,T>::DefaultSerializerType>
Teuchos::CharToValueTypeReductionOp< Ordinal, T, Serializer >::CharToValueTypeReductionOp ( const RCP< const ValueTypeReductionOp< Ordinal, T > > &  reductOp,
const RCP< const Serializer > &  serializer 
)
inline

Definition at line 95 of file Teuchos_ReductionOpHelpers.hpp.


The documentation for this class was generated from the following file: