Support Software for Vector Reduction/Transformation Operators Version of the Day
Classes | Typedefs | Functions
Utility code for throwing exceptions and setting breakpoints.
Teuchos Language Support Utilities
Collaboration diagram for Utility code for throwing exceptions and setting breakpoints.:

Classes

class  RTOpPack::Teuchos::TypeNameTraits< T >
 Default traits class that just returns typeid(T).name(). More...
class  Teuchos::VerboseObject< class >
 Templated base class for objects that can print their activities to a stream and have a verbosity level.
class  Teuchos::VerboseObjectTempState< class >
 Set and release a stream and verbosity level.

Typedefs

typedef UnConst< T >::Result RTOpPack::Teuchos::ConstTypeTraits::NonConstType
 
typedef UnConst< T >::Result RTOpPack::Teuchos::ConstTypeTraits::NonConstType
 

Functions

TEUCHOS_LIB_DLL_EXPORT void TestForException_incrThrowNumber ()
 Increment the throw number.
TEUCHOS_LIB_DLL_EXPORT int TestForException_getThrowNumber ()
 Increment the throw number.
TEUCHOS_LIB_DLL_EXPORT void TestForException_break (const std::string &msg)
 The only purpose for this function is to set a breakpoint.
static std::string RTOpPack::Teuchos::TypeNameTraits::concreteName (const T &t)
 
virtual void Teuchos::VerboseObjectBase::informUpdatedVerbosityState () const
 Function that is called whenever the verbosity state is updated.
 Teuchos::VerboseObjectTempState::~VerboseObjectTempState ()
 
 RTOpPack::ReductTargetReductionOp::ReductTargetReductionOp (const Teuchos::RCP< const RTOpT< Scalar > > &op)
 

Public functions overridden from Teuchos::Serializer

index_type RTOpPack::ReductTargetSerializer::getBufferSize (const index_type count) const
 
void RTOpPack::ReductTargetSerializer::serialize (const index_type count, const ReductTarget *const reduct_objs[], const index_type bytes, char charBuffer[]) const
 
Teuchos::RCP< ReductTarget > RTOpPack::ReductTargetSerializer::createObj () const
 
void RTOpPack::ReductTargetSerializer::deserialize (const index_type bytes, const char charBuffer[], const index_type count, ReductTarget *const reduct_objs[]) const
 

Overridden from Teuchos::ReferenceTypeReductionOp

void RTOpPack::ReductTargetReductionOp::reduce (const Ordinal count, const ReductTarget *const inBuffer[], ReductTarget *const inoutBuffer[]) const
 

Public static member functions

static void Teuchos::VerboseObjectBase::setDefaultOStream (const RCP< FancyOStream > &defaultOStream)
 Set the default output stream object.
static RCP< FancyOStreamTeuchos::VerboseObjectBase::getDefaultOStream ()
 Get the default output stream object.

Constructors/Initializers

virtual Teuchos::VerboseObjectBase::~VerboseObjectBase ()
 
 Teuchos::VerboseObjectBase::VerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null)
 Calls initializeVerboseObject().
virtual void Teuchos::VerboseObjectBase::initializeVerboseObjectBase (const RCP< FancyOStream > &oStream=Teuchos::null)
 Calls initializeVerboseObject().
virtual const VerboseObjectBase & Teuchos::VerboseObjectBase::setOStream (const RCP< FancyOStream > &oStream) const
 The output stream for *this object.
virtual const VerboseObjectBase & Teuchos::VerboseObjectBase::setOverridingOStream (const RCP< FancyOStream > &oStream) const
 Set the overriding the output stream for *this object.
virtual VerboseObjectBase & Teuchos::VerboseObjectBase::setLinePrefix (const std::string &linePrefix)
 Set line prefix name for this object.

Query functions

virtual RCP< FancyOStreamTeuchos::VerboseObjectBase::getOStream () const
 Return the output stream to be used for out for *this object.
virtual RCP< FancyOStreamTeuchos::VerboseObjectBase::getOverridingOStream () const
 Return the the overriding output stream if set.
