tesseract  3.03
tesseract::ShapeQueueEntry Struct Reference

#include <shapetable.h>

List of all members.

Public Member Functions

 ShapeQueueEntry ()
 ShapeQueueEntry (const ShapeRating &rating, int level0)
bool operator< (const ShapeQueueEntry &other) const

Public Attributes

ShapeRating result
int level

Detailed Description

Definition at line 123 of file shapetable.h.


Constructor & Destructor Documentation

Definition at line 124 of file shapetable.h.

: result(ShapeRating(0, 0.0f)), level(0) {}
tesseract::ShapeQueueEntry::ShapeQueueEntry ( const ShapeRating rating,
int  level0 
) [inline]

Definition at line 125 of file shapetable.h.

    : result(rating), level(level0) {}

Member Function Documentation

bool tesseract::ShapeQueueEntry::operator< ( const ShapeQueueEntry other) const [inline]

Definition at line 129 of file shapetable.h.

                                                     {
    if (result.rating > other.result.rating) return true;
    if (result.rating == other.result.rating)
      return level > other.level;
    return false;
  }

Member Data Documentation

Definition at line 139 of file shapetable.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines