smart StoreEntry-level info pointer (hides anti-padding LoadingParts arrays) More...

Collaboration diagram for Rock::LoadingEntry:

Public Types

enum  State {
  leEmpty = 0,
  leLoading,
  leLoaded,
  leCorrupted,
  leIgnored
}
 possible store entry states during index rebuild More...
 

Public Member Functions

 LoadingEntry (const sfileno fileNo, LoadingParts &source)
 
State state () const
 
void state (State aState) const
 
bool anchored () const
 
void anchored (const bool beAnchored)
 

Public Attributes

uint64_t & size
 payload seen so far More...
 
uint32_t & version
 DbCellHeader::version to distinguish same-URL chains. More...
 

Private Attributes

LoadingFlagsflags
 entry flags (see the above accessors) are ours More...
 

Detailed Description

Definition at line 94 of file RockRebuild.cc.

Member Enumeration Documentation

◆ State

Enumerator
leEmpty 
leLoading 
leLoaded 
leCorrupted 
leIgnored 

Definition at line 103 of file RockRebuild.cc.

Constructor & Destructor Documentation

◆ LoadingEntry()

Rock::LoadingEntry::LoadingEntry ( const sfileno  fileNo,
LoadingParts source 
)

Definition at line 173 of file RockRebuild.cc.

Member Function Documentation

◆ anchored() [1/2]

bool Rock::LoadingEntry::anchored ( ) const
inline

Definition at line 110 of file RockRebuild.cc.

Referenced by Rock::Rebuild::addSlotToEntry().

◆ anchored() [2/2]

void Rock::LoadingEntry::anchored ( const bool  beAnchored)
inline

Definition at line 111 of file RockRebuild.cc.

◆ state() [1/2]

◆ state() [2/2]

void Rock::LoadingEntry::state ( State  aState) const
inline

Definition at line 107 of file RockRebuild.cc.

Member Data Documentation

◆ flags

LoadingFlags& Rock::LoadingEntry::flags
private

Definition at line 114 of file RockRebuild.cc.

◆ size

uint64_t& Rock::LoadingEntry::size

◆ version

uint32_t& Rock::LoadingEntry::version

Definition at line 100 of file RockRebuild.cc.

Referenced by Rock::Rebuild::primeNewEntry().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors