#include <dotnet_method.h>
◆ addGenericParameter()
void retdec::fileformat::DotnetMethod::addGenericParameter |
( |
std::string && |
genericParam | ) |
|
Adds the generic parameter to the method.
- Parameters
-
genericParam | Generic parameter to add. |
◆ addParameter()
void retdec::fileformat::DotnetMethod::addParameter |
( |
std::unique_ptr< DotnetParameter > && |
param | ) |
|
Adds the parameter to the method.
- Parameters
-
◆ getDeclaredParametersCount()
std::size_t retdec::fileformat::DotnetMethod::getDeclaredParametersCount |
( |
| ) |
const |
Returns the declared number of parameters according to metadata tables.
- Returns
- The declared number of parameters.
◆ getGenericParameters()
const std::vector< std::string > & retdec::fileformat::DotnetMethod::getGenericParameters |
( |
| ) |
const |
Returns the generic parameters of the method.
- Returns
- The method generic parameters.
◆ getNameWithGenericParameters()
std::string retdec::fileformat::DotnetMethod::getNameWithGenericParameters |
( |
| ) |
const |
Returns the name of the method appended with generic paramters.
- Returns
- Name with generic parameters.
◆ getParameters()
const std::vector< std::unique_ptr< DotnetParameter > > & retdec::fileformat::DotnetMethod::getParameters |
( |
| ) |
const |
Returns the parameters of the method.
- Returns
- The method parameters.
◆ getRawRecord()
const MethodDef * retdec::fileformat::DotnetMethod::getRawRecord |
( |
| ) |
const |
Returns the raw metadata table record for this method.
- Returns
- Raw type record.
◆ getReturnType()
Returns the return type of the method.
- Returns
- Return type.
◆ isAbstract()
bool retdec::fileformat::DotnetMethod::isAbstract |
( |
| ) |
const |
Returns whether the method is abstract.
- Returns
true
if abstract, otherwise false
.
◆ isConstructor()
bool retdec::fileformat::DotnetMethod::isConstructor |
( |
| ) |
const |
Returns whether the method is constructor.
- Returns
true
if constructor, otherwise false
.
◆ isFinal()
bool retdec::fileformat::DotnetMethod::isFinal |
( |
| ) |
const |
Returns whether the method is final.
- Returns
true
if final, otherwise false
.
◆ isStatic()
bool retdec::fileformat::DotnetMethod::isStatic |
( |
| ) |
const |
Returns whether the method is static.
- Returns
true
if static, otherwise false
.
◆ isVirtual()
bool retdec::fileformat::DotnetMethod::isVirtual |
( |
| ) |
const |
Returns whether the method is virtual.
- Returns
true
if virtual, otherwise false
.
◆ setDeclaredParametersCount()
void retdec::fileformat::DotnetMethod::setDeclaredParametersCount |
( |
std::size_t |
paramsCount | ) |
|
Sets the declared number of parameters.
- Parameters
-
paramsCount | Declared number of parameters. |
◆ setIsAbstract()
void retdec::fileformat::DotnetMethod::setIsAbstract |
( |
bool |
set | ) |
|
Sets whether the method is abstract.
- Parameters
-
set | true for abstract, otherwise not abstract. |
◆ setIsConstructor()
void retdec::fileformat::DotnetMethod::setIsConstructor |
( |
bool |
set | ) |
|
Sets whether the method is constructor.
- Parameters
-
set | true for constructor, otherwise not constructor. |
◆ setIsFinal()
void retdec::fileformat::DotnetMethod::setIsFinal |
( |
bool |
set | ) |
|
Sets whether the method is final.
- Parameters
-
set | true for final, otherwise not final. |
◆ setIsStatic()
void retdec::fileformat::DotnetMethod::setIsStatic |
( |
bool |
set | ) |
|
Sets whether the method is static.
- Parameters
-
set | true for static, otherwise not static. |
◆ setIsVirtual()
void retdec::fileformat::DotnetMethod::setIsVirtual |
( |
bool |
set | ) |
|
Sets whether the method is virtual.
- Parameters
-
set | true for virtual, otherwise not virtual. |
◆ setRawRecord()
void retdec::fileformat::DotnetMethod::setRawRecord |
( |
const MethodDef * |
record | ) |
|
Sets the raw metadata table record for this method.
- Parameters
-
record | Raw metadata table record. |
◆ setReturnType()
void retdec::fileformat::DotnetMethod::setReturnType |
( |
std::unique_ptr< DotnetDataTypeBase > && |
methodReturnType | ) |
|
Sets the return type of this method.
- Parameters
-
methodReturnType | The return type. |
◆ declaredParamsCount
std::size_t retdec::fileformat::DotnetMethod::declaredParamsCount |
|
private |
◆ genericParameters
std::vector<std::string> retdec::fileformat::DotnetMethod::genericParameters |
|
private |
◆ methodIsAbstract
bool retdec::fileformat::DotnetMethod::methodIsAbstract |
|
private |
◆ methodIsConstructor
bool retdec::fileformat::DotnetMethod::methodIsConstructor |
|
private |
◆ methodIsFinal
bool retdec::fileformat::DotnetMethod::methodIsFinal |
|
private |
◆ methodIsStatic
bool retdec::fileformat::DotnetMethod::methodIsStatic |
|
private |
◆ methodIsVirtual
bool retdec::fileformat::DotnetMethod::methodIsVirtual |
|
private |
◆ parameters
std::vector<std::unique_ptr<DotnetParameter> > retdec::fileformat::DotnetMethod::parameters |
|
private |
◆ rawRecord
const MethodDef* retdec::fileformat::DotnetMethod::rawRecord |
|
private |
◆ returnType
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/include/retdec/fileformat/types/dotnet_types/dotnet_method.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/fileformat/types/dotnet_types/dotnet_method.cpp