Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Teuchos::SetScientific< Scalar, true > Class Template Reference

#include <Teuchos_SetScientific.hpp>

Public Types

typedef Scalar scalar_type
 

Public Member Functions

 SetScientific (std::ostream &out, int prec=-1)
 
 ~SetScientific ()
 

Static Public Member Functions

static int getDefaultPrecision ()
 

Private Attributes

std::ostream & out_
 The output stream to which to apply flags. More...
 
std::ios_base::fmtflags originalFlags_
 The output stream's original flags. More...
 
std::streamsize originalPrecision_
 The output stream's original precision. More...
 

Detailed Description

template<typename Scalar>
class Teuchos::SetScientific< Scalar, true >

Definition at line 50 of file Teuchos_SetScientific.hpp.

Member Typedef Documentation

template<typename Scalar >
typedef Scalar Teuchos::SetScientific< Scalar, true >::scalar_type

Definition at line 52 of file Teuchos_SetScientific.hpp.

Constructor & Destructor Documentation

template<typename Scalar >
Teuchos::SetScientific< Scalar, true >::SetScientific ( std::ostream &  out,
int  prec = -1 
)
inline

Definition at line 54 of file Teuchos_SetScientific.hpp.

template<typename Scalar >
Teuchos::SetScientific< Scalar, true >::~SetScientific ( )
inline

Definition at line 103 of file Teuchos_SetScientific.hpp.

Member Function Documentation

template<typename Scalar >
static int Teuchos::SetScientific< Scalar, true >::getDefaultPrecision ( )
inlinestatic

Definition at line 69 of file Teuchos_SetScientific.hpp.

Member Data Documentation

template<typename Scalar >
std::ostream& Teuchos::SetScientific< Scalar, true >::out_
private

The output stream to which to apply flags.

Definition at line 109 of file Teuchos_SetScientific.hpp.

template<typename Scalar >
std::ios_base::fmtflags Teuchos::SetScientific< Scalar, true >::originalFlags_
private

The output stream's original flags.

Definition at line 112 of file Teuchos_SetScientific.hpp.

template<typename Scalar >
std::streamsize Teuchos::SetScientific< Scalar, true >::originalPrecision_
private

The output stream's original precision.

Definition at line 115 of file Teuchos_SetScientific.hpp.


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