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

#include <dotnet_property.h>

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

Public Member Functions

Getters
const DotnetDataTypeBasegetDataType () const
 
Setters
void setDataType (std::unique_ptr< DotnetDataTypeBase > &&propertyDataType)
 
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 propertyIsStatic
 

Additional Inherited Members

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

Detailed Description

.NET property

Member Function Documentation

◆ getDataType()

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

Returns the data type of the property.

Returns
Data type of the property.

◆ isStatic()

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

Returns whether the property is static.

Returns
true if static, otherwise false.

◆ setDataType()

void retdec::fileformat::DotnetProperty::setDataType ( std::unique_ptr< DotnetDataTypeBase > &&  propertyDataType)

Sets the data type of the property.

Parameters
propertyDataTypeData type of the property.

◆ setIsStatic()

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

Sets whether the property is static.

Parameters
settrue for static, otherwise false.

Member Data Documentation

◆ dataType

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

◆ propertyIsStatic

bool retdec::fileformat::DotnetProperty::propertyIsStatic
private

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