virtual std::string Teuchos::VerboseObjectBase::getLinePrefix () const
 Get the line prefix for this object.

Utilities

virtual OSTab Teuchos::VerboseObjectBase::getOSTab (const int tabs=1, const std::string &linePrefix="") const
 Create a tab object which sets the number of tabs and optionally the line prefix.

Public static member functions

static void Teuchos::VerboseObject::setDefaultVerbLevel (const EVerbosityLevel defaultVerbLevel)
 Set the default verbosity level.
static EVerbosityLevel Teuchos::VerboseObject::getDefaultVerbLevel ()
 Get the default verbosity level.

Constructors/Initializers

 Teuchos::VerboseObject::VerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null)
 Calls initializeVerboseObject().
virtual void Teuchos::VerboseObject::initializeVerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null)
 Calls initializeVerboseObject().
virtual const VerboseObject & Teuchos::VerboseObject::setVerbLevel (const EVerbosityLevel verbLevel) const
 Set the verbosity level for *this object.
virtual const VerboseObject & Teuchos::VerboseObject::setOverridingVerbLevel (const EVerbosityLevel verbLevel) const
 Set the overriding verbosity level for *this object.

Query functions

virtual EVerbosityLevel Teuchos::VerboseObject::getVerbLevel () const
 Get the verbosity level.

Typedef Documentation

template<class T >
typedef UnConst<T>::Result RTOpPack::Teuchos::ConstTypeTraits< T >::NonConstType

Definition at line 56 of file RTOpPack_SPMD_apply_op_def.hpp.

template<class T >
typedef UnConst<T>::Result RTOpPack::Teuchos::ConstTypeTraits< T >::NonConstType

Definition at line 56 of file RTOpPack_SPMD_apply_op_def.hpp.


Function Documentation

template<typename T >
static std::string RTOpPack::Teuchos::TypeNameTraits< T >::concreteName ( const T &  t) [inline, static]

Definition at line 70 of file RTOpPack_SPMD_apply_op_def.hpp.

static void Teuchos::VerboseObjectBase::setDefaultOStream ( const RCP< FancyOStream > &  defaultOStream) [static]

Set the default output stream object.

If this function is not called, then a default stream based on std::cout is used.

Get the default output stream object.

virtual Teuchos::VerboseObjectBase::~VerboseObjectBase ( ) [inline, virtual]

Definition at line 75 of file RTOpPack_SPMD_apply_op_def.hpp.

Teuchos::VerboseObjectBase::VerboseObjectBase ( const RCP< FancyOStream > &  oStream = Teuchos::null) [explicit]

Calls initializeVerboseObject().

virtual void Teuchos::VerboseObjectBase::initializeVerboseObjectBase ( const RCP< FancyOStream > &  oStream = Teuchos::null) [virtual]

Calls initializeVerboseObject().

virtual const VerboseObjectBase& Teuchos::VerboseObjectBase::setOStream ( const RCP< FancyOStream > &  oStream) const [virtual]

The output stream for *this object.

This function is supposed by called by general clients to set the output stream according to some general logic in the code.

virtual const VerboseObjectBase& Teuchos::VerboseObjectBase::setOverridingOStream ( const RCP< FancyOStream > &  oStream) const [virtual]

Set the overriding the output stream for *this object.

This function is supposed to be called by special clients that want to set the output stream in a way that will not be overridden by setOStream().

virtual VerboseObjectBase& Teuchos::VerboseObjectBase::setLinePrefix ( const std::string &  linePrefix) [virtual]

Set line prefix name for this object.

virtual RCP<FancyOStream> Teuchos::VerboseObjectBase::getOStream ( ) const [virtual]

Return the output stream to be used for out for *this object.

Return the the overriding output stream if set.

This is the output stream tthat will be returned from getOStream() regardless that stream is set by setOStream().

virtual std::string Teuchos::VerboseObjectBase::getLinePrefix ( ) const [virtual]

Get the line prefix for this object.

virtual OSTab Teuchos::VerboseObjectBase::getOSTab ( const int  tabs = 1,
const std::string &  linePrefix = "" 
) const [virtual]

Create a tab object which sets the number of tabs and optionally the line prefix.

