template <class Elf, ElfPhdrType Type>

class PhdrSingletonObserver

Defined at line 235 of file ../../src/lib/elfldltl/include/lib/elfldltl/phdr.h

A class of observer corresponding to the simpler segment metadata types:

it merely stores any program header that it sees at the provided reference,

complaining if it observes more than one segment of the same type.

Public Methods

void PhdrSingletonObserver<Elf, Type> (std::optional<Phdr> & phdr)

Defined at line 239 of file ../../src/lib/elfldltl/include/lib/elfldltl/internal/../phdr.h

void PhdrSingletonObserver<Elf, Type> (std::optional<Phdr> & phdr)

Defined at line 239 of file ../../src/lib/elfldltl/include/lib/elfldltl/phdr.h

template <class Diagnostics>
bool Observe (Diagnostics & diagnostics, PhdrTypeMatch<Type> type, const Phdr & phdr)

Defined at line 242 of file ../../src/lib/elfldltl/include/lib/elfldltl/phdr.h

template <class Diagnostics>
bool Finish (Diagnostics & diagnostics)

Defined at line 254 of file ../../src/lib/elfldltl/include/lib/elfldltl/phdr.h

Protected Methods

std::optional<Phdr> & phdr ()

Defined at line 259 of file ../../src/lib/elfldltl/include/lib/elfldltl/phdr.h