Support Software for Vector Reduction/Transformation Operators Version of the Day
Public Member Functions | Static Public Attributes
RTOpPack::Teuchos::basic_OSTab< CharT, Traits > Class Template Reference

Tabbing class for helping to create formated, indented output for a basic_FancyOStream object. More...

#include <RTOpPack_SPMD_apply_op_def.hpp>

List of all members.

Public Member Functions

 basic_OSTab (const RCP< basic_FancyOStream< CharT, Traits > > &fancyOStream, const int tabs=1, const std::basic_string< CharT, Traits > linePrefix="")
 
 basic_OSTab (const RCP< std::basic_ostream< CharT, Traits > > &oStream, const int tabs=1, const std::basic_string< CharT, Traits > linePrefix="")
 
 basic_OSTab (basic_FancyOStream< CharT, Traits > &fancyOStream, const int tabs=1, const std::basic_string< CharT, Traits > linePrefix="")
 Warning: Only call this constructor for stack-based object.
 basic_OSTab (std::basic_ostream< CharT, Traits > &oStream, const int tabs=1, const std::basic_string< CharT, Traits > linePrefix="")
 Warning: Only call this constructor for stack-based object.
 basic_OSTab (const basic_OSTab &osTab)
 
 ~basic_OSTab ()
 
basic_OSTab< CharT, Traits > & operator= (const basic_OSTab &osTab)
 
basic_OSTab< CharT, Traits > & incrTab (const int tabs=1)
 
basic_FancyOStream< CharT,
Traits > & 
o () const
 
basic_FancyOStream< CharT,
Traits > * 
get () const
 

Static Public Attributes

static const int DISABLE_TABBING = -99999
 

Detailed Description

template<typename CharT, typename Traits = std::char_traits<CharT>>
class RTOpPack::Teuchos::basic_OSTab< CharT, Traits >

Tabbing class for helping to create formated, indented output for a basic_FancyOStream object.

Use the typedef OSStream for support for the char character type.

This class is used to create tab indents and set line prefix names for output that is generated by a basic_FancyOStream object.

Definition at line 532 of file RTOpPack_SPMD_apply_op_def.hpp.


Constructor & Destructor Documentation

template<typename CharT , typename Traits = std::char_traits<CharT>>
RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::basic_OSTab ( const RCP< basic_FancyOStream< CharT, Traits > > &  fancyOStream,
const int  tabs = 1,
const std::basic_string< CharT, Traits >  linePrefix = "" 
) [inline]

Definition at line 539 of file RTOpPack_SPMD_apply_op_def.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::basic_OSTab ( const RCP< std::basic_ostream< CharT, Traits > > &  oStream,
const int  tabs = 1,
const std::basic_string< CharT, Traits >  linePrefix = "" 
) [inline]

Definition at line 551 of file RTOpPack_SPMD_apply_op_def.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::basic_OSTab ( basic_FancyOStream< CharT, Traits > &  fancyOStream,
const int  tabs = 1,
const std::basic_string< CharT, Traits >  linePrefix = "" 
) [inline]

Warning: Only call this constructor for stack-based object.

Definition at line 563 of file RTOpPack_SPMD_apply_op_def.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::basic_OSTab ( std::basic_ostream< CharT, Traits > &  oStream,
const int  tabs = 1,
const std::basic_string< CharT, Traits >  linePrefix = "" 
) [inline]

Warning: Only call this constructor for stack-based object.

Definition at line 575 of file RTOpPack_SPMD_apply_op_def.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::basic_OSTab ( const basic_OSTab< CharT, Traits > &  osTab) [inline]

Definition at line 587 of file RTOpPack_SPMD_apply_op_def.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::~basic_OSTab ( ) [inline]

Definition at line 594 of file RTOpPack_SPMD_apply_op_def.hpp.


Member Function Documentation

template<typename CharT , typename Traits = std::char_traits<CharT>>
basic_OSTab<CharT,Traits>& RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::operator= ( const basic_OSTab< CharT, Traits > &  osTab) [inline]

Definition at line 605 of file RTOpPack_SPMD_apply_op_def.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
basic_OSTab<CharT,Traits>& RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::incrTab ( const int  tabs = 1) [inline]

Definition at line 613 of file RTOpPack_SPMD_apply_op_def.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
basic_FancyOStream<CharT,Traits>& RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::o ( ) const [inline]

Definition at line 623 of file RTOpPack_SPMD_apply_op_def.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
basic_FancyOStream<CharT,Traits>* RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::get ( ) const [inline]

Definition at line 628 of file RTOpPack_SPMD_apply_op_def.hpp.


Member Data Documentation

template<typename CharT , typename Traits = std::char_traits<CharT>>
const int RTOpPack::Teuchos::basic_OSTab< CharT, Traits >::DISABLE_TABBING = -99999 [static]

Definition at line 537 of file RTOpPack_SPMD_apply_op_def.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends