XmlReader::StringAssigner< T > Class Template Reference

Convert a const char * 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::StringAssigner< T >

Convert a const char * to another type.

This templated class converts a const char * to a template specified type by first converting it to a std::string. T must have a std::string conversion operator or a constructor which takes a std::string.

Definition at line 160 of file xmlreader.h.


Member Function Documentation

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

Convert a const char * to another type.

Parameters:
pVal The const char * representation of a T
Returns:
The converted T.

Definition at line 171 of file xmlreader.h.


Software Development Kit - Opticks 4.9.0 Build 16218