Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, isFloatingPoint > Class Template Reference

Implementation of SetScientific. More...

#include <Teuchos_MatrixMarket_SetScientific.hpp>

Public Types

typedef Scalar scalar_type
 The Scalar type with which SetScientific was specialized. More...
 

Public Member Functions

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

Detailed Description

template<class Scalar, const bool isFloatingPoint>
class Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, isFloatingPoint >

Implementation of SetScientific.

This class is an implementation detail of SetScientific. Users should use SetScientific, not this class.

Template Parameters
ScalarA type for which Teuchos::ScalarTraits<Scalar> has a specialization.
isFloatingPointWhether Scalar is a floating-point type (either real or complex).

Definition at line 65 of file Teuchos_MatrixMarket_SetScientific.hpp.

Member Typedef Documentation

template<class Scalar, const bool isFloatingPoint>
typedef Scalar Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, isFloatingPoint >::scalar_type

The Scalar type with which SetScientific was specialized.

Definition at line 68 of file Teuchos_MatrixMarket_SetScientific.hpp.

Constructor & Destructor Documentation

template<class Scalar, const bool isFloatingPoint>
Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, isFloatingPoint >::SetScientificImpl ( std::ostream &  out)

Constructor.

Parameters
out[in/out] Output stream to which to apply the scientific notation flags.
template<class Scalar, const bool isFloatingPoint>
Teuchos::MatrixMarket::details::SetScientificImpl< Scalar, isFloatingPoint >::~SetScientificImpl ( )

Destructor.

The destructor sets the output stream's flags back to their original state, that is, the state before the constructor of this object was called.


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