YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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
15namespace yarp::robotinterface {
16class XMLReaderResult;
17} // namespace yarp::robotinterface
18
20
22{
23public:
24 bool verbose;
25 virtual ~XMLReaderFileVx(){};
26 virtual yarp::robotinterface::XMLReaderResult getRobotFromFile(const std::string& filename,
27 const yarp::os::Searchable& config,
28 bool verbose = false) = 0;
29 virtual yarp::robotinterface::XMLReaderResult getRobotFromString(const std::string& xmlString,
30 const yarp::os::Searchable& config,
31 bool verbose = false) = 0;
32};
33
34} // namespace yarp::robotinterface::impl
35
36#endif // YARP_ROBOTINTERFACE_XMLREADERFILEVX_H
A base class for nested structures that can be searched.
Definition Searchable.h:56
Result of the parsing of yarp::robotinterface::XMLReader.
Definition XMLReader.h:26
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