lintel 0.2.0
Loading...
Searching...
No Matches
PropertyRepositoryComponent.h
Go to the documentation of this file.
1#ifndef LINTEL_PROPERTYREPOSITORYCOMPONENT_H
2#define LINTEL_PROPERTYREPOSITORYCOMPONENT_H
3
4#include <tinyxml2.h>
5
7
8namespace lintel {
11{
12private:
13 static struct Shapes
14 {
15 const std::string CONFIG_ROOT = "PropertyRepositories";
16 const std::string PROPERTY_REPOSITORY_ROOT = "PropertyRepository";
17 const std::string PROPERTY_REPOSITORY_TYPE = "type";
18 const std::string PROPERTY_REPOSITORY_MUTABLE = "mutable";
19 const std::string PROPERTY_REPOSITORY_SHADOW = "shadow";
20 } shape;
21
22public:
24
32 std::vector<std::shared_ptr<Entry>>
33 parse(const std::string &content, const int32_t lineOffset, const std::string &fileName) override;
34};
35
36}// namespace lintel
37#endif// LINTEL_PROPERTYREPOSITORYCOMPONENT_H
Definition Component.h:13
Definition PropertyRepositoryComponent.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