XROAD
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
xroad.config.Config Class Reference

the main class to process xml config files More...

Inheritance diagram for xroad.config.Config:
Collaboration diagram for xroad.config.Config:

Public Member Functions

def __init__ (self, ptr)
 
def ptr (self)
 return raw pointer
 
def has_child (self, path)
 check if child exists
 
def has_attr (self, attr)
 check if attribute exists
 
def get_child (self, path)
 gets child config by its path More...
 
def children (self)
 iterate via children tag
 
def children_count (self)
 gets quantity of children of the xml tag parent
 
def name (self)
 gets name of the xml tag
 
def text (self)
 gets text of the xml tag
 
def get_attr_s (self, name)
 gets content of tag's attribute as a string by its name
 
def get_attr_i (self, name)
 gets content of tag's attribute as an integer by its name
 
def get_attr_d (self, name)
 gets content of tag's attribute as a double by its name
 
def get_attr_b (self, name)
 gets content of tag's attribute as a boolean by its name
 

Detailed Description

the main class to process xml config files

Member Function Documentation

◆ get_child()

def xroad.config.Config.get_child (   self,
  path 
)

gets child config by its path

Parameters
[in]path- path to config elements

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