16#ifndef LIEF_MAP_LIST_H
17#define LIEF_MAP_LIST_H
21#include "LIEF/visibility.h"
22#include "LIEF/iterators.hpp"
23#include "LIEF/Object.hpp"
25#include "LIEF/DEX/MapItem.hpp"
41 using items_t = std::map<MapItem::TYPES, MapItem>;
56 bool has(MapItem::TYPES type)
const;
70 void accept(
Visitor& visitor)
const override;
73 LIEF_API
friend std::ostream& operator<<(std::ostream& os,
const MapList& mtd);
Class which represents an element of the MapList object.
Definition MapItem.hpp:31
Class which represents the map_list structure that follows the main DEX header.
Definition MapList.hpp:37
const MapItem & operator[](MapItem::TYPES type) const
Return the LIEF::DEX::MapItem associated with the given type.
const MapItem & get(MapItem::TYPES type) const
Return the LIEF::DEX::MapItem associated with the given type.
it_items_t items()
Iterator over LIEF::DEX::MapItem.
MapItem & get(MapItem::TYPES type)
Return the LIEF::DEX::MapItem associated with the given type.
MapItem & operator[](MapItem::TYPES type)
Return the LIEF::DEX::MapItem associated with the given type.
bool has(MapItem::TYPES type) const
Check if the given type exists.
Class which parses a DEX file to produce a DEX::File object.
Definition DEX/Parser.hpp:38
Definition Visitor.hpp:219
Iterator which returns reference on container's values.
Definition iterators.hpp:48
LIEF namespace.
Definition Abstract/Binary.hpp:32