lintel 0.2.0
Loading...
Searching...
No Matches
PropertyEntry.h
Go to the documentation of this file.
1#ifndef LINTEL_PROPERTYENTRY_H
2#define LINTEL_PROPERTYENTRY_H
3
4#include <memory>
5#include <ostream>
6
9
10namespace lintel {
16class PropertyEntry : public Entry
17{
18private:
19 std::shared_ptr<PropertyBase> m_property;
20
21public:
24 PropertyEntry(std::string_view component, std::shared_ptr<PropertyBase> property);
25
27 std::shared_ptr<PropertyBase> &getProperty();
28
29 friend std::ostream &operator<<(std::ostream &os, const PropertyEntry &entry);
30};
31
32}// namespace lintel
33#endif// LINTEL_PROPERTYENTRY_H
Definition Entry.h:10
Definition PropertyEntry.h:17
std::shared_ptr< PropertyBase > & getProperty()
friend std::ostream & operator<<(std::ostream &os, const PropertyEntry &entry)
PropertyEntry(std::string_view component, std::shared_ptr< PropertyBase > property)
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9