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

#include <byte_length_strings.h>

Public Member Functions

 ByteLengthPrefixedStringItor (const std::string &s)
 
std::string operator* () const
 
ByteLengthPrefixedStringItor operator++ (int)
 
ByteLengthPrefixedStringItoroperator++ ()
 
bool at_end () const
 

Private Member Functions

 ByteLengthPrefixedStringItor (const unsigned char *p_, size_t left_)
 

Private Attributes

const unsigned char * p
 
size_t left
 

Detailed Description

Definition at line 35 of file byte_length_strings.h.

Constructor & Destructor Documentation

◆ ByteLengthPrefixedStringItor() [1/2]

ByteLengthPrefixedStringItor::ByteLengthPrefixedStringItor ( const unsigned char *  p_,
size_t  left_ 
)
inlineprivate

Definition at line 39 of file byte_length_strings.h.

Referenced by operator++().

◆ ByteLengthPrefixedStringItor() [2/2]

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

Definition at line 43 of file byte_length_strings.h.

Member Function Documentation

◆ at_end()

bool ByteLengthPrefixedStringItor::at_end ( ) const
inline

◆ operator*()

std::string ByteLengthPrefixedStringItor::operator* ( ) const
inline

Definition at line 47 of file byte_length_strings.h.

References MAGIC_XOR_VALUE.

◆ operator++() [1/2]

ByteLengthPrefixedStringItor ByteLengthPrefixedStringItor::operator++ ( int  )
inline

Definition at line 52 of file byte_length_strings.h.

References ByteLengthPrefixedStringItor(), left, operator++(), and p.

◆ operator++() [2/2]

ByteLengthPrefixedStringItor& ByteLengthPrefixedStringItor::operator++ ( )
inline

Definition at line 59 of file byte_length_strings.h.

References MAGIC_XOR_VALUE.

Referenced by operator++().

Member Data Documentation

◆ left

size_t ByteLengthPrefixedStringItor::left
private

Definition at line 37 of file byte_length_strings.h.

Referenced by operator++().

◆ p

const unsigned char* ByteLengthPrefixedStringItor::p
private

Definition at line 36 of file byte_length_strings.h.

Referenced by operator++().


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