Storage Engine API
mongo::BtreeLogicTestHelper< OnDiskFormat > Struct Template Reference

This structure encapsulates a Btree and all the infrastructure needed by it (head manager, record store and a valid disk location to use by the tests). More...

#include <btree_test_help.h>

Detailed Description

template<class OnDiskFormat>
struct mongo::BtreeLogicTestHelper< OnDiskFormat >

This structure encapsulates a Btree and all the infrastructure needed by it (head manager, record store and a valid disk location to use by the tests).

Public Member Functions

 BtreeLogicTestHelper (const BSONObj &order)
 

Public Attributes

TestHeadManager headManager
 
HeapRecordStoreBtree recordStore
 
SavedCursorRegistry cursorRegistry
 
BtreeLogic< OnDiskFormat > btree
 
DiskLoc dummyDiskLoc
 

Constructor & Destructor Documentation

◆ BtreeLogicTestHelper()

template<class OnDiskFormat >
mongo::BtreeLogicTestHelper< OnDiskFormat >::BtreeLogicTestHelper ( const BSONObj &  order)

Member Data Documentation

◆ btree

template<class OnDiskFormat>
BtreeLogic<OnDiskFormat> mongo::BtreeLogicTestHelper< OnDiskFormat >::btree

◆ cursorRegistry

template<class OnDiskFormat>
SavedCursorRegistry mongo::BtreeLogicTestHelper< OnDiskFormat >::cursorRegistry

◆ dummyDiskLoc

template<class OnDiskFormat>
DiskLoc mongo::BtreeLogicTestHelper< OnDiskFormat >::dummyDiskLoc

◆ headManager

template<class OnDiskFormat>
TestHeadManager mongo::BtreeLogicTestHelper< OnDiskFormat >::headManager

◆ recordStore

template<class OnDiskFormat>
HeapRecordStoreBtree mongo::BtreeLogicTestHelper< OnDiskFormat >::recordStore

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