xapian-core  1.4.26
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PrefixCompressedStringItor Class Reference

#include <prefix_compressed_strings.h>

+ Collaboration diagram for PrefixCompressedStringItor:

Public Member Functions

 PrefixCompressedStringItor (const std::string &s)
 
const std::string & operator* () const
 
PrefixCompressedStringItor operator++ (int)
 
PrefixCompressedStringItoroperator++ ()
 
bool at_end () const
 

Private Member Functions

 PrefixCompressedStringItor (const unsigned char *p_, size_t left_, const std::string &current_)
 
 PrefixCompressedStringItor (PrefixCompressedStringItor &&o)
 

Private Attributes

const unsigned char * p
 
size_t left
 
std::string current
 

Detailed Description

Definition at line 36 of file prefix_compressed_strings.h.

Constructor & Destructor Documentation

◆ PrefixCompressedStringItor() [1/3]

PrefixCompressedStringItor::PrefixCompressedStringItor ( const unsigned char *  p_,
size_t  left_,
const std::string &  current_ 
)
inlineprivate

Definition at line 41 of file prefix_compressed_strings.h.

Referenced by operator++().

◆ PrefixCompressedStringItor() [2/3]

PrefixCompressedStringItor::PrefixCompressedStringItor ( PrefixCompressedStringItor &&  o)
inlineprivate

Definition at line 45 of file prefix_compressed_strings.h.

◆ PrefixCompressedStringItor() [3/3]

PrefixCompressedStringItor::PrefixCompressedStringItor ( const std::string &  s)
inlineexplicit

Definition at line 49 of file prefix_compressed_strings.h.

References operator++().

Member Function Documentation

◆ at_end()

bool PrefixCompressedStringItor::at_end ( ) const
inline

◆ operator*()

const std::string& PrefixCompressedStringItor::operator* ( ) const
inline

Definition at line 59 of file prefix_compressed_strings.h.

References current.

◆ operator++() [1/2]

PrefixCompressedStringItor PrefixCompressedStringItor::operator++ ( int  )
inline

Definition at line 63 of file prefix_compressed_strings.h.

References current, left, operator++(), p, and PrefixCompressedStringItor().

◆ operator++() [2/2]

PrefixCompressedStringItor& PrefixCompressedStringItor::operator++ ( )
inline

Definition at line 71 of file prefix_compressed_strings.h.

References left, and MAGIC_XOR_VALUE.

Referenced by operator++(), and PrefixCompressedStringItor().

Member Data Documentation

◆ current

std::string PrefixCompressedStringItor::current
private

Definition at line 39 of file prefix_compressed_strings.h.

Referenced by operator*(), and operator++().

◆ left

size_t PrefixCompressedStringItor::left
private

Definition at line 38 of file prefix_compressed_strings.h.

Referenced by operator++().

◆ p

const unsigned char* PrefixCompressedStringItor::p
private

Definition at line 37 of file prefix_compressed_strings.h.

Referenced by operator++().


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