TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
version_parser.h
Go to the documentation of this file.
1#ifndef INCLUDE_TINYURDF_VERSION_PARSER_H_
2#define INCLUDE_TINYURDF_VERSION_PARSER_H_
3
4// Copyright 2025 Wissem CHIHA
5
6#include <memory>
7
8#include <tinyxml2/tinyxml2.h>
9#include "version.h"
10
13public:
15 void parse(const tinyxml2::XMLDocument doc);
16 std::shared_ptr<Version> get() const { return p_; }
18private:
19 std::shared_ptr<Version> p_;
20};
21#endif // TINYURDF_VERSIONPARSER_H_
parses the version.
Definition version_parser.h:12
void parse(const tinyxml2::XMLDocument doc)
Definition version_parser.cc:7
VersionParser()
Definition version_parser.cc:3
std::shared_ptr< Version > get() const
Definition version_parser.h:16
~VersionParser()
Definition version_parser.cc:32