- ///
- int print(string & buf, bool when_defined = false) const;
-
- ///
- int printOptions(string & buf) const;
-
- /// Make length negative to mark the sequence as deleted
- void delseq();
-
- ///
+ /**
+ * Add a sequence of keys from a string to the sequence
+ * @return string::npos if OK, else error position in string
+ *
+ * Keys in the string must be separated with whitespace;
+ * Use the keysym names used by XStringToKeysym
+ * Prefixes are S-, C-, M- for shift, control, meta
+ */
+ string::size_type parse(string const & s);
+
+ /**
+ * Return the current sequence as a string.
+ * @see parse()
+ */
+ string const print() const;
+
+ /**
+ * Return the current sequence and available options as
+ * a string. No options are added if no curmap kb map exists.
+ */
+ string const printOptions() const;
+
+ /// Mark the sequence as deleted.
+ void mark_deleted();
+
+ /// Return the ISO value of the last keysym in sequence, or 0