OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
File_Namespace::HeaderInfo Struct Reference

Stores Pair of ChunkKey and Page id and version, in a pair with a Page struct itself (File id and Page num) More...

#include <Page.h>

+ Collaboration diagram for File_Namespace::HeaderInfo:

Public Member Functions

 HeaderInfo (const ChunkKey &chunkKey, const int32_t pageId, const int32_t versionEpoch, const Page &page)
 
bool operator< (const HeaderInfo &other) const
 

Public Attributes

ChunkKey chunkKey
 
int32_t pageId
 
int32_t versionEpoch
 
Page page
 

Detailed Description

Stores Pair of ChunkKey and Page id and version, in a pair with a Page struct itself (File id and Page num)

HeaderInfo

Definition at line 143 of file Page.h.

Constructor & Destructor Documentation

File_Namespace::HeaderInfo::HeaderInfo ( const ChunkKey chunkKey,
const int32_t  pageId,
const int32_t  versionEpoch,
const Page page 
)
inline

Definition at line 149 of file Page.h.

Member Function Documentation

bool File_Namespace::HeaderInfo::operator< ( const HeaderInfo other) const
inline

Definition at line 155 of file Page.h.

References chunkKey, pageId, and versionEpoch.

155  {
156  if (chunkKey != other.chunkKey) {
157  return chunkKey < other.chunkKey;
158  }
159  if (pageId != other.pageId) {
160  return pageId < other.pageId;
161  }
162  return versionEpoch < other.versionEpoch;
163  }

Member Data Documentation

ChunkKey File_Namespace::HeaderInfo::chunkKey

Definition at line 144 of file Page.h.

Referenced by operator<().

Page File_Namespace::HeaderInfo::page

Definition at line 147 of file Page.h.

int32_t File_Namespace::HeaderInfo::pageId

Definition at line 145 of file Page.h.

Referenced by operator<().

int32_t File_Namespace::HeaderInfo::versionEpoch

Definition at line 146 of file Page.h.

Referenced by operator<().


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