lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
MidiImport
portsmf
include
strparse.h
Go to the documentation of this file.
1
2
3
class
String_parse
{
4
public
:
5
int
pos
;
6
std::string *
str
;
7
void
init
(std::string *s) {
8
str
= s;
9
pos
= 0;
10
}
11
void
skip_space
();
12
char
peek
();
13
void
get_nonspace_quoted
(std::string &field);
14
17
void
get_remainder
(std::string &field);
18
};
19
20
void
string_escape
(std::string &result,
const
char
*s,
const
char
*quote);
String_parse
Definition
strparse.h:3
String_parse::pos
int pos
Definition
strparse.h:5
String_parse::skip_space
void skip_space()
Definition
strparse.cpp:8
String_parse::get_nonspace_quoted
void get_nonspace_quoted(std::string &field)
Definition
strparse.cpp:22
String_parse::init
void init(std::string *s)
Definition
strparse.h:7
String_parse::get_remainder
void get_remainder(std::string &field)
Get the remaining characters, skipping initial spaces and final return.
Definition
strparse.cpp:76
String_parse::str
std::string * str
Definition
strparse.h:6
String_parse::peek
char peek()
Definition
strparse.cpp:16
string_escape
void string_escape(std::string &result, const char *s, const char *quote)
Definition
strparse.cpp:54
Generated on
for lmms by
1.18.0