sysrepo  1.4.70
YANG datastore
Sysrepo.hpp File Reference

Sysrepo Sysrepo class header. More...

#include <iostream>
#include <memory>
#include <stdexcept>
#include "Internal.hpp"
#include "sysrepo.h"
Include dependency graph for Sysrepo.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  sysrepo_exception
 Class for wrapping sr_error_t. More...
 
class  Logs
 Class for wrapping ref sr_log_level_t. More...
 

Namespaces

 sysrepo
 

Typedefs

using S_Iter_Change = std::shared_ptr< Iter_Change >
 
using S_Session = std::shared_ptr< Session >
 
using S_Subscribe = std::shared_ptr< Subscribe >
 
using S_Connection = std::shared_ptr< Connection >
 
using S_Operation = std::shared_ptr< Operation >
 
using S_Errors = std::shared_ptr< Errors >
 
using S_Data = std::shared_ptr< Data >
 
using S_Val = std::shared_ptr< Val >
 
using S_Vals_Holder = std::shared_ptr< Vals_Holder >
 
using S_Vals = std::shared_ptr< Vals >
 
using S_Xpath_Ctx = std::shared_ptr< Xpath_Ctx >
 
using S_Logs = std::shared_ptr< Logs >
 
using S_Change = std::shared_ptr< Change >
 
using S_Tree_Change = std::shared_ptr< Tree_Change >
 
using S_Callback = std::shared_ptr< Callback >
 
using S_Deleter = std::shared_ptr< Deleter >
 

Functions

void throw_exception (int error)
 
const char * get_repo_path ()
 
uint32_t connection_count ()
 

Detailed Description

Sysrepo Sysrepo class header.

Author
Mislav Novakovic misla.nosp@m.v.no.nosp@m.vakov.nosp@m.ic@s.nosp@m.artur.nosp@m.a.hr
Mcihal Vasko mvask.nosp@m.o@ce.nosp@m.snet..nosp@m.cz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file Sysrepo.hpp.