23#ifndef BAGEL_BAGLIB_PARSE_OBJECT_H
24#define BAGEL_BAGLIB_PARSE_OBJECT_H
26#include "bagel/spacebar/baglib/ifstream.h"
27#include "bagel/boflib/error.h"
28#include "bagel/boflib/rect.h"
29#include "bagel/boflib/string.h"
34#define RECT_START_DELIM '['
35#define RECT_END_DELIM ']'
36#define RECT_VAR_DELIM ','
38#define SDEV_START_DELIM '{'
39#define SDEV_END_DELIM '}'
41#define OBJ_START_DELIM '='
42#define OBJ_END_DELIM ';'
45 PARSING_DONE = 0, UPDATED_OBJECT, UNKNOWN_TOKEN
72 static void initialize();
74 virtual ErrorCode attach() {
78 virtual ErrorCode detach() {
82 virtual bool isAttached() {
95 int getKeywordFromStream(
CBagIfstream &istr, KEYWORDS &keyword);
98 int parseAlertBox(
CBagIfstream &istr,
const char *sTitle,
const char *sFile,
int nLine);
Definition: ifstream.h:32
Definition: parse_object.h:48