Back to index

enigmail  1.4.3
Public Types | Static Public Member Functions
Elf_Phdr_Traits Class Reference

#include <elfxx.h>

List of all members.

Public Types

typedef Elf32_Phdr Type32
typedef Elf64_Phdr Type64

Static Public Member Functions

template<class endian , typename R , typename T >
static void swap (T &t, R &r)

Detailed Description

Definition at line 94 of file elfxx.h.

Member Typedef Documentation

typedef Elf32_Phdr Elf_Phdr_Traits::Type32

Definition at line 96 of file elfxx.h.

typedef Elf64_Phdr Elf_Phdr_Traits::Type64

Definition at line 97 of file elfxx.h.

Member Function Documentation

template<class endian , typename R , typename T >
void Elf_Phdr_Traits::swap ( T &  t,
R &  r 
) [static]

Definition at line 63 of file elf.cpp.

    r.p_type = endian::swap(t.p_type);
    r.p_offset = endian::swap(t.p_offset);
    r.p_vaddr = endian::swap(t.p_vaddr);
    r.p_paddr = endian::swap(t.p_paddr);
    r.p_filesz = endian::swap(t.p_filesz);
    r.p_memsz = endian::swap(t.p_memsz);
    r.p_flags = endian::swap(t.p_flags);
    r.p_align = endian::swap(t.p_align);

The documentation for this class was generated from the following files: