1#ifndef TINYURDF_MODELPARSER_H
2#define TINYURDF_MODELPARSER_H
6#include <loguru/loguru.hpp>
7#include <tinyxml2/tinyxml2.h>
17 void parse(
const tinyxml2::XMLElement* xml)
override;
18 std::shared_ptr<Model>
get()
override;
19 void print(std::ostream& os)
override;
20 bool isA(
const char* name)
override;
21 bool empty()
const override;
22 void clear()
override;
25 std::shared_ptr<Model> p_;
Definition model_parser.h:14
const char * getTypename() override
Definition model_parser.cc:62
bool isA(const char *name) override
Definition model_parser.cc:47
void parse(const tinyxml2::XMLElement *xml) override
Definition model_parser.cc:8
void print(std::ostream &os) override
Definition model_parser.cc:40
void clear() override
Definition model_parser.cc:57
ModelParser()
Definition model_parser.cc:3
std::shared_ptr< Model > get() override
Definition model_parser.cc:35
bool empty() const override
Definition model_parser.cc:52
Definition parser_base.h:16