|
static ObjectProperty< T > * | create (const std::string &name, bool isOne) |
|
static const std::string & | getTypeName () |
|
static bool | isEqual (const T &a, const T &b) |
|
static SimpleProperty< bool > * | create (const std::string &name, bool isOne) |
|
static std::string | getTypeName () |
|
static bool | isEqual (bool a, bool b) |
|
static SimpleProperty< int > * | create (const std::string &name, bool isOne) |
|
static std::string | getTypeName () |
|
static bool | isEqual (int a, int b) |
|
static SimpleProperty< std::string > * | create (const std::string &name, bool isOne) |
|
static std::string | getTypeName () |
|
static bool | isEqual (const std::string &a, const std::string &b) |
|
static SimpleProperty< double > * | create (const std::string &name, bool isOne) |
|
static std::string | getTypeName () |
|
static OSIMCOMMON_API bool | isEqual (double a, double b) |
|
static SimpleProperty< SimTK::Vec2 > * | create (const std::string &name, bool isOne) |
|
static std::string | getTypeName () |
|
static OSIMCOMMON_API bool | isEqual (const SimTK::Vec2 &a, const SimTK::Vec2 &b) |
|
static SimpleProperty< SimTK::Vec3 > * | create (const std::string &name, bool isOne) |
|
static std::string | getTypeName () |
|
static OSIMCOMMON_API bool | isEqual (const SimTK::Vec3 &a, const SimTK::Vec3 &b) |
|
static SimpleProperty< SimTK::Vec6 > * | create (const std::string &name, bool isOne) |
|
static std::string | getTypeName () |
|
static OSIMCOMMON_API bool | isEqual (const SimTK::Vec6 &a, const SimTK::Vec6 &b) |
|
static SimpleProperty< SimTK::Vector > * | create (const std::string &name, bool isOne) |
|
static std::string | getTypeName () |
|
static OSIMCOMMON_API bool | isEqual (const SimTK::Vector &a, const SimTK::Vector &b) |
|
static SimpleProperty< SimTK::Transform > * | create (const std::string &name, bool isOne) |
|
static std::string | getTypeName () |
|
static OSIMCOMMON_API bool | isEqual (const SimTK::Transform &a, const SimTK::Transform &b) |
|
template<class T>
struct OpenSim::Property< T >::TypeHelper
This is the generic definition of Property::TypeHelper to be used whenever T does not have a specialization, meaning that T must be a type derived from class Object.
TypeHelper specialization for SimTK::Transform; see double specialization for information on floating point comparison.
TypeHelper specialization for SimTK::Vector; see double specialization for information on floating point comparison.
TypeHelper specialization for SimTK::Vec6; see double specialization for information on floating point comparison.
TypeHelper specialization for SimTK::Vec3; see double specialization for information on floating point comparison.
TypeHelper specialization for SimTK::Vec2; see double specialization for information on floating point comparison.
TypeHelper specialization for double.
TypeHelper specialization for std::string.
TypeHelper specialization for int.
TypeHelper specialization for bool.
Any non-Object type that is to be used as a property type must provide a specialization of this class.
Note that isEqual() operator here returns true if values are equal to within a tolerance. We also say NaN==NaN, which is not standard IEEE floating point behavior.