NCBI C++ ToolKit
|
Search Toolkit Book for DisplayRowFromSequence
#include "sequence_display.hpp"
(Private to src/app/cn3d
.)
Public Member Functions | |
DisplayRowFromSequence (const Sequence *s, unsigned int from, unsigned int to) | |
virtual | ~DisplayRowFromSequence (void) |
unsigned int | Width (void) const |
DisplayRow * | Clone (const Old2NewAlignmentMap &newAlignments) const |
bool | GetCharacterTraitsAt (unsigned int column, BlockMultipleAlignment::eUnalignedJustification justification, char *character, Vector *color, bool *drawBackground, Vector *cellBackgroundColor) const |
bool | GetSequenceAndIndexAt (unsigned int column, BlockMultipleAlignment::eUnalignedJustification justification, const Sequence **sequenceHandle, int *index) const |
const Sequence * | GetSequence (void) const |
void | SelectedRange (unsigned int from, unsigned int to, BlockMultipleAlignment::eUnalignedJustification justification, bool toggle) const |
Public Member Functions inherited from DisplayRow | |
virtual | ~DisplayRow (void) |
Public Attributes | |
const Sequence *const | sequence |
const unsigned int | fromIndex |
const unsigned int | toIndex |
Definition at line 110 of file sequence_display.hpp.
DisplayRowFromSequence::DisplayRowFromSequence | ( | const Sequence * | s, |
unsigned int | from, | ||
unsigned int | to | ||
) |
Definition at line 111 of file sequence_display.cpp.
References ERRORMSG, Sequence::Length(), and sequence.
Referenced by Clone().
|
inlinevirtual |
Definition at line 117 of file sequence_display.hpp.
|
inlinevirtual |
Implements DisplayRow.
Definition at line 121 of file sequence_display.hpp.
References DisplayRowFromSequence(), fromIndex, sequence, and toIndex.
|
virtual |
Implements DisplayRow.
Definition at line 118 of file sequence_display.cpp.
References color, column, Colors::eHighlight, fromIndex, Colors::Get(), Molecule::GetResidueColor(), GlobalColors(), GlobalMessenger(), Sequence::molecule, sequence, Sequence::sequenceString, toIndex, and tolower().
|
virtual |
Implements DisplayRow.
Definition at line 141 of file sequence_display.cpp.
|
virtual |
Implements DisplayRow.
Definition at line 154 of file sequence_display.cpp.
References Messenger::AddHighlights(), fromIndex, GlobalMessenger(), sequence, Messenger::ToggleHighlights(), and toIndex.
|
inlinevirtual |
Implements DisplayRow.
Definition at line 119 of file sequence_display.hpp.
Definition at line 114 of file sequence_display.hpp.
Referenced by Clone(), GetCharacterTraitsAt(), SequenceDisplay::GetDisplayCoordinates(), GetSequenceAndIndexAt(), SelectedRange(), and Width().
Definition at line 113 of file sequence_display.hpp.
Referenced by Clone(), DisplayRowFromSequence(), GetCharacterTraitsAt(), GetSequence(), GetSequenceAndIndexAt(), and SelectedRange().
Definition at line 114 of file sequence_display.hpp.
Referenced by Clone(), GetCharacterTraitsAt(), GetSequenceAndIndexAt(), SelectedRange(), and Width().