retdec
Private Attributes | List of all members
retdec::fileformat::DotnetField Class Reference

#include <dotnet_field.h>

Inheritance diagram for retdec::fileformat::DotnetField:
Inheritance graph
[legend]
Collaboration diagram for retdec::fileformat::DotnetField:
Collaboration graph
[legend]

Public Member Functions

Getters
const DotnetDataTypeBasegetDataType () const
 
Setters
void setDataType (std::unique_ptr< DotnetDataTypeBase > &&fieldDataType)
 
void setIsStatic (bool set)
 
Detection
bool isStatic () const
 
- Public Member Functions inherited from retdec::fileformat::DotnetType
virtual ~DotnetType ()=default
 
std::string getName () const
 
const std::string & getNameSpace () const
 
DotnetTypeVisibility getVisibility () const
 
std::string getFullyQualifiedName () const
 
const std::string & getVisibilityString () const
 
void setName (const std::string &typeName)
 
void setNameSpace (const std::string &typeNameSpace)
 
void setVisibility (DotnetTypeVisibility typeVisibility)
 
bool isPublic () const
 
bool isProtected () const
 
bool isPrivate () const
 

Private Attributes

std::unique_ptr< DotnetDataTypeBasedataType
 
bool fieldIsStatic
 

Additional Inherited Members

- Protected Attributes inherited from retdec::fileformat::DotnetType
std::string name
 
std::string nameSpace
 
DotnetTypeVisibility visibility
 

Detailed Description

.NET field

Member Function Documentation

◆ getDataType()

const DotnetDataTypeBase * retdec::fileformat::DotnetField::getDataType ( ) const

Returns the data type of the field.

Returns
Data type of the field.

◆ isStatic()

bool retdec::fileformat::DotnetField::isStatic ( ) const

Returns whether the field is static.

Returns
true if static, otherwise false.

◆ setDataType()

void retdec::fileformat::DotnetField::setDataType ( std::unique_ptr< DotnetDataTypeBase > &&  fieldDataType)

Sets the data type of the field.

Parameters
fieldDataTypeData type of the field.

◆ setIsStatic()

void retdec::fileformat::DotnetField::setIsStatic ( bool  set)

Sets whether the field is static.

Parameters
settrue for static, otherwise false.

Member Data Documentation

◆ dataType

std::unique_ptr<DotnetDataTypeBase> retdec::fileformat::DotnetField::dataType
private

◆ fieldIsStatic

bool retdec::fileformat::DotnetField::fieldIsStatic
private

The documentation for this class was generated from the following files: