#define MLKEY | ( | _pset, | |||
_prop_num, | |||||
_prop_type, | |||||
_prop_desc | ) |
Value:
static void mlkey_init##_pset##_prop_num(GraphAccess &G) {Prop<_prop_type>v(G.P##_pset(),_prop_num);}\ static bool mlkey_isdef##_pset##_prop_num(GraphAccess &G) {return G.P##_pset().defined(_prop_num);} \ static PAccess mlkey_access##_pset##_prop_num(GraphAccess &G) { \ PAccess pa;\ if (mlkey_isdef##_pset##_prop_num(G)) {pa.v=G.P##_pset()[_prop_num];pa.vp=G.P##_pset()(_prop_num);} \ return pa;}
#define MLKEY2 | ( | _pset, | |||
_prop_num, | |||||
_prop_type, | |||||
_prop_desc | ) |
Value:
key_desc(PSET_##_pset,_prop_num,_prop_desc, \ mlkey_init##_pset##_prop_num, mlkey_isdef##_pset##_prop_num, mlkey_access##_pset##_prop_num)
#define PARSE_GRAPH 3 |
#define PARSE_GRAPHINFO 2 |
#define PARSE_NUMRECORDS 0 |
#define PARSE_TITLE 1 |
#define PSET_B 2 |
#define PSET_E 1 |
#define PSET_V 0 |