FS2_Open
Open source remastering of the Freespace 2 engine
errParseString Class Reference

Class thrown when an expected string was not found. Can/should contain all of the expected strings. More...

#include <consoleparse.h>

Inheritance diagram for errParseString:
errParse

Public Member Functions

 errParseString (const char *found_str, char *str)
 Invalid/Unexpected token constructor. More...
 
 errParseString (const char *found_str, char *str1, char *str2)
 Invalid/Unexpected token constructor. More...
 
 errParseString (const char *found_str, SCP_vector< SCP_string > &strings)
 Invalid/Unexpected token constructor. More...
 
- Public Member Functions inherited from errParse
 errParse (const char *found_str, dc_token expected_dct)
 Invalid/Unexpected token constructor. More...
 

Public Attributes

SCP_vector< SCP_stringexpected_tokens
 
- Public Attributes inherited from errParse
SCP_string found_token
 
dc_token expected_type
 

Detailed Description

Class thrown when an expected string was not found. Can/should contain all of the expected strings.

Definition at line 70 of file consoleparse.h.

Constructor & Destructor Documentation

errParseString::errParseString ( const char *  found_str,
char *  str 
)
inline

Invalid/Unexpected token constructor.

Parameters
[in]found_strThe string that was found
[in]strThe token that was expected

Definition at line 81 of file consoleparse.h.

errParseString::errParseString ( const char *  found_str,
char *  str1,
char *  str2 
)
inline

Invalid/Unexpected token constructor.

Parameters
[in]found_strThe string that was found
[in]str1The first token that was expected
[in]str2The second token that was expected

Definition at line 94 of file consoleparse.h.

errParseString::errParseString ( const char *  found_str,
SCP_vector< SCP_string > &  strings 
)
inline

Invalid/Unexpected token constructor.

Parameters
[in]found_strThe string that was found
[in]stringsThe strings that were expected

Definition at line 107 of file consoleparse.h.

Member Data Documentation

SCP_vector<SCP_string> errParseString::expected_tokens

Definition at line 73 of file consoleparse.h.


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