#include <Teuchos_FancyOStream.hpp>
Public Types | |
| typedef CharT | char_type |
| | |
| typedef Traits | traits_type |
| | |
| typedef traits_type::int_type | int_type |
| | |
| typedef traits_type::pos_type | pos_type |
| | |
| typedef traits_type::off_type | off_type |
| | |
Public Member Functions | |
| basic_FancyOStream_buf (const RCP< std::basic_ostream< char_type, traits_type > > &oStream, const std::basic_string< char_type, traits_type > &tabIndentStr, const int startingTab, const bool showLinePrefix, const int maxLenLinePrefix, const bool showTabCount, const bool showProcRank) | |
| | |
| void | initialize (const RCP< std::basic_ostream< char_type, traits_type > > &oStream, const std::basic_string< char_type, traits_type > &tabIndentStr, const int startingTab, const bool showLinePrefix, const int maxLenLinePrefix, const bool showTabCount, const bool showProcRank) |
| | |
| RCP< std::basic_ostream< char_type, traits_type > > | getOStream () |
| | |
| void | setTabIndentStr (const std::basic_string< char_type, traits_type > &tabIndentStr) |
| | |
| const std::basic_string< char_type, traits_type > & | getTabIndentStr () const |
| | |
| void | setShowLinePrefix (const bool showLinePrefix) |
| | |
| bool | getShowLinePrefix () const |
| | |
| void | setMaxLenLinePrefix (const int maxLenLinePrefix) |
| | |
| int | getMaxLenLinePrefix () const |
| | |
| void | setShowTabCount (const bool showTabCount) |
| | |
| bool | getShowTabCount () const |
| | |
| void | setShowProcRank (const bool showProcRank) |
| | |
| bool | getShowProcRank () const |
| | |
| void | setProcRankAndSize (const int procRank, const int numProcs) |
| | |
| int | getProcRank () const |
| | |
| int | getNumProcs () const |
| | |
| void | setOutputToRootOnly (const int rootRank) |
| | |
| int | getOutputToRootOnly () const |
| | |
| void | pushTab (const int tabs) |
| | |
| int | getNumCurrTabs () const |
| | |
| void | popTab () |
| | |
| void | pushLinePrefix (const std::basic_string< char_type, traits_type > &linePrefix) |
| | |
| void | popLinePrefix () |
| | |
| const std::basic_string< char_type, traits_type > & | getTopLinePrefix () const |
| | |
| void | pushDisableTabbing () |
| | |
| void | popDisableTabbing () |
| | |
Protected Member Functions | |
Protected overridden functions from std::basic_streambuf | |
| std::streamsize | xsputn (const char_type *s, std::streamsize n) |
| | |
| int_type | overflow (int_type c) |
| | |
Note, this is not a user-level class. Users should use basic_FancyOStream.
Definition at line 49 of file Teuchos_FancyOStream.hpp.
| typedef CharT Teuchos::basic_FancyOStream_buf< CharT, Traits >::char_type |
| typedef Traits Teuchos::basic_FancyOStream_buf< CharT, Traits >::traits_type |
| typedef traits_type::int_type Teuchos::basic_FancyOStream_buf< CharT, Traits >::int_type |
| typedef traits_type::pos_type Teuchos::basic_FancyOStream_buf< CharT, Traits >::pos_type |
| typedef traits_type::off_type Teuchos::basic_FancyOStream_buf< CharT, Traits >::off_type |
| Teuchos::basic_FancyOStream_buf< CharT, Traits >::basic_FancyOStream_buf | ( | const RCP< std::basic_ostream< char_type, traits_type > > & | oStream, | |
| const std::basic_string< char_type, traits_type > & | tabIndentStr, | |||
| const int | startingTab, | |||
| const bool | showLinePrefix, | |||
| const int | maxLenLinePrefix, | |||
| const bool | showTabCount, | |||
| const bool | showProcRank | |||
| ) |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::initialize | ( | const RCP< std::basic_ostream< char_type, traits_type > > & | oStream, | |
| const std::basic_string< char_type, traits_type > & | tabIndentStr, | |||
| const int | startingTab, | |||
| const bool | showLinePrefix, | |||
| const int | maxLenLinePrefix, | |||
| const bool | showTabCount, | |||
| const bool | showProcRank | |||
| ) |
| RCP< std::basic_ostream< CharT, Traits > > Teuchos::basic_FancyOStream_buf< CharT, Traits >::getOStream | ( | ) |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::setTabIndentStr | ( | const std::basic_string< char_type, traits_type > & | tabIndentStr | ) |
| const std::basic_string< CharT, Traits > & Teuchos::basic_FancyOStream_buf< CharT, Traits >::getTabIndentStr | ( | ) | const |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::setShowLinePrefix | ( | const bool | showLinePrefix | ) |
| bool Teuchos::basic_FancyOStream_buf< CharT, Traits >::getShowLinePrefix | ( | ) | const |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::setMaxLenLinePrefix | ( | const int | maxLenLinePrefix | ) |
| int Teuchos::basic_FancyOStream_buf< CharT, Traits >::getMaxLenLinePrefix | ( | ) | const |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::setShowTabCount | ( | const bool | showTabCount | ) |
| bool Teuchos::basic_FancyOStream_buf< CharT, Traits >::getShowTabCount | ( | ) | const |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::setShowProcRank | ( | const bool | showProcRank | ) |
| bool Teuchos::basic_FancyOStream_buf< CharT, Traits >::getShowProcRank | ( | ) | const |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::setProcRankAndSize | ( | const int | procRank, | |
| const int | numProcs | |||
| ) |
| int Teuchos::basic_FancyOStream_buf< CharT, Traits >::getProcRank | ( | ) | const |
| int Teuchos::basic_FancyOStream_buf< CharT, Traits >::getNumProcs | ( | ) | const |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::setOutputToRootOnly | ( | const int | rootRank | ) |
| int Teuchos::basic_FancyOStream_buf< CharT, Traits >::getOutputToRootOnly | ( | ) | const |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::pushTab | ( | const int | tabs | ) |
| int Teuchos::basic_FancyOStream_buf< CharT, Traits >::getNumCurrTabs | ( | ) | const |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::popTab | ( | ) |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::pushLinePrefix | ( | const std::basic_string< char_type, traits_type > & | linePrefix | ) |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::popLinePrefix | ( | ) |
| const std::basic_string< CharT, Traits > & Teuchos::basic_FancyOStream_buf< CharT, Traits >::getTopLinePrefix | ( | ) | const |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::pushDisableTabbing | ( | ) |
| void Teuchos::basic_FancyOStream_buf< CharT, Traits >::popDisableTabbing | ( | ) |
| std::streamsize Teuchos::basic_FancyOStream_buf< CharT, Traits >::xsputn | ( | const char_type * | s, | |
| std::streamsize | n | |||
| ) | [protected] |
| basic_FancyOStream_buf< CharT, Traits >::int_type Teuchos::basic_FancyOStream_buf< CharT, Traits >::overflow | ( | int_type | c | ) | [protected] |
1.4.7