Back to index

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

#include <elfxx.h>

List of all members.

Public Types

typedef Elf32_Shdr Type32
typedef Elf64_Shdr Type64

Static Public Member Functions

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

Detailed Description

Definition at line 103 of file elfxx.h.

Member Typedef Documentation

typedef Elf32_Shdr Elf_Shdr_Traits::Type32

Definition at line 105 of file elfxx.h.

typedef Elf64_Shdr Elf_Shdr_Traits::Type64

Definition at line 106 of file elfxx.h.

Member Function Documentation

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

Definition at line 76 of file elf.cpp.

    r.sh_name = endian::swap(t.sh_name);
    r.sh_type = endian::swap(t.sh_type);
    r.sh_flags = endian::swap(t.sh_flags);
    r.sh_addr = endian::swap(t.sh_addr);
    r.sh_offset = endian::swap(t.sh_offset);
    r.sh_size = endian::swap(t.sh_size);
    r.sh_link = endian::swap(t.sh_link);
    r.sh_info = endian::swap(t.sh_info);
    r.sh_addralign = endian::swap(t.sh_addralign);
    r.sh_entsize = endian::swap(t.sh_entsize);

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