ARB
Public Member Functions | Static Public Member Functions | List of all members
ED4_SearchResults Class Reference

#include <ed4_search.hxx>

Inheritance diagram for ED4_SearchResults:
Inheritance graph
[legend]
Collaboration diagram for ED4_SearchResults:
Collaboration graph
[legend]

Public Member Functions

 ED4_SearchResults ()
 
 ~ED4_SearchResults ()
 
void search (const ED4_sequence_terminal *seq_terminal)
 
void addSearchPosition (ED4_SearchPosition *pos)
 
ED4_SearchPositionget_first () const
 
ED4_SearchPositionget_first_at (ED4_SearchPositionType type, int start, int end) const
 
ED4_SearchPositionget_first_starting_after (ED4_SearchPositionType type, int pos, int mustBeShown) const
 
ED4_SearchPositionget_last_starting_before (ED4_SearchPositionType type, int pos, int mustBeShown) const
 
ED4_SearchPositionget_shown_at (int pos) const
 
void searchAgain ()
 
charbuildColorString (const ED4_sequence_terminal *seq_terminal, int start, int end)
 

Static Public Member Functions

static void setNewSearch (ED4_SearchPositionType type)
 

Detailed Description

Definition at line 106 of file ed4_search.hxx.

Constructor & Destructor Documentation

ED4_SearchResults::ED4_SearchResults ( )

Definition at line 885 of file ED4_search.cxx.

References ARB_calloc(), buffer, initialized, NULp, resultsAreShown(), and SEARCH_PATTERNS.

ED4_SearchResults::~ED4_SearchResults ( )

Definition at line 910 of file ED4_search.cxx.

Member Function Documentation

void ED4_SearchResults::search ( const ED4_sequence_terminal seq_terminal)
void ED4_SearchResults::addSearchPosition ( ED4_SearchPosition pos)

Definition at line 927 of file ED4_search.cxx.

References e4_assert, and ED4_SearchPosition::insert().

Referenced by reportSearchPosition().

ED4_SearchPosition* ED4_SearchResults::get_first ( ) const
inline

Definition at line 137 of file ed4_search.hxx.

Referenced by buildColorString(), and get_shown_at().

ED4_SearchPosition * ED4_SearchResults::get_first_at ( ED4_SearchPositionType  type,
int  start,
int  end 
) const
ED4_SearchPosition * ED4_SearchResults::get_first_starting_after ( ED4_SearchPositionType  type,
int  pos,
int  mustBeShown 
) const
ED4_SearchPosition * ED4_SearchResults::get_last_starting_before ( ED4_SearchPositionType  type,
int  pos,
int  mustBeShown 
) const
ED4_SearchPosition * ED4_SearchResults::get_shown_at ( int  pos) const
void ED4_SearchResults::setNewSearch ( ED4_SearchPositionType  type)
static

Definition at line 1079 of file ED4_search.cxx.

References ED4_ANY_PATTERN, resultsAreShown(), SEARCH_PATTERNS, and type.

Referenced by searchParamsChanged().

void ED4_SearchResults::searchAgain ( )

Definition at line 1096 of file ED4_search.cxx.

References SEARCH_PATTERNS.

Referenced by call_edit(), and executeKeystroke().

char * ED4_SearchResults::buildColorString ( const ED4_sequence_terminal seq_terminal,
int  start,
int  end 
)

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