#include <Key.h>
Public Member Functions | |
| key_formatter (KeyFormatter v) | |
Static Private Member Functions | |
| static KeyFormatter * | get_property (std::ios_base &s) |
| static void *& | property (std::ios_base &s) |
| static void | set_property (std::ios_base &s, const KeyFormatter &f) |
Private Attributes | |
| KeyFormatter | formatter_ |
Friends | |
| GTSAM_EXPORT friend std::ostream & | operator<< (std::ostream &, const key_formatter &) |
| GTSAM_EXPORT friend std::ostream & | operator<< (std::ostream &, const StreamedKey &) |
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);
|
inlineexplicit |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
friend |
|
friend |
|
private |