ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseParser Class Reference

#include <base_parser.h>

List of all members.

Classes

struct  TokenDesc

Public Member Functions

int32 scanStr (const char *in, const char *format,...)
int32 getCommand (char **buf, const TokenDesc *tokens, char **params)
 BaseParser ()
virtual ~BaseParser ()

Private Member Functions

char * getLastOffender ()
void skipToken (char **buf, char *tok, char *msg=nullptr)
int32 getTokenInt (char **buf)
float getTokenFloat (char **buf)
Common::String getToken (char **buf)
char * getAssignmentText (char **buf)
char * getSubText (char **buf, char open, char close)
void skipCharacters (char **buf, const char *toSkip)
int32 getObject (char **buf, const TokenDesc *tokens, char **name, char **data)

Private Attributes

int32 _parserLine
char _lastOffender [255]
char * _whiteSpace

Detailed Description

Definition at line 59 of file base_parser.h.


Constructor & Destructor Documentation

Wintermute::BaseParser::BaseParser (  ) 

Definition at line 46 of file base_parser.cpp.

Wintermute::BaseParser::~BaseParser (  )  [virtual]

Definition at line 53 of file base_parser.cpp.


Member Function Documentation

char * Wintermute::BaseParser::getAssignmentText ( char **  buf  )  [private]

Definition at line 181 of file base_parser.cpp.

int32 Wintermute::BaseParser::getCommand ( char **  buf,
const TokenDesc tokens,
char **  params 
)

Definition at line 122 of file base_parser.cpp.

char * Wintermute::BaseParser::getLastOffender (  )  [private]

Definition at line 61 of file base_parser.cpp.

int32 Wintermute::BaseParser::getObject ( char **  buf,
const TokenDesc tokens,
char **  name,
char **  data 
) [private]

Definition at line 67 of file base_parser.cpp.

char * Wintermute::BaseParser::getSubText ( char **  buf,
char  open,
char  close 
) [private]

Definition at line 149 of file base_parser.cpp.

Common::String Wintermute::BaseParser::getToken ( char **  buf  )  [private]

Definition at line 209 of file base_parser.cpp.

float Wintermute::BaseParser::getTokenFloat ( char **  buf  )  [private]

Definition at line 265 of file base_parser.cpp.

int32 Wintermute::BaseParser::getTokenInt ( char **  buf  )  [private]

Definition at line 278 of file base_parser.cpp.

int32 Wintermute::BaseParser::scanStr ( const char *  in,
const char *  format,
  ... 
)

Definition at line 301 of file base_parser.cpp.

void Wintermute::BaseParser::skipCharacters ( char **  buf,
const char *  toSkip 
) [private]

Definition at line 133 of file base_parser.cpp.

void Wintermute::BaseParser::skipToken ( char **  buf,
char *  tok,
char *  msg = nullptr 
) [private]

Definition at line 291 of file base_parser.cpp.


Member Data Documentation

Definition at line 82 of file base_parser.h.

Definition at line 81 of file base_parser.h.

Definition at line 83 of file base_parser.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 19 2020 05:06:27 for ResidualVM by doxygen 1.7.1
curved edge   curved edge