NCBI C++ ToolKit
Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends
UpdateViewer Class Reference

Search Toolkit Book for UpdateViewer

#include <update_viewer.hpp>

+ Inheritance diagram for UpdateViewer:
+ Collaboration diagram for UpdateViewer:

List of all members.

Classes

struct  StructureAlignmentInfo

Public Types

typedef std::list
< BlockMultipleAlignment * > 
AlignmentList

Public Member Functions

 UpdateViewer (AlignmentManager *alnMgr)
 ~UpdateViewer (void)
void CreateUpdateWindow (void)
void AddAlignments (const AlignmentList &alignmentList)
void ReplaceAlignments (const AlignmentList &alignmentList)
void DeleteAlignment (BlockMultipleAlignment *toDelete)
void ImportSequences (void)
void ImportStructure (void)
void SetInitialState (void)
void SaveDialog (bool prompt)
void SaveAlignments (void)
void BlastUpdate (BlockMultipleAlignment *alignment, bool usePSSMFromMultiple)
void BlastNeighbor (BlockMultipleAlignment *update)
void SavePendingStructures (void)
void SortByIdentifier (void)
void SortByPSSM (void)

Private Types

typedef std::list< const
Sequence * > 
SequenceList
typedef std::list< ncbi::CRef
< ncbi::objects::CBiostruc > > 
BiostrucList
typedef std::list
< StructureAlignmentInfo
PendingStructureAlignments

Private Member Functions

const SequenceGetMasterSequence (void) const
void FetchSequencesViaHTTP (SequenceList *newSequences, StructureSet *sSet) const
void ReadSequencesFromFile (SequenceList *newSequences, StructureSet *sSet) const
void FetchSequences (StructureSet *sSet, SequenceList *newSequences) const
void SortUpdates (void)
void MakeEmptyAlignments (const SequenceList &newSequences, const Sequence *master, AlignmentList *newAlignments) const
void GetVASTAlignments (const SequenceList &newSequences, const Sequence *master, AlignmentList *newAlignments, PendingStructureAlignments *structureAlignments, unsigned int masterFrom=kMax_UInt, unsigned int masterTo=kMax_UInt) const

Private Attributes

UpdateViewerWindowupdateWindow
BiostrucList pendingStructures
PendingStructureAlignments pendingStructureAlignments

Friends

class UpdateViewerWindow
class SequenceDisplay

Detailed Description

Definition at line 56 of file update_viewer.hpp.


Member Typedef Documentation

Reimplemented from ViewerBase.

Definition at line 69 of file update_viewer.hpp.

typedef std::list< ncbi::CRef < ncbi::objects::CBiostruc > > UpdateViewer::BiostrucList [private]

Definition at line 117 of file update_viewer.hpp.

Definition at line 123 of file update_viewer.hpp.

typedef std::list< const Sequence * > UpdateViewer::SequenceList [private]

Definition at line 108 of file update_viewer.hpp.


Constructor & Destructor Documentation

UpdateViewer::UpdateViewer ( AlignmentManager alnMgr)

Definition at line 98 of file update_viewer.cpp.

UpdateViewer::~UpdateViewer ( void  )

Definition at line 110 of file update_viewer.cpp.


Member Function Documentation

void UpdateViewer::AddAlignments ( const AlignmentList alignmentList)
void UpdateViewer::BlastNeighbor ( BlockMultipleAlignment update)
void UpdateViewer::BlastUpdate ( BlockMultipleAlignment alignment,
bool  usePSSMFromMultiple 
)
void UpdateViewer::CreateUpdateWindow ( void  )
void UpdateViewer::DeleteAlignment ( BlockMultipleAlignment toDelete)
void UpdateViewer::FetchSequences ( StructureSet sSet,
SequenceList newSequences 
) const [private]
void UpdateViewer::FetchSequencesViaHTTP ( SequenceList newSequences,
StructureSet sSet 
) const [private]
const Sequence * UpdateViewer::GetMasterSequence ( void  ) const [private]
void UpdateViewer::GetVASTAlignments ( const SequenceList newSequences,
const Sequence master,
AlignmentList newAlignments,
PendingStructureAlignments structureAlignments,
unsigned int  masterFrom = kMax_UInt,
unsigned int  masterTo = kMax_UInt 
) const [private]
void UpdateViewer::ImportSequences ( void  )
void UpdateViewer::ImportStructure ( void  )
void UpdateViewer::MakeEmptyAlignments ( const SequenceList newSequences,
const Sequence master,
AlignmentList newAlignments 
) const [private]

Definition at line 390 of file update_viewer.cpp.

References MakeEmptyAlignment().

Referenced by ImportSequences().

void UpdateViewer::ReadSequencesFromFile ( SequenceList newSequences,
StructureSet sSet 
) const [private]
void UpdateViewer::ReplaceAlignments ( const AlignmentList alignmentList)
void UpdateViewer::SaveAlignments ( void  )
void UpdateViewer::SaveDialog ( bool  prompt) [virtual]

Reimplemented from ViewerBase.

Definition at line 120 of file update_viewer.cpp.

References UpdateViewerWindow::SaveDialog(), and updateWindow.

void UpdateViewer::SavePendingStructures ( void  )
void UpdateViewer::SetInitialState ( void  )
void UpdateViewer::SortByIdentifier ( void  )
void UpdateViewer::SortByPSSM ( void  )
void UpdateViewer::SortUpdates ( void  ) [private]

Friends And Related Function Documentation

friend class SequenceDisplay [friend]

Reimplemented from ViewerBase.

Definition at line 59 of file update_viewer.hpp.

friend class UpdateViewerWindow [friend]

Definition at line 58 of file update_viewer.hpp.

Referenced by CreateUpdateWindow().


Member Data Documentation

Definition at line 124 of file update_viewer.hpp.

Referenced by ImportStructure(), and SavePendingStructures().

Definition at line 118 of file update_viewer.hpp.

Referenced by ImportStructure(), and SavePendingStructures().

Definition at line 105 of file update_viewer.hpp.

Referenced by AddAlignments(), CreateUpdateWindow(), and SaveDialog().


The documentation for this class was generated from the following files:
Modified on Wed May 23 13:03:47 2012 by modify_doxy.py rev. 337098