DBoW2::TemplatedDatabase< TDescriptor, F >::IFPair Struct Reference

Item of IFRow. More...

#include <TemplatedDatabase.h>

List of all members.

Public Member Functions

 IFPair ()
 IFPair (EntryId eid, WordValue wv)
bool operator== (EntryId eid) const

Public Attributes

EntryId entry_id
 Entry id.
WordValue word_weight
 Word weight in this entry.

Detailed Description

template<class TDescriptor, class F>
struct DBoW2::TemplatedDatabase< TDescriptor, F >::IFPair

Item of IFRow.


Constructor & Destructor Documentation

template<class TDescriptor, class F>
DBoW2::TemplatedDatabase< TDescriptor, F >::IFPair::IFPair (  )  [inline]

Creates an empty pair

template<class TDescriptor, class F>
DBoW2::TemplatedDatabase< TDescriptor, F >::IFPair::IFPair ( EntryId  eid,
WordValue  wv 
) [inline]

Creates an inverted file pair

Parameters:
eid entry id
wv word weight

Member Function Documentation

template<class TDescriptor, class F>
bool DBoW2::TemplatedDatabase< TDescriptor, F >::IFPair::operator== ( EntryId  eid  )  const [inline]

Compares the entry ids

Parameters:
eid 
Returns:
true iff this entry id is the same as eid

The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Generated on Thu Feb 7 19:47:43 2013 by  doxygen 1.6.3