Gem-graph 0.1.0
A modelling tool based on rewriting of geometric graphs.
Loading...
Searching...
No Matches
Macros | Functions
parse.c File Reference

Gem-graph-client arsing functions. More...

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

Gem-graph-client arsing functions.

This file is part of Gem-graph.

Function Documentation

◆ parse_model_get_dim()

char parse_model_get_dim ( void  )

Phantom documentation.

Returns
char

◆ parse_model_get_dim_value()

long parse_model_get_dim_value ( const char *  axis)

Phantom documentation.

Parameters
*axis
Returns
long

◆ parse_model_get_multiplicity()

char parse_model_get_multiplicity ( void  )

Phantom documentation.

Returns
char

◆ parse_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()

bool parse_model_get_next_state ( char *  new_state_id)

Phantom documentation.

Parameters
*new_state_id
Returns
bool

◆ parse_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_shutdown()

bool parse_model_shutdown ( void  )

Phantom documentation.

returns bool

◆ parse_parse_model_init()

bool parse_parse_model_init ( const char *  content,
size_t  length,
const char *  basename 
)

Phantom documentation.

Parameters
*content
length
*basename
Returns
bool