Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Teuchos::CharToValueTypeReductionOpImp< 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::CharToValueTypeReductionOpImp< Ordinal, T, Serializer >:
Inheritance graph
[legend]

Public Member Functions

 CharToValueTypeReductionOpImp (const RCP< const ValueTypeReductionOp< Ordinal, T > > &reductOp, const RCP< const Serializer > &serializer)
 
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...
 

Private Member Functions

 CharToValueTypeReductionOpImp ()
 
 CharToValueTypeReductionOpImp (const CharToValueTypeReductionOpImp &)
 
CharToValueTypeReductionOpImpoperator= (const CharToValueTypeReductionOpImp &)
 

Private Attributes

RCP< const
ValueTypeReductionOp< Ordinal,
T > > 
reductOp_
 
RCP< const Serializerserializer_
 

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

Detailed Description

template<typename Ordinal, typename T, typename Serializer>
class Teuchos::CharToValueTypeReductionOpImp< 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 58 of file Teuchos_ReductionOpHelpers.hpp.

Constructor & Destructor Documentation

template<typename Ordinal, typename T, typename Serializer>
Teuchos::CharToValueTypeReductionOpImp< Ordinal, T, Serializer >::CharToValueTypeReductionOpImp ( const RCP< const ValueTypeReductionOp< Ordinal, T > > &  reductOp,
const RCP< const Serializer > &  serializer 
)

Definition at line 163 of file Teuchos_ReductionOpHelpers.hpp.

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

Member Function Documentation

template<typename Ordinal, typename T , typename Serializer >
void Teuchos::CharToValueTypeReductionOpImp< Ordinal, T, Serializer >::reduce ( const Ordinal  charCount,
const char  charInBuffer[],
char  charInoutBuffer[] 
) const
virtual
template<typename Ordinal, typename T, typename Serializer>
CharToValueTypeReductionOpImp& Teuchos::CharToValueTypeReductionOpImp< Ordinal, T, Serializer >::operator= ( const CharToValueTypeReductionOpImp< Ordinal, T, Serializer > &  )
private

Member Data Documentation

template<typename Ordinal, typename T, typename Serializer>
RCP<const ValueTypeReductionOp<Ordinal,T> > Teuchos::CharToValueTypeReductionOpImp< Ordinal, T, Serializer >::reductOp_
private

Definition at line 73 of file Teuchos_ReductionOpHelpers.hpp.

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

Definition at line 74 of file Teuchos_ReductionOpHelpers.hpp.


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