#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"

Go to the source code of this file.
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 | ) |
Value:
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,"]");\ };
Definition at line 135 of file data-io.cpp.
| #define READ_INTERNAL | ( | TYPE | ) |
Value:
void DataBinner::read_internal(TYPE &s) \ {\ s = *(TYPE*)cur_ptr;\ cur_ptr+=sizeof(TYPE);\ };
Definition at line 944 of file data-io.cpp.
| 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 | ( | ) |
| void yyset_in | ( | FILE * | in_str | ) |
Set the input stream. This does not discard the current input buffer.
| in_str | A readable stream. |
Definition at line 1879 of file data-lexer.cpp.

Definition at line 91 of file data-syntax.cpp.
1.5.9