Storage Engine API
mongo::IndexCatalogEntryContainer Class Reference

#include <index_catalog_entry.h>

Public Types

typedef std::vector< std::unique_ptr< IndexCatalogEntry > >::const_iterator const_iterator
 
typedef std::vector< std::unique_ptr< IndexCatalogEntry > >::const_iterator iterator
 

Public Member Functions

const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 
const IndexCatalogEntryfind (const IndexDescriptor *desc) const
 
IndexCatalogEntryfind (const IndexDescriptor *desc)
 
IndexCatalogEntryfind (const std::string &name)
 
unsigned size () const
 
IndexCatalogEntryrelease (const IndexDescriptor *desc)
 Removes from _entries and returns the matching entry or NULL if none matches. More...
 
bool remove (const IndexDescriptor *desc)
 
void add (IndexCatalogEntry *entry)
 

Private Attributes

std::vector< std::unique_ptr< IndexCatalogEntry > > _entries
 

Member Typedef Documentation

◆ const_iterator

◆ iterator

Member Function Documentation

◆ add()

void mongo::IndexCatalogEntryContainer::add ( IndexCatalogEntry entry)
inline

◆ begin() [1/2]

const_iterator mongo::IndexCatalogEntryContainer::begin ( ) const
inline

◆ begin() [2/2]

iterator mongo::IndexCatalogEntryContainer::begin ( )
inline

◆ end() [1/2]

const_iterator mongo::IndexCatalogEntryContainer::end ( ) const
inline

◆ end() [2/2]

iterator mongo::IndexCatalogEntryContainer::end ( )
inline

◆ find() [1/3]

const IndexCatalogEntry * mongo::IndexCatalogEntryContainer::find ( const IndexDescriptor *  desc) const

◆ find() [2/3]

IndexCatalogEntry * mongo::IndexCatalogEntryContainer::find ( const IndexDescriptor *  desc)

◆ find() [3/3]

IndexCatalogEntry * mongo::IndexCatalogEntryContainer::find ( const std::string &  name)

◆ release()

IndexCatalogEntry * mongo::IndexCatalogEntryContainer::release ( const IndexDescriptor *  desc)

Removes from _entries and returns the matching entry or NULL if none matches.

◆ remove()

bool mongo::IndexCatalogEntryContainer::remove ( const IndexDescriptor *  desc)
inline

◆ size()

unsigned mongo::IndexCatalogEntryContainer::size ( ) const
inline

Member Data Documentation

◆ _entries

std::vector<std::unique_ptr<IndexCatalogEntry> > mongo::IndexCatalogEntryContainer::_entries
private

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