libyang  1.0.253
YANG data modeling language library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Module Class Reference

classes for wrapping lys_module. More...

#include <Tree_Schema.hpp>

Public Member Functions

 Module (struct lys_module *module, S_Deleter deleter)
 
 ~Module ()
 
const char * name ()
 
const char * prefix ()
 
const char * dsc ()
 
const char * ref ()
 
const char * org ()
 
const char * contact ()
 
const char * filepath ()
 
uint8_t type ()
 
uint8_t version ()
 
uint8_t deviated ()
 
uint8_t disabled ()
 
uint8_t implemented ()
 
uint8_t rev_size ()
 
uint8_t imp_size ()
 
uint8_t inc_size ()
 
uint8_t ident_size ()
 
uint8_t tpdf_size ()
 
uint8_t features_size ()
 
uint8_t augment_size ()
 
uint8_t devaiation_size ()
 
uint8_t extensions_size ()
 
uint8_t ext_size ()
 
const char * ns ()
 
S_Revision rev ()
 
std::vector< S_Deviation > deviation ()
 
S_Schema_Node data ()
 
std::vector< S_Schema_Node > data_instantiables (int options)
 
std::string print_mem (LYS_OUTFORMAT format, int options)
 
std::string print_mem (LYS_OUTFORMAT format, const char *target, int options)
 
int feature_enable (const char *feature)
 
int feature_disable (const char *feature)
 
int feature_state (const char *feature)
 

Data Fields

friend Context
 
friend Data_Node
 
friend Submodule
 

Detailed Description

classes for wrapping lys_module.

Definition at line 44 of file Tree_Schema.hpp.

Constructor & Destructor Documentation

Module ( struct lys_module module,
S_Deleter  deleter 
)

wrapper for struct lys_module, for internal use only

Definition at line 31 of file Tree_Schema.cpp.

~Module ( )

Definition at line 35 of file Tree_Schema.cpp.

Member Function Documentation

const char* name ( )
inline

get name variable from lys_module

Definition at line 51 of file Tree_Schema.hpp.

const char* prefix ( )
inline

get prefix variable from lys_module

Definition at line 53 of file Tree_Schema.hpp.

const char* dsc ( )
inline

get dsc variable from lys_module

Definition at line 55 of file Tree_Schema.hpp.

const char* ref ( )
inline

get ref variable from lys_module

Definition at line 57 of file Tree_Schema.hpp.

const char* org ( )
inline

get org variable from lys_module

Definition at line 59 of file Tree_Schema.hpp.

const char* contact ( )
inline

get contact variable from lys_module

Definition at line 61 of file Tree_Schema.hpp.

const char* filepath ( )
inline

get filepath variable from lys_module

Definition at line 63 of file Tree_Schema.hpp.

uint8_t type ( )
inline

get type variable from lys_module

Definition at line 65 of file Tree_Schema.hpp.

uint8_t version ( )
inline

get version variable from lys_module

Definition at line 67 of file Tree_Schema.hpp.

uint8_t deviated ( )
inline

get deviated variable from lys_module

Definition at line 69 of file Tree_Schema.hpp.

uint8_t disabled ( )
inline

get disabled variable from lys_module

Definition at line 71 of file Tree_Schema.hpp.

uint8_t implemented ( )
inline

get implemented variable from lys_module

Definition at line 73 of file Tree_Schema.hpp.

uint8_t rev_size ( )
inline

get rev_size variable from lys_module

Definition at line 75 of file Tree_Schema.hpp.

uint8_t imp_size ( )
inline

get imp_size variable from lys_module

Definition at line 77 of file Tree_Schema.hpp.

uint8_t inc_size ( )
inline

get inc_size variable from lys_module

Definition at line 79 of file Tree_Schema.hpp.

uint8_t ident_size ( )
inline

get ident_size variable from lys_module

Definition at line 81 of file Tree_Schema.hpp.

uint8_t tpdf_size ( )
inline

get tpdf_size variable from lys_module

Definition at line 83 of file Tree_Schema.hpp.

uint8_t features_size ( )
inline

get features_size variable from lys_module

Definition at line 85 of file Tree_Schema.hpp.

uint8_t augment_size ( )
inline

get augment_size variable from lys_module

Definition at line 87 of file Tree_Schema.hpp.

uint8_t devaiation_size ( )
inline

get deviation_size variable from lys_module

Definition at line 89 of file Tree_Schema.hpp.

uint8_t extensions_size ( )
inline

get extensions_size variable from lys_module

Definition at line 91 of file Tree_Schema.hpp.

uint8_t ext_size ( )
inline

get ext_size variable from lys_module

Definition at line 93 of file Tree_Schema.hpp.

const char* ns ( )
inline

get ns variable from lys_module

Definition at line 95 of file Tree_Schema.hpp.

S_Revision rev ( )

get rev variable from lys_module

Definition at line 36 of file Tree_Schema.cpp.

std::vector< S_Deviation > deviation ( )

get deviation variable from lys_module

Definition at line 37 of file Tree_Schema.cpp.

S_Schema_Node data ( )
inline

get data variable from lys_module

Definition at line 101 of file Tree_Schema.hpp.

std::vector< S_Schema_Node > data_instantiables ( int  options)

wrapper for lys_getnext

Definition at line 50 of file Tree_Schema.cpp.

std::string print_mem ( LYS_OUTFORMAT  format,
int  options 
)

wrapper for lys_print_mem

Definition at line 60 of file Tree_Schema.cpp.

std::string print_mem ( LYS_OUTFORMAT  format,
const char *  target,
int  options 
)

Definition at line 74 of file Tree_Schema.cpp.

int feature_enable ( const char *  feature)

Definition at line 88 of file Tree_Schema.cpp.

int feature_disable ( const char *  feature)

Definition at line 91 of file Tree_Schema.cpp.

int feature_state ( const char *  feature)

Definition at line 94 of file Tree_Schema.cpp.

Field Documentation

friend Context

Definition at line 112 of file Tree_Schema.hpp.

friend Data_Node

Definition at line 113 of file Tree_Schema.hpp.

friend Submodule

Definition at line 114 of file Tree_Schema.hpp.


The documentation for this class was generated from the following files: