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

Public Types

typedef DefaultSerializer
< Ordinal, T > 
DS
 
typedef DS::DefaultSerializerType Serializer
 
typedef
CharToValueTypeReductionOpImp
< Ordinal, T, Serializer
Base
 

Public Member Functions

 CharToValueTypeReductionOp (const RCP< const ValueTypeReductionOp< Ordinal, T > > &reductOp, const RCP< const Serializer > &serializer=DS::getDefaultSerializerRCP())
 
- Public Member Functions inherited from Teuchos::CharToValueTypeReductionOpImp< Ordinal, T, DefaultSerializer< Ordinal, T >::DefaultSerializerType >
 CharToValueTypeReductionOpImp (const RCP< const ValueTypeReductionOp< Ordinal, T > > &reductOp, const RCP< const DefaultSerializer< Ordinal, T >::DefaultSerializerType > &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...
 

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>
class Teuchos::CharToValueTypeReductionOp< Ordinal, T, typename DefaultSerializer< Ordinal, T >::DefaultSerializerType >

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.

Specialization for the default serializer object type with a default argument for the serializer object parameter.

ToDo: Finish Documentation!

Definition at line 79 of file Teuchos_ReductionOpHelpers.hpp.

Member Typedef Documentation

template<typename Ordinal , typename T >
typedef DefaultSerializer<Ordinal,T> Teuchos::CharToValueTypeReductionOp< Ordinal, T, typename DefaultSerializer< Ordinal, T >::DefaultSerializerType >::DS

Definition at line 83 of file Teuchos_ReductionOpHelpers.hpp.

template<typename Ordinal , typename T >
typedef DS::DefaultSerializerType Teuchos::CharToValueTypeReductionOp< Ordinal, T, typename DefaultSerializer< Ordinal, T >::DefaultSerializerType >::Serializer

Definition at line 84 of file Teuchos_ReductionOpHelpers.hpp.

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

Definition at line 85 of file Teuchos_ReductionOpHelpers.hpp.

Constructor & Destructor Documentation

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

Definition at line 87 of file Teuchos_ReductionOpHelpers.hpp.


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