13 #ifndef ML_LIST_PARSER_H
14 #define ML_LIST_PARSER_H
55 #if !ML_DEPRECATED_SINCE(3,5,0)
64 [[deprecated]]
int nextItemString (
char *&itemString);
66 #if !ML_DEPRECATED_SINCE(3,5,0)
94 #if !ML_DEPRECATED_SINCE(3,5,0)
98 [[deprecated]]
static char *quoteString(
const char *itemStr);
99 #if !ML_DEPRECATED_SINCE(3,5,0)
Parser class for parsing persistent state strings of list objects.
int unquoteString(std::string &itemString)
Convert quoted string to original, unescaped character sequence Assumes that _pNext points to a leadi...
static bool needsQuote(const char *itemStr)
Return true if itemStr needs to be quoted.
static bool needsQuote(const std::string &itemStr)
static std::string quoteString(const std::string &itemStr)
std::pair< int, std::string > nextItem()
Return a string to next item's substring Return codes:
ListParser()=default
Constructor.
int init(const char *source) override
Initialize parser and proceed to first character of first item.
const char * getErrorMessage(int errorCode) override
Get error string for errorCode.
Basic parser class from which special parser classes can be derived for parsing persistent state stri...
@ kNumBaseErrorCodes
Highest error code +1.
#define MLBASEEXPORT
defined Header file mlBaseInit.h
boost::graph_traits< ml_graph_ptr >::vertex_descriptor source(graph_traits< ml_graph_ptr >::edge_descriptor e, const ml_graph_ptr)
Returns the vertex descriptor for u of the edge (u,v) represented by e.