lintel 0.2.0
Loading...
Searching...
No Matches
PropertyComponent.h
Go to the documentation of this file.
1#ifndef LINTEL_PROPERTYCOMPONENT_H
2#define LINTEL_PROPERTYCOMPONENT_H
3
4#include <tinyxml2.h>
5
7
8namespace lintel {
11{
12private:
13 static struct Shapes
14 {
15 const std::string CONFIG_ROOT = "Properties";
16 const std::string ELEMENT_NAME = "name";
17 const std::string PROCESS_ROOT = "process";
18 const std::string CLASS_ROOT = "class";
19 const std::string INSTANCE_ROOT = "instance";
20 const std::string PROPERTY_ROOT = "Property";
21 const std::string PROPERTY_TYPE = "type";
22 const std::string PROPERTY_VALUE = "value";
23 } shape;
24
25public:
27
35 std::vector<std::shared_ptr<Entry>>
36 parse(const std::string &content, const int32_t lineOffset, const std::string &fileName) override;
37};
38
39}// namespace lintel
40#endif// LINTEL_PROPERTYCOMPONENT_H
Definition Component.h:13
Definition PropertyComponent.h:11
std::vector< std::shared_ptr< Entry > > parse(const std::string &content, const int32_t lineOffset, const std::string &fileName) override
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9