13#ifndef ML_LIST_PARSER_H
14#define ML_LIST_PARSER_H
53 int init (
const char *source)
override;
Parser class for parsing persistent state strings of list objects.
const char * getErrorMessage(int errorCode) override
Get error string for errorCode.
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.
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
Target mlrange_cast(Source arg)
Generic version of checked ML casts.