LLDB mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::StringTableReader Class Reference

Many cache files require string tables to store data efficiently. More...

#include <DataFileCache.h>

Public Member Functions

 StringTableReader ()=default
 
llvm::StringRef Get (uint32_t offset) const
 
bool Decode (const DataExtractor &data, lldb::offset_t *offset_ptr)
 

Protected Attributes

llvm::StringRef m_data
 All of the strings in the string table are contained in m_data.
 

Detailed Description

Many cache files require string tables to store data efficiently.

This class helps give out strings from a string table that was read from a cache file.

Definition at line 213 of file DataFileCache.h.

Constructor & Destructor Documentation

◆ StringTableReader()

lldb_private::StringTableReader::StringTableReader ( )
default

Member Function Documentation

◆ Decode()

bool StringTableReader::Decode ( const DataExtractor data,
lldb::offset_t offset_ptr 
)

◆ Get()

llvm::StringRef StringTableReader::Get ( uint32_t  offset) const

Member Data Documentation

◆ m_data

llvm::StringRef lldb_private::StringTableReader::m_data
protected

All of the strings in the string table are contained in m_data.

Definition at line 223 of file DataFileCache.h.

Referenced by Decode(), and Get().


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