LLDB  mainline
Public Types | Public Member Functions | Public Attributes | List of all members
MappedHash::Header< T > Struct Template Referenceabstract

#include <MappedHash.h>

Inheritance diagram for MappedHash::Header< T >:
Inheritance graph
[legend]
Collaboration diagram for MappedHash::Header< T >:
Collaboration graph
[legend]

Public Types

typedef T HeaderData
 

Public Member Functions

 Header ()
 
virtual ~Header ()=default
 
size_t GetByteSize () const
 
virtual size_t GetByteSize (const HeaderData &header_data)=0
 
void SetHeaderDataByteSize (uint32_t header_data_byte_size)
 
void Dump (lldb_private::Stream &s)
 
virtual lldb::offset_t Read (lldb_private::DataExtractor &data, lldb::offset_t offset)
 

Public Attributes

uint32_t magic
 
uint16_t version
 
uint16_t hash_function
 
uint32_t bucket_count
 
uint32_t hashes_count
 
uint32_t header_data_len
 
HeaderData header_data
 

Detailed Description

template<typename T>
struct MappedHash::Header< T >

Definition at line 45 of file MappedHash.h.

Member Typedef Documentation

◆ HeaderData

template<typename T>
typedef T MappedHash::Header< T >::HeaderData

Definition at line 46 of file MappedHash.h.

Constructor & Destructor Documentation

◆ Header()

template<typename T>
MappedHash::Header< T >::Header ( )
inline

Definition at line 59 of file MappedHash.h.

◆ ~Header()

template<typename T>
virtual MappedHash::Header< T >::~Header ( )
virtualdefault

Member Function Documentation

◆ Dump()

template<typename T>
void MappedHash::Header< T >::Dump ( lldb_private::Stream s)
inline

Definition at line 78 of file MappedHash.h.

◆ GetByteSize() [1/2]

template<typename T>
size_t MappedHash::Header< T >::GetByteSize ( ) const
inline

Definition at line 66 of file MappedHash.h.

Referenced by MappedHash::Header< Prologue >::GetByteSize().

◆ GetByteSize() [2/2]

template<typename T>
virtual size_t MappedHash::Header< T >::GetByteSize ( const HeaderData header_data)
pure virtual

◆ Read()

template<typename T>
virtual lldb::offset_t MappedHash::Header< T >::Read ( lldb_private::DataExtractor data,
lldb::offset_t  offset 
)
inlinevirtual

Reimplemented in DWARFMappedHash::Header.

Definition at line 90 of file MappedHash.h.

Referenced by DWARFMappedHash::Header::Read().

◆ SetHeaderDataByteSize()

template<typename T>
void MappedHash::Header< T >::SetHeaderDataByteSize ( uint32_t  header_data_byte_size)
inline

Definition at line 74 of file MappedHash.h.

Member Data Documentation

◆ bucket_count

template<typename T>
uint32_t MappedHash::Header< T >::bucket_count

◆ hash_function

template<typename T>
uint16_t MappedHash::Header< T >::hash_function

Definition at line 51 of file MappedHash.h.

Referenced by MappedHash::Header< Prologue >::GetByteSize().

◆ hashes_count

template<typename T>
uint32_t MappedHash::Header< T >::hashes_count

◆ header_data

template<typename T>
HeaderData MappedHash::Header< T >::header_data

◆ header_data_len

template<typename T>
uint32_t MappedHash::Header< T >::header_data_len

Definition at line 55 of file MappedHash.h.

Referenced by MappedHash::Header< Prologue >::GetByteSize().

◆ magic

template<typename T>
uint32_t MappedHash::Header< T >::magic

◆ version

template<typename T>
uint16_t MappedHash::Header< T >::version

Definition at line 50 of file MappedHash.h.


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