xapian-core  1.4.25
Public Member Functions | Private Attributes | List of all members
Glass::Key Class Reference

#include <glass_table.h>

Public Member Functions

 Key (const uint8_t *p_)
 
const uint8_t * get_address () const
 
const uint8_t * data () const
 
void read (std::string *key) const
 
int length () const
 
char operator[] (size_t i) const
 

Private Attributes

const uint8_t * p
 

Detailed Description

Definition at line 140 of file glass_table.h.

Constructor & Destructor Documentation

◆ Key()

Glass::Key::Key ( const uint8_t *  p_)
inlineexplicit

Member Function Documentation

◆ data()

const uint8_t* Glass::Key::data ( ) const
inline

Definition at line 145 of file glass_table.h.

References Glass::K1.

Referenced by Glass::compare().

◆ get_address()

const uint8_t* Glass::Key::get_address ( ) const
inline

Definition at line 144 of file glass_table.h.

References p.

Referenced by Glass::BItem_wr::set_key_and_block(), and Glass::BItem_wr::set_truncated_key_and_block().

◆ length()

int Glass::Key::length ( ) const
inline

◆ operator[]()

char Glass::Key::operator[] ( size_t  i) const
inline

Definition at line 152 of file glass_table.h.

References AssertRel, Glass::K1, and length().

◆ read()

void Glass::Key::read ( std::string *  key) const
inline

Definition at line 146 of file glass_table.h.

References length().

Referenced by GlassTableCheck::print_key().

Member Data Documentation

◆ p

const uint8_t* Glass::Key::p
private

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