#include <Teuchos_FancyOStream.hpp>
Public Types | |
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 |
| | |
| typedef basic_FancyOStream_buf< CharT, Traits > | streambuf_t |
| . . | |
| typedef basic_ostream< char_type, traits_type > | ostream_t |
| | |
Public Member Functions | |
Public client functions | |
| basic_FancyOStream (const RefCountPtr< std::basic_ostream< char_type, traits_type > > &oStream, const std::basic_string< char_type, traits_type > &tabIndentStr=" ", const int startingTab=0, const bool showLinePrefix=false, const int maxLenLinePrefix=10, const bool showTabCount=false, const bool showProcRank=false) | |
| | |
| void | initialize (const RefCountPtr< std::basic_ostream< char_type, traits_type > > &oStream, const std::basic_string< char_type, traits_type > &tabIndentStr=" ", const int startingTab=0, const bool showLinePrefix=false, const int maxLenLinePrefix=10, const bool showTabCount=false, const bool showProcRank=false) |
| | |
| RefCountPtr< std::basic_ostream< char_type, traits_type > > | getOStream () |
| | |
| basic_FancyOStream & | setTabIndentStr (const std::basic_string< char_type, traits_type > &tabIndentStr) |
| | |
| const std::basic_string< char_type, traits_type > & | getTabIndentStr () const |
| | |
| basic_FancyOStream & | setShowAllFrontMatter (const bool showAllFrontMatter) |
| Set if processor rank, line prefixes, and tab counts are shown or not . | |
| basic_FancyOStream & | setShowLinePrefix (const bool showLinePrefix) |
| | |
| basic_FancyOStream & | setMaxLenLinePrefix (const int maxLenLinePrefix) |
| | |
| basic_FancyOStream & | setShowTabCount (const bool showTabCount) |
| | |
| basic_FancyOStream & | setShowProcRank (const bool showProcRank) |
| | |
| basic_FancyOStream & | setProcRankAndSize (const int procRank, const int numProcs) |
| | |
| basic_FancyOStream & | setOutputToRootOnly (const int rootRank) |
| | |
| int | getOutputToRootOnly () const |
| | |
| void | copyAllOutputOptions (const basic_FancyOStream< CharT, Traits > &oStream) |
| | |
Functions designed to be used by basic_OSTab | |
| void | pushTab (const int tabs=1) |
| | |
| 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 () |
| | |
Related Functions | |
| (Note that these are not member functions.) | |
| RefCountPtr< basic_FancyOStream< CharT, Traits > > | getFancyOStream (const RefCountPtr< std::basic_ostream< CharT, Traits > > &out) |
| Get a FancyOStream from an std::ostream object. | |
Use the typedef FancyOStream for support for the char character type.
Indentation of the stream is accomplished through creating basic_OSTab objects.
In addition to indenting output, this stream object can also print various types of information at the beginning of each line. The type of information supported is:
setShowProcRank(). showLinePrefix() and OSTab::OSTab(). setShowTabCount().
See FancyOutputting_test.cpp for examples of how this class is used and the output it generates.
Definition at line 311 of file Teuchos_FancyOStream.hpp.
|
|||||
|
Definition at line 319 of file Teuchos_FancyOStream.hpp. |
|
|||||
|
Definition at line 321 of file Teuchos_FancyOStream.hpp. |
|
|||||
|
Definition at line 323 of file Teuchos_FancyOStream.hpp. |
|
|||||
|
Definition at line 325 of file Teuchos_FancyOStream.hpp. |
|
|||||
|
Definition at line 327 of file Teuchos_FancyOStream.hpp. |
|
|||||
|
. .
Definition at line 331 of file Teuchos_FancyOStream.hpp. |
|
|||||
|
Definition at line 333 of file Teuchos_FancyOStream.hpp. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 920 of file Teuchos_FancyOStream.hpp. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 935 of file Teuchos_FancyOStream.hpp. |
|
|||||||||
|
Definition at line 951 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Definition at line 958 of file Teuchos_FancyOStream.hpp. |
|
|||||||||
|
Definition at line 966 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Set if processor rank, line prefixes, and tab counts are shown or not .
Definition at line 973 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Definition at line 983 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Definition at line 991 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Definition at line 999 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Definition at line 1007 of file Teuchos_FancyOStream.hpp. |
|
||||||||||||||||
|
Definition at line 1015 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Definition at line 1023 of file Teuchos_FancyOStream.hpp. |
|
|||||||||
|
Definition at line 1030 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Definition at line 1036 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Definition at line 1048 of file Teuchos_FancyOStream.hpp. |
|
|||||||||
|
Definition at line 1054 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Definition at line 1060 of file Teuchos_FancyOStream.hpp. |
|
|||||||||
|
Definition at line 1066 of file Teuchos_FancyOStream.hpp. |
|
|||||||||
|
Definition at line 1073 of file Teuchos_FancyOStream.hpp. |
|
|||||||||
|
Definition at line 1079 of file Teuchos_FancyOStream.hpp. |
|
|||||||||
|
Definition at line 1085 of file Teuchos_FancyOStream.hpp. |
|
||||||||||
|
Get a FancyOStream from an std::ostream object.
If the object already is a FancyOStream, then nothing has to be done. Otherwise, a temp FancyOStream is created for this purpose. If Definition at line 448 of file Teuchos_FancyOStream.hpp. |
1.3.9.1