yumapro  20.10-10
YumaPro SDK
YANG Type Data Structures

Data structures for YANG type implementation. More...

Collaboration diagram for YANG Type Data Structures:

Data Structures

struct  typ_listval_t
 one list member stored in simple.queue of instance-qualified strings More...
 
struct  typ_rangedef_t
 one member of a range definition – stored in simple.rangeQ More...
 
struct  typ_enum_t
 one ENUM typdef value – stored in simple.valQ Used for NCX_BT_ENUM and NCX_BT_BITS data type More...
 
struct  typ_sval_t
 one STRING typdef value, pattern value More...
 
struct  typ_range_t
 one YANG range description More...
 
struct  typ_pattern_t
 YANG pattern struct : N per typedef and also across N typdefs in a chain: all are ANDed together like RelaxNG instead of ORed together within the same type step like XSD. More...
 
struct  typ_idref_t
 YANG identityref struct the value is an identity-stmt QName that has a base-stmt that resolves to the same value. More...
 
struct  typ_simple_t
 NCX_CL_SIMPLE. More...
 
struct  typ_named_t
 NCX_CL_NAMED. More...
 
struct  typ_ref_t
 NCX_CL_REF. More...
 
union  typ_def_u_t
 Union of all the typdef variants. More...
 
struct  typ_def_t
 Discriminated union for all data typedefs. More...
 
struct  typ_template_t
 One YANG 'typedef' definition – top-level type template. More...
 
struct  typ_unionnode_t
 One YANG union node One of the 2 pointers (typ or typdef will be NULL If a named type is used, then 'typ' is active If an inline type is used, then typdef is active. More...
 

Typedefs

typedef boolean(* typ_union_walker_fn_t) (const xmlChar *the_typename, void *cookie)
 union typename walker function More...
 
typedef boolean(* typ_union_walker2_fn_t) (ncx_btype_t the_btype, void *cookie)
 complex union base type walker function More...
 

Enumerations

Detailed Description

Data structures for YANG type implementation.

Typedef Documentation

typedef boolean(* typ_union_walker2_fn_t) (ncx_btype_t the_btype, void *cookie)

complex union base type walker function

Parameters
the_btypthe base type of the type
cookiecookie value passed to start of walk
Returns
TRUE if walk should continue
FALSE if walk should terminate
typedef boolean(* typ_union_walker_fn_t) (const xmlChar *the_typename, void *cookie)

union typename walker function

Parameters
the_typenamename string for the next union node type
cookiecookie value passed to start of walk
Returns
TRUE if walk should continue
FALSE if walk should terminate

Enumeration Type Documentation

type parser used in 3 separate modes

Enumerator
TYP_PM_NONE 

not set

TYP_PM_NORMAL 

normal parse mode

TYP_PM_INDEX 

index clause parse mode

TYP_PM_MDATA 

metadata clause parse mode