Simbody  3.4 (development)
String.h File Reference
#include "SimTKcommon/internal/common.h"
#include "SimTKcommon/internal/ExceptionMacros.h"
#include <cstdio>
#include <string>
#include <limits>
#include <complex>
#include <sstream>

Go to the source code of this file.

Classes

class  SimTK::String
 SimTK::String is a plug-compatible std::string replacement (plus some additional functionality) intended to be suitable for passing through the SimTK API without introducing binary compatibility problems the way std::string does, especially on Windows. More...

Namespaces

namespace  SimTK
 

This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols.


Functions

template<class T >
static bool SimTK::tryConvertStringTo (const String &value, T &out)
template<>
bool SimTK::tryConvertStringTo (const String &value, bool &out)
template<>
bool SimTK::tryConvertStringTo (const String &value, float &out)
template<>
bool SimTK::tryConvertStringTo (const String &value, double &out)
template<>
bool SimTK::tryConvertStringTo (const String &value, long double &out)
template<>
bool SimTK::tryConvertStringTo (const String &value, String &out)
template<>
bool SimTK::tryConvertStringTo (const String &value, std::string &out)
template<class T >
bool SimTK::tryConvertStringTo (const String &value, negator< T > &out)
 Partial specialization to read negator<T> as a T.
template<class T >
bool SimTK::tryConvertStringTo (const String &value, conjugate< T > &out)
 Partial specialization to read conjugate<T> as a std::complex<T>.
template<class T >
static bool SimTK::tryConvertStringTo (const String &value, T *&out)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines