LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::object::DataRegion< T > Struct Template Reference

#include "llvm/Object/ELF.h"

Collaboration diagram for llvm::object::DataRegion< T >:
Collaboration graph
[legend]

Public Member Functions

 DataRegion (ArrayRef< T > Arr)
 
 DataRegion (const T *Data, const uint8_t *BufferEnd)
 
Expected< Toperator[] (uint64_t N)
 

Public Attributes

const TFirst
 
Optional< uint64_tSize = None
 
const uint8_t * BufEnd = nullptr
 

Detailed Description

template<class T>
struct llvm::object::DataRegion< T >

Definition at line 96 of file ELF.h.

Constructor & Destructor Documentation

◆ DataRegion() [1/2]

template<class T >
llvm::object::DataRegion< T >::DataRegion ( ArrayRef< T Arr)
inline

Definition at line 99 of file ELF.h.

◆ DataRegion() [2/2]

template<class T >
llvm::object::DataRegion< T >::DataRegion ( const T Data,
const uint8_t *  BufferEnd 
)
inline

Definition at line 103 of file ELF.h.

References llvm::Data.

Member Function Documentation

◆ operator[]()

template<class T >
Expected<T> llvm::object::DataRegion< T >::operator[] ( uint64_t  N)
inline

Member Data Documentation

◆ BufEnd

template<class T >
const uint8_t* llvm::object::DataRegion< T >::BufEnd = nullptr

Definition at line 123 of file ELF.h.

Referenced by llvm::object::DataRegion< T >::operator[]().

◆ First

template<class T >
const T* llvm::object::DataRegion< T >::First

◆ Size

template<class T >
Optional<uint64_t> llvm::object::DataRegion< T >::Size = None

Definition at line 122 of file ELF.h.

Referenced by llvm::object::DataRegion< T >::operator[]().


The documentation for this struct was generated from the following file: