YARP
Yet Another Robot Platform
XMLReaderFileV1.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_XMLREADERFILEV1_H
7 #define YARP_ROBOTINTERFACE_IMPL_XMLREADERFILEV1_H
8 
10 
11 #include <string>
12 
13 namespace yarp {
14 namespace robotinterface {
15 
16 class XMLReaderResult;
17 
18 namespace impl {
19 
21 {
22 public:
24  ~XMLReaderFileV1() override;
25 
26  yarp::robotinterface::XMLReaderResult getRobotFromFile(const std::string& filename,
27  const yarp::os::Searchable& config,
28  bool verbose = false) override;
29  yarp::robotinterface::XMLReaderResult getRobotFromString(const std::string& xmlString,
30  const yarp::os::Searchable& config,
31  bool verbose = false) override;
32 
33 private:
34  class Private;
35  Private* const mPriv;
36 };
37 
38 } // namespace impl
39 } // namespace robotinterface
40 } // namespace yarp
41 
42 #endif // YARP_ROBOTINTERFACE_XMLREADERFILEV1_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
yarp::robotinterface::XMLReaderResult getRobotFromString(const std::string &xmlString, const yarp::os::Searchable &config, bool verbose=false) override
yarp::robotinterface::XMLReaderResult getRobotFromFile(const std::string &filename, const yarp::os::Searchable &config, bool verbose=false) override
yarp::robotinterface::XMLReaderResult XMLReaderResult
Definition: XMLReader.h:31
The main, catch-all namespace for YARP.
Definition: dirs.h:16