Simbody  3.6
String.h File Reference

Go to the source code of this file.

Classes

class  SimTK::negator< NUMBER >
 negator<N>, where N is a number type (real, complex, conjugate), is represented in memory identically to N, but behaves as though multiplied by -1, though at zero cost. More...
 
class  SimTK::conjugate< R >
 SimTK::conjugate<R> should be instantiated only for float, double. More...
 
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

 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, 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. More...
 
template<class T >
bool SimTK::tryConvertStringTo (const String &value, conjugate< T > &out)
 Partial specialization to read conjugate<T> as a std::complex<T>. More...
 
template<class T >
static bool SimTK::tryConvertStringTo (const String &value, T *&out)