yumapro  20.10-12
YumaPro SDK
obj_deviate_t_ Struct Reference

YANG deviate statement struct. More...

#include <obj.h>

Data Fields

dlq_hdr_t qhdr
 queue header
 
ncx_error_t tkerr
 the error info for each sub-clause is saved because when the deviation-stmt is parsed, the target is not known yet so picking the correct variant such as type-stmt or refine-list-stmts needs to wait until the resolve phase
 
boolean empty
 deviate-stmt is empty
 
obj_deviate_arg_t arg
 deviate argument enum
 
ncx_error_t arg_tkerr
 same comment as tkerr
 
typ_def_t * typdef
 typedef if deviating the type
 
ncx_error_t type_tkerr
 same comment as tkerr
 
xmlChar * units
 units if deviating the units
 
ncx_error_t units_tkerr
 same comment as tkerr
 
dlq_hdr_t defval_tkQ
 Q of obj_defval_tk_t (leaf-list can have multiple default-stmt)
 
boolean config
 deviating config-stmt
 
ncx_error_t config_tkerr
 same comment as tkerr
 
boolean mandatory
 deviating mandatory-stmt
 
ncx_error_t mandatory_tkerr
 same comment as tkerr
 
uint32 minelems
 deviating min-elements
 
ncx_error_t minelems_tkerr
 also minset
 
uint32 maxelems
 deviating max-elements
 
ncx_error_t maxelems_tkerr
 also maxset
 
dlq_hdr_t mustQ
 Q of xpath_pcb_t.
 
dlq_hdr_t uniqueQ
 Q of obj_unique_t.
 
dlq_hdr_t appinfoQ
 Q of ncx_appinfo_t.
 

Detailed Description

YANG deviate statement struct.


The documentation for this struct was generated from the following file: