All classes from the DEX files.
More...
#include <classes.hpp>
|
| Classes ()=default |
| Constructor from Classes.
|
|
| ~Classes ()=default |
| Destructor from Classes.
|
|
void | parse_classes (stream::KunaiStream *stream, std::uint32_t number_of_classes, std::uint32_t offset, Strings *strings, Types *types, Fields *fields, Methods *methods) |
| Parse all the classes from the DEX files.
|
|
std::uint32_t | get_number_of_classes () const |
| Get the number of the classes from the DEX file.
|
|
const std::vector< classdef_t > & | get_classdefs () const |
| Get a constant reference to all the class defs from the DEX.
|
|
std::vector< classdef_t > & | get_classdefs () |
| Get a reference to all the class defs from the DEX.
|
|
|
std::ostream & | operator<< (std::ostream &os, const Classes &entry) |
|
All classes from the DEX files.
◆ get_classdefs() [1/2]
std::vector< classdef_t > & KUNAI::DEX::Classes::get_classdefs |
( |
| ) |
|
|
inline |
Get a reference to all the class defs from the DEX.
- Returns
- reference to vector with class_defs
◆ get_classdefs() [2/2]
const std::vector< classdef_t > & KUNAI::DEX::Classes::get_classdefs |
( |
| ) |
const |
|
inline |
Get a constant reference to all the class defs from the DEX.
- Returns
- constant reference to vector with class_defs
◆ get_number_of_classes()
std::uint32_t KUNAI::DEX::Classes::get_number_of_classes |
( |
| ) |
const |
|
inline |
Get the number of the classes from the DEX file.
- Returns
- number of classes of DEX file
◆ parse_classes()
Parse all the classes from the DEX files.
- Parameters
-
stream | stream with the DEX file |
number_of_classes | number of classes from the DEX |
offset | offset to parse the classes |
strings | strings from the DEX file |
types | types from the DEX file |
fields | fields from the DEX file |
methods | methods from the DEX file |
The documentation for this class was generated from the following file: