XmlReader::StringStreamAssigner< T > Class Template Reference

Convert a string to another type. More...

#include <xmlreader.h>

List of all members.

Public Member Functions

operator() (const char *pVal)


Detailed Description

template<typename T>
class XmlReader::StringStreamAssigner< T >

Convert a string to another type.

This templated class converts a string to a template specified type using a std::stringstream.

See also:
std::stringstream

Definition at line 127 of file xmlreader.h.


Member Function Documentation

template<typename T>
T XmlReader::StringStreamAssigner< T >::operator() ( const char *  pVal  ) 

Convert a string to another type.

Parameters:
pVal The string representation of a T
Returns:
The converted T. If arg does not contain a valid string representation of a T, the return value is the default value of T.

Definition at line 141 of file xmlreader.h.


Software Development Kit - Opticks 4.9.0 Build 16218