Savarese Software Research Corporation
StringTo Class Reference

#include <StringTo.h>

List of all members.

Public Types

typedef istringstream::fmtflags fmtflags
typedef istringstream::iostate iostate

Public Member Functions

 StringTo (const StringTo &)
 StringTo ()
template<typename T >
cast (const string &str) SSRC_DECL_THROW(std
 Converts a string to an object.
template<typename T >
cast (const char *str) SSRC_DECL_THROW(std
fmtflags flags () const
fmtflags flags (const fmtflags flags)
fmtflags setf (const fmtflags flags)
fmtflags setf (const fmtflags flags, const fmtflags mask)
void unsetf (const fmtflags flags)
iostate rdstate () const
void clear (iostate state=istringstream::goodbit)
void setstate (iostate state)

Detailed Description

Definition at line 42 of file StringTo.h.


Member Typedef Documentation

typedef istringstream::fmtflags StringTo::fmtflags

Definition at line 46 of file StringTo.h.

typedef istringstream::iostate StringTo::iostate

Definition at line 47 of file StringTo.h.


Constructor & Destructor Documentation

StringTo::StringTo ( const StringTo ) [inline]

Definition at line 49 of file StringTo.h.

StringTo::StringTo ( ) [inline]

Definition at line 51 of file StringTo.h.


Member Function Documentation

template<typename T >
T StringTo::cast ( const string str) [inline]

Converts a string to an object.

Definition at line 61 of file StringTo.h.

Referenced by string_to().

template<typename T >
T StringTo::cast ( const char *  str) [inline]

Definition at line 80 of file StringTo.h.

void StringTo::clear ( iostate  state = istringstream::goodbit) [inline]

Definition at line 125 of file StringTo.h.

fmtflags StringTo::flags ( ) const [inline]

Definition at line 99 of file StringTo.h.

fmtflags StringTo::flags ( const fmtflags  flags) [inline]

Definition at line 103 of file StringTo.h.

iostate StringTo::rdstate ( ) const [inline]

Definition at line 121 of file StringTo.h.

fmtflags StringTo::setf ( const fmtflags  flags) [inline]

Definition at line 107 of file StringTo.h.

fmtflags StringTo::setf ( const fmtflags  flags,
const fmtflags  mask 
) [inline]

Definition at line 111 of file StringTo.h.

void StringTo::setstate ( iostate  state) [inline]

Definition at line 129 of file StringTo.h.

void StringTo::unsetf ( const fmtflags  flags) [inline]

Definition at line 117 of file StringTo.h.


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

Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.