FieldID represent one of the fields from the DEX file.
More...
#include <fields.hpp>
|
| FieldID (DVMType *class_, DVMType *type_, std::string &name_) |
| Constructor of the FieldID.
|
|
void | set_encoded_field (EncodedField *encoded_field) |
|
EncodedField * | get_encoded_field () |
|
| ~FieldID ()=default |
| Destructor of the FieldID.
|
|
const DVMType * | get_class () const |
| Get a constant pointer to the class where field is.
|
|
DVMType * | get_class () |
| Get a pointer to the class where field is.
|
|
const DVMType * | get_type () const |
| Get a constant pointer to the type of the field.
|
|
DVMType * | get_type () |
| Get a pointer to the type of the field.
|
|
const std::string & | get_name () const |
| Get a constant reference to the name of the field.
|
|
std::string & | get_name () |
| Get a reference to the name of the field.
|
|
std::string & | pretty_field () |
| Get a string representation of the field.
|
|
FieldID represent one of the fields from the DEX file.
◆ FieldID()
KUNAI::DEX::FieldID::FieldID |
( |
DVMType * |
class_, |
|
|
DVMType * |
type_, |
|
|
std::string & |
name_ |
|
) |
| |
|
inline |
Constructor of the FieldID.
- Parameters
-
class_ | class of the field |
type_ | type of the field |
name_ | name of the field |
◆ get_class() [1/2]
DVMType * KUNAI::DEX::FieldID::get_class |
( |
| ) |
|
|
inline |
Get a pointer to the class where field is.
- Returns
- pointer to class_
◆ get_class() [2/2]
const DVMType * KUNAI::DEX::FieldID::get_class |
( |
| ) |
const |
|
inline |
Get a constant pointer to the class where field is.
- Returns
- constant pointer to class_
◆ get_name() [1/2]
std::string & KUNAI::DEX::FieldID::get_name |
( |
| ) |
|
|
inline |
Get a reference to the name of the field.
- Returns
- reference to name_
◆ get_name() [2/2]
const std::string & KUNAI::DEX::FieldID::get_name |
( |
| ) |
const |
|
inline |
Get a constant reference to the name of the field.
- Returns
- constant reference to name_
◆ get_type() [1/2]
DVMType * KUNAI::DEX::FieldID::get_type |
( |
| ) |
|
|
inline |
Get a pointer to the type of the field.
- Returns
- pointer to type_
◆ get_type() [2/2]
const DVMType * KUNAI::DEX::FieldID::get_type |
( |
| ) |
const |
|
inline |
Get a constant pointer to the type of the field.
- Returns
- constant pointer to type_
◆ pretty_field()
std::string & KUNAI::DEX::FieldID::pretty_field |
( |
| ) |
|
Get a string representation of the field.
- Returns
- reference to pretty print of field
The documentation for this class was generated from the following file: