gtsam 4.1.1
gtsam::key_formatter Class Reference

Detailed Description

Output stream manipulator that will format gtsam::Keys according to the given KeyFormatter, as long as Key values are wrapped in a gtsam::StreamedKey.

LabeledSymbol and Symbol values do not have to be wrapped. usage: Key key = LabeledSymbol('x', 'A', 5); // cast to key type cout << key_formatter(MultiRobotKeyFormatter) << StreamedKey(key);

Public Member Functions

 key_formatter (KeyFormatter v)


GTSAM_EXPORT friend std::ostream & operator<< (std::ostream &, const key_formatter &)
GTSAM_EXPORT friend std::ostream & operator<< (std::ostream &, const StreamedKey &)

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