ARB
Public Member Functions | List of all members
ED4_SearchPosition Class Reference

#include <ed4_search.hxx>

Public Member Functions

 ED4_SearchPosition (int sp, int ep, ED4_SearchPositionType wf, GB_CSTR found_comment, int mismatches[MAX_MISMATCHES])
 
 ~ED4_SearchPosition ()
 
 ED4_SearchPosition (const ED4_SearchPosition &other)
 
 DECLARE_ASSIGNMENT_OPERATOR (ED4_SearchPosition)
 
ED4_SearchPositioninsert (ED4_SearchPosition *toAdd)
 
ED4_SearchPositionremove (ED4_SearchPositionType typeToRemove)
 
ED4_SearchPositionget_next () const
 
int get_start_pos () const
 
int get_end_pos () const
 
ED4_SearchPositionType get_whatsFound () const
 
GB_CSTR get_comment () const
 
const intgetMismatches () const
 
int containsPos (int pos) const
 
ED4_SearchPositionget_next_at (int pos) const
 

Detailed Description

Definition at line 60 of file ed4_search.hxx.

Constructor & Destructor Documentation

ED4_SearchPosition::ED4_SearchPosition ( int  sp,
int  ep,
ED4_SearchPositionType  wf,
GB_CSTR  found_comment,
int  mismatches[MAX_MISMATCHES] 
)

Definition at line 775 of file ED4_search.cxx.

References e4_assert, and NULp.

ED4_SearchPosition::~ED4_SearchPosition ( )
inline

Definition at line 79 of file ed4_search.hxx.

ED4_SearchPosition::ED4_SearchPosition ( const ED4_SearchPosition other)

Definition at line 784 of file ED4_search.cxx.

References ARB_strdup(), MAX_MISMATCHES, and NULp.

Member Function Documentation

ED4_SearchPosition::DECLARE_ASSIGNMENT_OPERATOR ( ED4_SearchPosition  )
ED4_SearchPosition * ED4_SearchPosition::insert ( ED4_SearchPosition toAdd)

Definition at line 793 of file ED4_search.cxx.

References NULp.

Referenced by ED4_SearchResults::addSearchPosition().

ED4_SearchPosition * ED4_SearchPosition::remove ( ED4_SearchPositionType  typeToRemove)

Definition at line 815 of file ED4_search.cxx.

References NULp.

Referenced by ED4_SearchResults::search().

ED4_SearchPosition* ED4_SearchPosition::get_next ( ) const
inline
int ED4_SearchPosition::get_start_pos ( ) const
inline
int ED4_SearchPosition::get_end_pos ( ) const
inline
ED4_SearchPositionType ED4_SearchPosition::get_whatsFound ( ) const
inline
GB_CSTR ED4_SearchPosition::get_comment ( ) const

Definition at line 856 of file ED4_search.cxx.

References ARB_strdup(), and NULp.

const int* ED4_SearchPosition::getMismatches ( ) const
inline

Definition at line 93 of file ed4_search.hxx.

Referenced by ED4_SearchResults::buildColorString().

int ED4_SearchPosition::containsPos ( int  pos) const
inline

Definition at line 95 of file ed4_search.hxx.

Referenced by ED4_SearchResults::get_shown_at().

ED4_SearchPosition * ED4_SearchPosition::get_next_at ( int  pos) const

Definition at line 865 of file ED4_search.cxx.

References NULp.

Referenced by ED4_SearchResults::get_shown_at().


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