src/util/parse.c File Reference src/util/parse.c parsing XML #include <libxml/parser.h>#include <libxml/xmlreader.h>#include "../../include/base.h" Macros #define READ_SITE   1 << 0 Phantom documentation. #define READ_WEIGHT   1 << 1 Phantom documentation. #define READ_X   1 << 2 Phantom documentation. #define READ_Y   1 << 3 Phantom documentation. #define READ_Z   1 << 4 Phantom documentation. #define SUCCESSFUL_READ_ARROW_X   (READ_SITE | READ_WEIGHT | READ_X) Phantom documentation. #define SUCCESSFUL_READ_ARROW_XY   (READ_SITE | READ_WEIGHT | READ_X | READ_Y) Phantom documentation. #define SUCCESSFUL_READ_ARROW_XYZ   (READ_SITE | READ_WEIGHT | READ_X | READ_Y | READ_Z) Phantom documentation. Functions bool parse_model_init (const char *content, size_t length, const char *basename) Phantom documentation. bool parse_model_shutdown (void) Phantom documentation. char parse_model_get_dim (void) Phantom documentation. long parse_model_get_dim_value (const char *axis) Phantom documentation. char parse_model_get_multiplicity (void) Phantom documentation. bool parse_model_get_next_state (char *new_state_id) Phantom documentation. long parse_model_get_state_arrows_count (const char *state_id) Phantom documentation. bool parse_model_get_next_arrow (struct arrow_t *new_arrow, const char *state_id, char dimension) Phantom documentation.
Detailed Description parsing XML This file is part of Gem-graph.
Function Documentation
parse_model_get_dim() parse_model_get_dimparse.c parse.cparse_model_get_dim char parse_model_get_dim (void ) Phantom documentation. Returns char
parse_model_get_dim_value() parse_model_get_dim_valueparse.c parse.cparse_model_get_dim_value long parse_model_get_dim_value (const char * axis) Phantom documentation. Parameters *axis
Returns long
parse_model_get_multiplicity() parse_model_get_multiplicityparse.c parse.cparse_model_get_multiplicity char parse_model_get_multiplicity (void ) Phantom documentation. Returns char
parse_model_get_next_arrow() parse_model_get_next_arrowparse.c parse.cparse_model_get_next_arrow bool parse_model_get_next_arrow (struct arrow_t * new_arrow, const char * state_id, char dimension) Phantom documentation. Parameters *new_arrow *state_id dimension
Returns bool
parse_model_get_next_state() parse_model_get_next_stateparse.c parse.cparse_model_get_next_state bool parse_model_get_next_state (char * new_state_id) Phantom documentation. Parameters *new_state_id
Returns bool
parse_model_get_state_arrows_count() parse_model_get_state_arrows_countparse.c parse.cparse_model_get_state_arrows_count long parse_model_get_state_arrows_count (const char * state_id) Phantom documentation. Parameters *state_id
Returns long
parse_model_init() parse_model_initparse.c parse.cparse_model_init bool parse_model_init (const char * content, size_t length, const char * basename) Phantom documentation. Parameters *content length *basename
Returns bool
parse_model_shutdown() parse_model_shutdownparse.c parse.cparse_model_shutdown bool parse_model_shutdown (void ) Phantom documentation. returns bool