Parameters:
tabs[in] The number of relative tabs to add (if tabs > 0) or remove (if tabs < 0). If tabs == OSTab::DISABLE_TABBING then tabbing will be turned off temporarily.
linePrefix[in] Sets a line prefix that overrides this->getLinePrefix().

The side effects of these changes go away as soon as the returned OSTab object is destroyed at the end of the block of code.

Returns OSTab( this->getOStream(), tabs, linePrefix.length() ? linePrefix : this->getLinePrefix() )

virtual void Teuchos::VerboseObjectBase::informUpdatedVerbosityState ( ) const [protected, virtual]

Function that is called whenever the verbosity state is updated.

Subclasses can override this function to be informed whenever the verbosity state of *this object gets updated.

The default implementation simply does nothing.

template<class >
static void Teuchos::VerboseObject< class >::setDefaultVerbLevel ( const EVerbosityLevel  defaultVerbLevel) [static]

Set the default verbosity level.

If not called, then the default verbosity level is VERB_DEFAULT

template<class >
static EVerbosityLevel Teuchos::VerboseObject< class >::getDefaultVerbLevel ( ) [static]

Get the default verbosity level.

template<class >
Teuchos::VerboseObject< class >::VerboseObject ( const EVerbosityLevel  verbLevel = VERB_DEFAULT,
const RCP< FancyOStream > &  oStream = Teuchos::null 
) [explicit]
template<class >
virtual void Teuchos::VerboseObject< class >::initializeVerboseObject ( const EVerbosityLevel  verbLevel = VERB_DEFAULT,
const RCP< FancyOStream > &  oStream = Teuchos::null 
) [virtual]
template<class >
virtual const VerboseObject& Teuchos::VerboseObject< class >::setVerbLevel ( const EVerbosityLevel  verbLevel) const [virtual]

Set the verbosity level for *this object.

This function is supposed by called by general clients to set the output level according to some general logic in the code.

template<class >
virtual const VerboseObject& Teuchos::VerboseObject< class >::setOverridingVerbLevel ( const EVerbosityLevel  verbLevel) const [virtual]

Set the overriding verbosity level for *this object.

This function is supposed to be called by special clients that want to set the output level in a way that will not be overridden by setOStream().

template<class >
virtual EVerbosityLevel Teuchos::VerboseObject< class >::getVerbLevel ( ) const [virtual]

Get the verbosity level.

template<class >
Teuchos::VerboseObjectTempState< class >::~VerboseObjectTempState ( ) [inline]

Definition at line 301 of file RTOpPack_SPMD_apply_op_def.hpp.

template<class Scalar >
index_type RTOpPack::ReductTargetSerializer< Scalar >::getBufferSize ( const index_type  count) const [virtual]
template<class Scalar >
void RTOpPack::ReductTargetSerializer< Scalar >::serialize ( const index_type  count,
const ReductTarget *const  reduct_objs[],
const index_type  bytes,
char  charBuffer[] 
) const

Definition at line 212 of file RTOpPack_SPMD_apply_op_def.hpp.

template<class Scalar >
Teuchos::RCP< ReductTarget > RTOpPack::ReductTargetSerializer< Scalar >::createObj ( ) const [virtual]
template<class Scalar >
void RTOpPack::ReductTargetSerializer< Scalar >::deserialize ( const index_type  bytes,
const char  charBuffer[],
const index_type  count,
ReductTarget *const  reduct_objs[] 
) const

Definition at line 243 of file RTOpPack_SPMD_apply_op_def.hpp.

template<class Scalar >
RTOpPack::ReductTargetReductionOp< Scalar >::ReductTargetReductionOp ( const Teuchos::RCP< const RTOpT< Scalar > > &  op)

Definition at line 272 of file RTOpPack_SPMD_apply_op_def.hpp.

template<class Scalar >
void RTOpPack::ReductTargetReductionOp< Scalar >::reduce ( const Ordinal  count,
const ReductTarget *const  inBuffer[],
ReductTarget *const  inoutBuffer[] 
) const

Definition at line 280 of file RTOpPack_SPMD_apply_op_def.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends