retdec
dotnet_field.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_FILEFORMAT_TYPES_DOTNET_TYPES_DOTNET_FIELD_H
8 #define RETDEC_FILEFORMAT_TYPES_DOTNET_TYPES_DOTNET_FIELD_H
9 
10 #include <memory>
11 
14 
15 namespace retdec {
16 namespace fileformat {
17 
21 class DotnetField : 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>&& fieldDataType);
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_field.h:22
bool fieldIsStatic
Definition: dotnet_field.h:25
void setDataType(std::unique_ptr< DotnetDataTypeBase > &&fieldDataType)
Definition: dotnet_field.cpp:25
void setIsStatic(bool set)
Definition: dotnet_field.cpp:34
bool isStatic() const
Definition: dotnet_field.cpp:43
std::unique_ptr< DotnetDataTypeBase > dataType
Definition: dotnet_field.h:24
const DotnetDataTypeBase * getDataType() const
Definition: dotnet_field.cpp:16
Definition: dotnet_type.h:30
Classes for .NET data types.
Class for .NET type.
Definition: archive_wrapper.h:19