Go to the documentation of this file.
97 if (elem->
type() == aType && elem->
id() == anId) {
103 std::cerr <<
"Can't find resource type: " << aType
104 <<
"\tid: " << anId << std::endl;
126 if (elem->
type() == aType && elem->
id() == anId) {
bool hasResource(ResourceElement::ResourceType aType, HalfWord anId) const
ResourceType type() const
ResourceElement & findResource(ResourceElement::ResourceType aType, HalfWord anId) const
#define assert(condition)
SectionElement * element(Word index) const
static ResourceSection proto_
Protorype instance of section.
ResourceSection(bool init)
virtual SectionType type() const
ResourceType
Resource types.
virtual Section * clone() const
void setStartingAddress(AddressImage address)
static void registerSection(const Section *section)
@ ST_MR
Machine resources section.
virtual ~ResourceSection()
Word elementCount() const