YARP
Yet Another Robot Platform
XMLReaderFileVx.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef YARP_ROBOTINTERFACE_IMPL_XMLREADERFILEVX_H
7 #define YARP_ROBOTINTERFACE_IMPL_XMLREADERFILEVX_H
8 
10 
11 #include <yarp/os/Searchable.h>
12 
13 #include <string>
14 
15 namespace yarp {
16 namespace robotinterface {
17 
18 class XMLReaderResult;
19 
20 namespace impl {
21 
23 {
24 public:
25  bool verbose;
26  virtual ~XMLReaderFileVx(){};
27  virtual yarp::robotinterface::XMLReaderResult getRobotFromFile(const std::string& filename,
28  const yarp::os::Searchable& config,
29  bool verbose = false) = 0;
30  virtual yarp::robotinterface::XMLReaderResult getRobotFromString(const std::string& xmlString,
31  const yarp::os::Searchable& config,
32  bool verbose = false) = 0;
33 };
34 
35 } // namespace impl
36 } // namespace robotinterface
37 } // namespace yarp
38 
39 #endif // YARP_ROBOTINTERFACE_XMLREADERFILEVX_H
A base class for nested structures that can be searched.
Definition: Searchable.h:66
Result of the parsing of XMLReader.
Definition: XMLReader.h:25
virtual yarp::robotinterface::XMLReaderResult getRobotFromString(const std::string &xmlString, const yarp::os::Searchable &config, bool verbose=false)=0
virtual yarp::robotinterface::XMLReaderResult getRobotFromFile(const std::string &filename, const yarp::os::Searchable &config, bool verbose=false)=0
yarp::robotinterface::XMLReaderResult XMLReaderResult
Definition: XMLReader.h:31
The main, catch-all namespace for YARP.
Definition: dirs.h:16