Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
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>

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. More...
 
 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. More...
 
 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 621 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 628 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 640 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 652 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 664 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 676 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 683 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 694 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 702 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 712 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 717 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 626 of file Teuchos_FancyOStream.hpp.


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