Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
Teuchos_iostream_helpers.hpp File Reference
#include "Teuchos_Assert.hpp"
Include dependency graph for Teuchos_iostream_helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Teuchos
 

Macros

#define TEUCHOS_ENUM_INPUT_STREAM_OPERATOR(ENUMTYPE)
 

Functions

template<class EnumType >
std::istream & Teuchos::enumIstreamExtractor (std::istream &std_is, EnumType &enum_value)
 

Macro Definition Documentation

#define TEUCHOS_ENUM_INPUT_STREAM_OPERATOR (   ENUMTYPE)
Value:
inline \
std::istream& operator>>(std::istream& std_is, ENUMTYPE& enum_value) \
{ return Teuchos::enumIstreamExtractor(std_is, enum_value); }
std::istream & enumIstreamExtractor(std::istream &std_is, EnumType &enum_value)
std::istringstream & operator>>(std::istringstream &in, Array< T > &array)
A wrapper around the fromStringToArray function which allows the operator&gt;&gt; to be used on Arrays...

Definition at line 70 of file Teuchos_iostream_helpers.hpp.