#include <errno.h>#include <string.h>#include <sys/mman.h>#include <qstring.h>#include "symbol.h"#include "array.h"#include "array-iterator.h"#include "data-token.h"#include "null.h"#include "data-string.h"#include "data-io.h"#include "version.h"
Defines | |
| #define | DUMPER(D) |
| #define | ARRAY_TYPE(D, T) if (D==dimension && strcmp(type,#T)==0) return read_array_internal<D,T>(); |
| #define | READ_INTERNAL(TYPE) |
Functions | |
| void | yyset_in (FILE *i) |
| int | yyparse () |
| READ_INTERNAL (signed1) | |
| READ_INTERNAL (signed2) | |
| READ_INTERNAL (signed4) | |
| READ_INTERNAL (signed8) | |
| READ_INTERNAL (unsigned1) | |
| READ_INTERNAL (unsigned2) | |
| READ_INTERNAL (unsigned4) | |
| READ_INTERNAL (unsigned8) | |
| READ_INTERNAL (float4) | |
| READ_INTERNAL (float8) | |
Variables | |
| Data | parse_result |
| #define ARRAY_TYPE | ( | D, | |||
| T | ) | if (D==dimension && strcmp(type,#T)==0) return read_array_internal<D,T>(); |
| #define DUMPER | ( | D | ) |
template <class T> \ void DataTexter::dumpSequence(Array<D,T> & array) \ { \ int mark = push("["); \ int count = array.size(0); \ for(ArrayIterator<D,T,true,D-1,false> submatrix(array,0) ; \ submatrix.more() ; ++submatrix) \ {\ int lastline = get_line();\ Array<D-1,T> &sub = submatrix;\ dumpSequence(sub);\ if (submatrix[0]!=count-1)\ {\ if (D==2) padded("\n"); else padded(" ");\ if (get_line() > lastline && !newline_waiting())\ padded("\n");\ }\ }\ pop(mark,"]");\ };
| #define READ_INTERNAL | ( | TYPE | ) |
void DataBinner::read_internal(TYPE &s) \ {\ s = *(TYPE*)cur_ptr;\ cur_ptr+=sizeof(TYPE);\ };
| READ_INTERNAL | ( | float8 | ) |
| READ_INTERNAL | ( | float4 | ) |
| READ_INTERNAL | ( | unsigned8 | ) |
| READ_INTERNAL | ( | unsigned4 | ) |
| READ_INTERNAL | ( | unsigned2 | ) |
| READ_INTERNAL | ( | unsigned1 | ) |
| READ_INTERNAL | ( | signed8 | ) |
| READ_INTERNAL | ( | signed4 | ) |
| READ_INTERNAL | ( | signed2 | ) |
| READ_INTERNAL | ( | signed1 | ) |
| int yyparse | ( | ) |
References access_checks, Creator::append(), argnames2str(), args2str(), assert(), cat(), check_access_access(), convertTo(), copyargs(), current_ao, current_do, current_pa, field2init, globhead, impl, makers_emitted_for, meta, methods, msgs, msgs1, object2, pascal, print(), T, useslist, YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, YYDPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, YYMAXDEPTH, YYNTOKENS, YYPACT_NINF, YYPOPSTACK, YYSIZE_T, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYSTYPE, YYTABLE_NINF, YYTERROR, YYTRANSLATE, and yyalloc::yyvs_alloc.
| void yyset_in | ( | FILE * | in_str | ) |
Set the input stream. This does not discard the current input buffer.
| in_str | A readable stream. |
References yyin.
Referenced by DataTexter::read_into().
1.6.2