| exip
    Alpha 0.5.4
    | 
Testing the EXI encoder. More...
#include "encodeTestEXI.h"#include "EXISerializer.h"#include "stringManipulate.h"#include <stdio.h>#include <string.h>Go to the source code of this file.
| Macros | |
| #define | OUTPUT_BUFFER_SIZE 200 | 
| #define | TRY_CATCH_ENCODE(func) TRY_CATCH(func, serialize.closeEXIStream(&testStrm)) | 
| Functions | |
| errorCode | encode (EXIPSchema *schemaPtr, FILE *outfile, size_t(*outputStream)(void *buf, size_t size, void *stream)) | 
| Variables | |
| const String | NS_STR = {"http://www.ltu.se/EISLAB/schema-test", 36} | 
| const String | NS_NESTED_STR = {"http://www.ltu.se/EISLAB/nested-xsd", 35} | 
| const String | NS_TYPES_STR = {"http://www.ltu.se/EISLAB/types", 30} | 
| const String | NS_EMPTY_STR = {NULL, 0} | 
| const String | ELEM_ENCODE_STR = {"EXIPEncoder", 11} | 
| const String | ELEM_MULT_TEST_STR = {"MultipleXSDsTest", 16} | 
| const String | ELEM_DESCR_STR = {"description", 11} | 
| const String | ELEM_TYPE_TEST_STR = {"type-test", 9} | 
| const String | ELEM_TEST_SETUP_STR = {"testSetup", 9} | 
| const String | ELEM_BOOL_STR = {"bool", 4} | 
| const String | ELEM_INT_STR = {"int", 3} | 
| const String | ELEM_EXT_TYPES_STR = {"extendedTypeTest", 16} | 
| const String | ELEM_BYTE_TYPES_STR = {"byteTest", 8} | 
| const String | ELEM_DATE_TYPES_STR = {"dateTimeTest", 12} | 
| const String | ELEM_BIN_TYPES_STR = {"binaryTest", 10} | 
| const String | ELEM_ENUM_TYPES_STR = {"enumTest", 8} | 
| const String | ATTR_BYTE_STR = {"testByte", 8} | 
| const String | ATTR_VERSION_STR = {"version", 7} | 
| const String | ATTR_GOAL_STR = {"goal", 4} | 
| const String | ATTR_ID_STR = {"id", 2} | 
Definition in file encodeTestEXI.c.
| #define OUTPUT_BUFFER_SIZE 200 | 
Definition at line 24 of file encodeTestEXI.c.
| #define TRY_CATCH_ENCODE | ( | func) | TRY_CATCH(func, serialize.closeEXIStream(&testStrm)) | 
Definition at line 56 of file encodeTestEXI.c.
| errorCode encode | ( | EXIPSchema * | schemaPtr, | 
| FILE * | outfile, | ||
| size_t(*)(void *buf, size_t size, void *stream) | outputStream | ||
| ) | 
Definition at line 58 of file encodeTestEXI.c.
| const String ATTR_BYTE_STR = {"testByte", 8} | 
Definition at line 44 of file encodeTestEXI.c.
| const String ATTR_GOAL_STR = {"goal", 4} | 
Definition at line 46 of file encodeTestEXI.c.
| const String ATTR_ID_STR = {"id", 2} | 
Definition at line 47 of file encodeTestEXI.c.
| const String ATTR_VERSION_STR = {"version", 7} | 
Definition at line 45 of file encodeTestEXI.c.
| const String ELEM_BIN_TYPES_STR = {"binaryTest", 10} | 
Definition at line 41 of file encodeTestEXI.c.
| const String ELEM_BOOL_STR = {"bool", 4} | 
Definition at line 36 of file encodeTestEXI.c.
| const String ELEM_BYTE_TYPES_STR = {"byteTest", 8} | 
Definition at line 39 of file encodeTestEXI.c.
| const String ELEM_DATE_TYPES_STR = {"dateTimeTest", 12} | 
Definition at line 40 of file encodeTestEXI.c.
| const String ELEM_DESCR_STR = {"description", 11} | 
Definition at line 33 of file encodeTestEXI.c.
| const String ELEM_ENCODE_STR = {"EXIPEncoder", 11} | 
Definition at line 31 of file encodeTestEXI.c.
| const String ELEM_ENUM_TYPES_STR = {"enumTest", 8} | 
Definition at line 42 of file encodeTestEXI.c.
| const String ELEM_EXT_TYPES_STR = {"extendedTypeTest", 16} | 
Definition at line 38 of file encodeTestEXI.c.
| const String ELEM_INT_STR = {"int", 3} | 
Definition at line 37 of file encodeTestEXI.c.
| const String ELEM_MULT_TEST_STR = {"MultipleXSDsTest", 16} | 
Definition at line 32 of file encodeTestEXI.c.
| const String ELEM_TEST_SETUP_STR = {"testSetup", 9} | 
Definition at line 35 of file encodeTestEXI.c.
| const String ELEM_TYPE_TEST_STR = {"type-test", 9} | 
Definition at line 34 of file encodeTestEXI.c.
Definition at line 29 of file encodeTestEXI.c.
| const String NS_NESTED_STR = {"http://www.ltu.se/EISLAB/nested-xsd", 35} | 
Definition at line 27 of file encodeTestEXI.c.
| const String NS_STR = {"http://www.ltu.se/EISLAB/schema-test", 36} | 
Definition at line 26 of file encodeTestEXI.c.
| const String NS_TYPES_STR = {"http://www.ltu.se/EISLAB/types", 30} | 
Definition at line 28 of file encodeTestEXI.c.
 1.8.4
 1.8.4