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

Enumerator
leEmpty 
leLoading 
leLoaded 
leCorrupted 
leIgnored 

Definition at line 103 of file RockRebuild.cc.

Constructor & Destructor Documentation

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

Definition at line 173 of file RockRebuild.cc.

Member Function Documentation

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

Definition at line 110 of file RockRebuild.cc.

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

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

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

Definition at line 111 of file RockRebuild.cc.

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

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

Definition at line 107 of file RockRebuild.cc.

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

Member Data Documentation

LoadingFlags& Rock::LoadingEntry::flags
private

Definition at line 114 of file RockRebuild.cc.

Referenced by anchored(), and state().

uint64_t& Rock::LoadingEntry::size
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