Teuchos - Trilinos Tools Package Version of the Day
Public Member Functions | Static Public Attributes
Teuchos::basic_OSTab< CharT, Traits > Class Template Reference

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

#include <Teuchos_FancyOStream.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 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.

Examples:

ArrayRCP_test.cpp.

Definition at line 643 of file Teuchos_FancyOStream.hpp.


Constructor & Destructor Documentation

template<typename CharT , typename Traits = std::char_traits<CharT>>
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 650 of file Teuchos_FancyOStream.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
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 662 of file Teuchos_FancyOStream.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
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 674 of file Teuchos_FancyOStream.hpp.

template<typename CharT , typename Traits = std::char_traits<CharT>>
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 686 of file Teuchos_FancyOStream.hpp.

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

Definition at line 698 of file Teuchos_FancyOStream.hpp.

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

Definition at line 705 of file Teuchos_FancyOStream.hpp.


Member Function Documentation

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

Definition at line 716 of file Teuchos_FancyOStream.hpp.

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

Definition at line 724 of file Teuchos_FancyOStream.hpp.

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

Definition at line 734 of file Teuchos_FancyOStream.hpp.

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

Definition at line 739 of file Teuchos_FancyOStream.hpp.


Member Data Documentation

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

Definition at line 648 of file Teuchos_FancyOStream.hpp.


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