Go to the documentation of this file.
63 void print(
const std::string&
s =
"")
const;
81 inline unsigned char label()
const {
return label_; }
84 inline unsigned char chr()
const {
return c_; }
87 inline size_t index()
const {
return j_; }
90 operator std::string()
const;
93 friend GTSAM_EXPORT std::ostream&
operator<<(std::ostream&,
115 static std::function<bool(
Key)> TypeTest(
unsigned char c);
118 static std::function<bool(
Key)> LabelTest(
unsigned char label);
121 static std::function<bool(
Key)> TypeLabelTest(
unsigned char c,
122 unsigned char label);
145 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
146 friend class boost::serialization::access;
148 template <
class ARCHIVE>
149 void serialize(ARCHIVE& ar,
const unsigned int ) {
150 ar& BOOST_SERIALIZATION_NVP(c_);
151 ar& BOOST_SERIALIZATION_NVP(label_);
152 ar& BOOST_SERIALIZATION_NVP(j_);
unsigned char chr() const
Retrieve key character.
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
LabeledSymbol lower() const
Concept check for values that can be used in unit tests.
LabeledSymbol newLabel(unsigned char label) const
Create a new symbol with a different label.
bool operator==(const Matrix &A, const Matrix &B)
unsigned char mrsymbolChr(Key key)
Return the character portion of a symbol key.
size_t index() const
Retrieve key index.
Key key() const
return the integer version
void print(const Matrix &A, const string &s, ostream &stream)
LabeledSymbol upper() const
Converts to upper/lower versions of labels.
unsigned char label() const
Retrieve label character.
const gtsam::Symbol key('X', 0)
bool operator<(const benchmark_t &b1, const benchmark_t &b2)
bool operator!=(const Matrix &A, const Matrix &B)
LabeledSymbol newChr(unsigned char c) const
Create a new symbol with a different character.
size_t mrsymbolIndex(Key key)
Return the index portion of a symbol key.
bool equals(const LabeledSymbol &expected, double tol=0.0) const
Checks if this LabeledSymbol is equal to another, tolerance is ignored.
unsigned char mrsymbolLabel(Key key)
Return the label portion of a symbol key.
unsigned __int64 uint64_t
std::uint64_t Key
Integer nonlinear key type.
Key mrsymbol(unsigned char c, unsigned char label, size_t j)
Create a symbol key from a character, label and index, i.e. xA5.
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:52