retdec
dotnet_property.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_FILEFORMAT_TYPES_DOTNET_TYPES_DOTNET_PROPERTY_H
8 #define RETDEC_FILEFORMAT_TYPES_DOTNET_TYPES_DOTNET_PROPERTY_H
9 
10 #include <memory>
11 
14 
15 namespace retdec {
16 namespace fileformat {
17 
21 class DotnetProperty : public DotnetType
22 {
23  private:
24  std::unique_ptr<DotnetDataTypeBase> dataType;
26  public:
29  const DotnetDataTypeBase* getDataType() const;
31 
34  void setDataType(std::unique_ptr<DotnetDataTypeBase>&& propertyDataType);
35  void setIsStatic(bool set);
37 
40  bool isStatic() const;
42 };
43 
44 } // namespace fileformat
45 } // namespace retdec
46 
47 #endif
Definition: dotnet_data_types.h:66
Definition: dotnet_property.h:22
bool propertyIsStatic
Definition: dotnet_property.h:25
std::unique_ptr< DotnetDataTypeBase > dataType
Definition: dotnet_property.h:24
bool isStatic() const
Definition: dotnet_property.cpp:44
void setDataType(std::unique_ptr< DotnetDataTypeBase > &&propertyDataType)
Definition: dotnet_property.cpp:26
void setIsStatic(bool set)
Definition: dotnet_property.cpp:35
const DotnetDataTypeBase * getDataType() const
Definition: dotnet_property.cpp:17
Definition: dotnet_type.h:30
Classes for .NET data types.
Class for .NET type.
Definition: archive_wrapper.h:19