gtsam  4.1.0
gtsam
Key.h File Reference

Go to the source code of this file.

Classes

struct  gtsam::StreamedKey
 To use the key_formatter on Keys, they must be wrapped in a StreamedKey. More...
 
class  gtsam::key_formatter
 Output stream manipulator that will format gtsam::Keys according to the given KeyFormatter, as long as Key values are wrapped in a gtsam::StreamedKey. More...
 
struct  gtsam::traits< Key >
 

Namespaces

 gtsam
 Global functions in a separate testing namespace.
 

Typedefs

typedef boost::function< std::string(Key)> gtsam::KeyFormatter
 Typedef for a function to format a key, i.e. to convert it to a string.
 
typedef FastVector< Key > gtsam::KeyVector
 Define collection type once and for all - also used in wrappers.
 
typedef FastList< Key > gtsam::KeyList
 
typedef FastSet< Key > gtsam::KeySet
 
typedef FastMap< Key, int > gtsam::KeyGroupMap
 

Functions

string gtsam::_defaultKeyFormatter (Key key)
 
string gtsam::_multirobotKeyFormatter (Key key)
 
void gtsam::PrintKey (Key key, const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter)
 Utility function to print one key with optional prefix.
 
void gtsam::PrintKeyList (const KeyList &keys, const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter)
 Utility function to print sets of keys with optional prefix.
 
void gtsam::PrintKeyVector (const KeyVector &keys, const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter)
 Utility function to print sets of keys with optional prefix.
 
void gtsam::PrintKeySet (const KeySet &keys, const std::string &s="", const KeyFormatter &keyFormatter=DefaultKeyFormatter)
 Utility function to print sets of keys with optional prefix.
 

Detailed Description

Author
Richard Roberts
Alex Cunningham
Date
Feb 20, 2012
Author
Richard Roberts
Date
Feb 20, 2012