Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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.
 
std::ios_base::fmtflags originalFlags_
 The output stream's original flags.
 
std::streamsize originalPrecision_
 The output stream's original precision.
 

Detailed Description

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

Definition at line 82 of file Teuchos_SetScientific.hpp.

Member Typedef Documentation

◆ scalar_type

Definition at line 84 of file Teuchos_SetScientific.hpp.

Constructor & Destructor Documentation

◆ SetScientific()

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

Definition at line 86 of file Teuchos_SetScientific.hpp.

◆ ~SetScientific()

Definition at line 135 of file Teuchos_SetScientific.hpp.

Member Function Documentation

◆ getDefaultPrecision()

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

Definition at line 101 of file Teuchos_SetScientific.hpp.

Member Data Documentation

◆ out_

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

The output stream to which to apply flags.

Definition at line 141 of file Teuchos_SetScientific.hpp.

◆ originalFlags_

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

The output stream's original flags.

Definition at line 144 of file Teuchos_SetScientific.hpp.

◆ originalPrecision_

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

The output stream's original precision.

Definition at line 147 of file Teuchos_SetScientific.hpp.


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