Adding GenericValue for Values serialization, as suggested by Callum Robinson and Mike Sheffler in issue #398

release/4.3a0
Frank Dellaert 2018-12-30 14:34:55 -05:00
parent 66959f8423
commit 2c8f55a2d8
1 changed files with 6 additions and 0 deletions

View File

@ -228,6 +228,12 @@ virtual class Value {
size_t dim() const;
};
#include <gtsam/base/GenericValue.h>
template<T = {Vector, gtsam::Point2, gtsam::Point3, gtsam::Pose2, gtsam::Pose3, gtsam::Rot2}>
virtual class GenericValue : gtsam::Value {
void serializable() const;
};
#include <gtsam/base/deprecated/LieScalar.h>
class LieScalar {
// Standard constructors