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 109 of file RockRebuild.cc.

Member Enumeration Documentation

◆ State

Enumerator
leEmpty 
leLoading 
leLoaded 
leCorrupted 
leIgnored 

Definition at line 118 of file RockRebuild.cc.

Constructor & Destructor Documentation

◆ LoadingEntry()

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

Definition at line 198 of file RockRebuild.cc.

Member Function Documentation

◆ anchored() [1/2]

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

Definition at line 125 of file RockRebuild.cc.

References Rock::LoadingFlags::anchored, and flags.

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

◆ anchored() [2/2]

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

Definition at line 126 of file RockRebuild.cc.

References Rock::LoadingFlags::anchored, and flags.

◆ state() [1/2]

◆ state() [2/2]

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

Definition at line 122 of file RockRebuild.cc.

References flags, and Rock::LoadingFlags::state.

Member Data Documentation

◆ flags

LoadingFlags& Rock::LoadingEntry::flags
private

Definition at line 129 of file RockRebuild.cc.

Referenced by anchored(), and state().

◆ size

◆ version

uint32_t& Rock::LoadingEntry::version

Definition at line 115 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