Character and index key used in VectorValues, GaussianFactorGraph, GaussianFactor, etc.
These keys are generated at runtime from TypedSymbol keys when linearizing a nonlinear factor graph. This key is not type safe, so cannot be used with any Nonlinear* classes.
|
|
| Symbol () |
| | Default constructor.
|
| |
|
| Symbol (const Symbol &key) |
| | Copy constructor.
|
| |
|
| Symbol (unsigned char c, std::uint64_t j) |
| | Constructor.
|
| |
|
| Symbol (Key key) |
| | Constructor that decodes an integer Key.
|
| |
|
Key | key () const |
| | return Key (integer) representation
|
| |
|
| operator Key () const |
| | Cast to integer.
|
| |
|
void | print (const std::string &s="") const |
| | Print.
|
| |
|
bool | equals (const Symbol &expected, double tol=0.0) const |
| | Check equality.
|
| |
|
unsigned char | chr () const |
| | Retrieve key character.
|
| |
|
std::uint64_t | index () const |
| | Retrieve key index.
|
| |
|
| operator std::string () const |
| | Create a string from the key.
|
| |
|
bool | operator< (const Symbol &comp) const |
| | Comparison for use in maps.
|
| |
|
bool | operator== (const Symbol &comp) const |
| | Comparison for use in maps.
|
| |
|
bool | operator== (Key comp) const |
| | Comparison for use in maps.
|
| |
|
bool | operator!= (const Symbol &comp) const |
| | Comparison for use in maps.
|
| |
|
bool | operator!= (Key comp) const |
| | Comparison for use in maps.
|
| |