Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
Public Types | Public Member Functions | Private Attributes | List of all members
Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, true > Class Template Reference

#include <Teuchos_MatrixMarket_SetScientific.hpp>

Public Types

typedef Scalar scalar_type
 

Public Member Functions

 SetScientificImpl (std::ostream &out)
 
 ~SetScientificImpl ()
 

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...
 

Detailed Description

template<class Scalar>
class Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, true >

Partial specialization of SetScientificImpl for floating-point types.

This class currently requires that std::log10() take arguments of type Scalar. This may be relaxed in the future if Teuchos::ScalarTraits gets its own log10() method.

Definition at line 88 of file Teuchos_MatrixMarket_SetScientific.hpp.

Member Typedef Documentation

◆ scalar_type

template<class Scalar >
typedef Scalar Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, true >::scalar_type

Definition at line 90 of file Teuchos_MatrixMarket_SetScientific.hpp.

Constructor & Destructor Documentation

◆ SetScientificImpl()

template<class Scalar >
Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, true >::SetScientificImpl ( std::ostream &  out)
inline

Definition at line 92 of file Teuchos_MatrixMarket_SetScientific.hpp.

◆ ~SetScientificImpl()

template<class Scalar >
Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, true >::~SetScientificImpl ( )
inline

Definition at line 133 of file Teuchos_MatrixMarket_SetScientific.hpp.

Member Data Documentation

◆ out_

template<class Scalar >
std::ostream& Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, true >::out_
private

The output stream to which to apply flags.

Definition at line 139 of file Teuchos_MatrixMarket_SetScientific.hpp.

◆ originalFlags_

template<class Scalar >
std::ios_base::fmtflags Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, true >::originalFlags_
private

The output stream's original flags.

Definition at line 142 of file Teuchos_MatrixMarket_SetScientific.hpp.


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