Classes | Namespaces | Typedefs | Functions | Variables
Key.h File Reference
#include <gtsam/base/FastList.h>
#include <gtsam/base/FastMap.h>
#include <gtsam/base/FastSet.h>
#include <gtsam/base/FastVector.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/types.h>
#include <gtsam/dllexport.h>
#include <functional>
#include <iosfwd>
Include dependency graph for Key.h:

Go to the source code of this file.

Classes

class  gtsam::key_formatter
 
struct  gtsam::StreamedKey
 To use the key_formatter on Keys, they must be wrapped in a StreamedKey. More...
 
struct  gtsam::traits< T >
 
struct  gtsam::traits< Key >
 

Namespaces

 gtsam
 traits
 

Typedefs

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

Functions

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

Variables

static const KeyFormatter gtsam::DefaultKeyFormatter = &_defaultKeyFormatter
 
static const gtsam::KeyFormatter gtsam::MultiRobotKeyFormatter
 

Detailed Description

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

Definition in file Key.h.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:49