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 | List of all members
Teuchos::MaxValueReductionOp< Ordinal, Packet > Class Template Reference

Standard Max operator for types with value semantics. More...

#include <Teuchos_CommHelpers.hpp>

Inheritance diagram for Teuchos::MaxValueReductionOp< Ordinal, Packet >:
Inheritance graph
[legend]

Public Member Functions

void reduce (const Ordinal count, const Packet inBuffer[], Packet inoutBuffer[]) 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 Packet>
class Teuchos::MaxValueReductionOp< Ordinal, Packet >

Standard Max operator for types with value semantics.

Note, this class object will throw an std::exception when used with a packet type where ScalarTraits<Packet>::isComparable==false but it will still compile.

Definition at line 854 of file Teuchos_CommHelpers.hpp.

Member Function Documentation

template<typename Ordinal , typename Packet >
void Teuchos::MaxValueReductionOp< Ordinal, Packet >::reduce ( const Ordinal  count,
const Packet  inBuffer[],
Packet  inoutBuffer[] 
) const
virtual

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