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

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>

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

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

Private Member Functions

 CharToReferenceTypeReductionOp ()
 
 CharToReferenceTypeReductionOp (const CharToReferenceTypeReductionOp &)
 
CharToReferenceTypeReductionOpoperator= (const CharToReferenceTypeReductionOp &)
 

Private Attributes

RCP< const Serializer< Ordinal, T > > serializer_
 
RCP< const ReferenceTypeReductionOp< Ordinal, T > > reductOp_
 

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>
class Teuchos::CharToReferenceTypeReductionOp< Ordinal, T >

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.

Constructor & Destructor Documentation

◆ CharToReferenceTypeReductionOp() [1/3]

template<typename Ordinal , typename T >
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.

◆ CharToReferenceTypeReductionOp() [2/3]

template<typename Ordinal , typename T >
Teuchos::CharToReferenceTypeReductionOp< Ordinal, T >::CharToReferenceTypeReductionOp ( )
private

◆ CharToReferenceTypeReductionOp() [3/3]

template<typename Ordinal , typename T >
Teuchos::CharToReferenceTypeReductionOp< Ordinal, T >::CharToReferenceTypeReductionOp ( const CharToReferenceTypeReductionOp< Ordinal, T > & )
private

Member Function Documentation

◆ reduce()

template<typename Ordinal , typename T >
void Teuchos::CharToReferenceTypeReductionOp< Ordinal, T >::reduce ( const Ordinal charCount,
const char charInBuffer[],
char charInoutBuffer[] ) const
virtual

◆ operator=()

template<typename Ordinal , typename T >
CharToReferenceTypeReductionOp & Teuchos::CharToReferenceTypeReductionOp< Ordinal, T >::operator= ( const CharToReferenceTypeReductionOp< Ordinal, T > & )
private

Member Data Documentation

◆ serializer_

template<typename Ordinal , typename T >
RCP<const Serializer<Ordinal,T> > Teuchos::CharToReferenceTypeReductionOp< Ordinal, T >::serializer_
private

Definition at line 147 of file Teuchos_ReductionOpHelpers.hpp.

◆ reductOp_

template<typename Ordinal , typename T >
RCP<const ReferenceTypeReductionOp<Ordinal,T> > Teuchos::CharToReferenceTypeReductionOp< Ordinal, T >::reductOp_
private

Definition at line 148 of file Teuchos_ReductionOpHelpers.hpp.


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