portSMF
Loading...
Searching...
No Matches
Alg_reader Class Reference

Public Member Functions

 Alg_reader (std::istream *a_file, Alg_seq_ptr new_seq)
void readline ()
Alg_parameters_ptr process_attributes (Alg_parameters_ptr attributes, double time)
bool parse ()
long parse_chan (string &field)
long parse_int (string &field)
int find_real_in (string &field, int n)
double parse_real (string &field)
void parse_error (string &field, long offset, const char *message)
double parse_dur (string &field, double base)
double parse_after_dur (double dur, string &field, int n, double base)
double parse_loud (string &field)
long parse_key (string &field)
double parse_pitch (string &field)
long parse_after_key (int key, string &field, int n)
long find_int_in (string &field, int n)
bool parse_attribute (string &field, Alg_parameter_ptr parm)
bool parse_val (Alg_parameter_ptr param, string &s, int i)
bool check_type (char type_char, Alg_parameter_ptr param)

Public Attributes

std::istream * file
string input_line
int line_no
String_parse line_parser
bool line_parser_flag
string field
bool error_flag
Alg_seq_ptr seq
double tsnum
double tsden
double offset
bool offset_found

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