NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
CFastaAlignExportPage Class Reference

Search Toolkit Book for CFastaAlignExportPage

#include "fasta_align_export_page.hpp"
(Private to src/gui/packages/pkg_alignment.)

+ Inheritance diagram for CFastaAlignExportPage:
+ Collaboration diagram for CFastaAlignExportPage:

Public Types

enum  { ID_CFASTAALIGNEXPORTPAGE = 10051 , ID_PANEL4 = 10077 , ID_TEXTCTRL14 = 10078 , ID_BITMAPBUTTON = 10079 }
 

Public Member Functions

 CFastaAlignExportPage ()
 
 CFastaAlignExportPage (wxWindow *parent, wxWindowID id=ID_CFASTAALIGNEXPORTPAGE, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CFASTAALIGNEXPORTPAGE, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
 ~CFastaAlignExportPage ()
 
void Init ()
 
virtual void SetRegistryPath (const string &path)
 IRegSettings. More...
 
virtual void SaveSettings () const
 
virtual void LoadSettings ()
 
void CreateControls ()
 
virtual bool TransferDataFromWindow ()
 
void SetObjects (TConstScopedObjects &objects)
 
void OnObjectSelected (wxListEvent &event)
 
void OnFileNameEdited (wxKeyEvent &event)
 
void OnSelectFileClick (wxCommandEvent &event)
 
CFastaAlignExportParamsGetData ()
 
const CFastaAlignExportParamsGetData () const
 
void SetData (const CFastaAlignExportParams &data)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 

Static Public Member Functions

static bool ShowToolTips ()
 

Public Attributes

CObjectListWidgetm_ObjectSel
 
CFastaAlignExportParams m_data
 

Private Member Functions

void x_SanitizePath (wxString &path)
 

Private Attributes

string m_RegPath
 
bool m_FileSelected
 
std::unique_ptr< CSaveFileHelperm_SaveFile
 

Detailed Description

CFastaAlignExportPage class declaration

Definition at line 78 of file fasta_align_export_page.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_CFASTAALIGNEXPORTPAGE 
ID_PANEL4 
ID_TEXTCTRL14 
ID_BITMAPBUTTON 

Definition at line 130 of file fasta_align_export_page.hpp.

Constructor & Destructor Documentation

◆ CFastaAlignExportPage() [1/2]

CFastaAlignExportPage::CFastaAlignExportPage ( )

Definition at line 72 of file fasta_align_export_page.cpp.

References Init().

◆ CFastaAlignExportPage() [2/2]

CFastaAlignExportPage::CFastaAlignExportPage ( wxWindow *  parent,
wxWindowID  id = ID_CFASTAALIGNEXPORTPAGE,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ ~CFastaAlignExportPage()

CFastaAlignExportPage::~CFastaAlignExportPage ( )

Definition at line 101 of file fasta_align_export_page.cpp.

Member Function Documentation

◆ Create()

bool CFastaAlignExportPage::Create ( wxWindow *  parent,
wxWindowID  id = ID_CFASTAALIGNEXPORTPAGE,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

◆ CreateControls()

void CFastaAlignExportPage::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CFastaAlignExportPage::GetBitmapResource ( const wxString &  name)

Definition at line 155 of file fasta_align_export_page.cpp.

Referenced by CreateControls().

◆ GetData() [1/2]

CFastaAlignExportParams& CFastaAlignExportPage::GetData ( void  )
inline

◆ GetData() [2/2]

const CFastaAlignExportParams& CFastaAlignExportPage::GetData ( void  ) const
inline

Definition at line 117 of file fasta_align_export_page.hpp.

References m_data.

◆ GetIconResource()

wxIcon CFastaAlignExportPage::GetIconResource ( const wxString &  name)

Definition at line 159 of file fasta_align_export_page.cpp.

◆ Init()

void CFastaAlignExportPage::Init ( void  )

Definition at line 107 of file fasta_align_export_page.cpp.

References m_ObjectSel, and NULL.

Referenced by CFastaAlignExportPage().

◆ LoadSettings()

void CFastaAlignExportPage::LoadSettings ( )
virtual

◆ OnFileNameEdited()

void CFastaAlignExportPage::OnFileNameEdited ( wxKeyEvent &  event)

Definition at line 277 of file fasta_align_export_page.cpp.

References m_FileSelected.

Referenced by CreateControls().

◆ OnObjectSelected()

void CFastaAlignExportPage::OnObjectSelected ( wxListEvent &  event)

◆ OnSelectFileClick()

void CFastaAlignExportPage::OnSelectFileClick ( wxCommandEvent &  event)

◆ SaveSettings()

void CFastaAlignExportPage::SaveSettings ( ) const
virtual

◆ SetData()

void CFastaAlignExportPage::SetData ( const CFastaAlignExportParams data)
inline

Definition at line 118 of file fasta_align_export_page.hpp.

References data, and m_data.

Referenced by CFastaAlignExporter::GetCurrentPanel().

◆ SetObjects()

void CFastaAlignExportPage::SetObjects ( TConstScopedObjects objects)

◆ SetRegistryPath()

void CFastaAlignExportPage::SetRegistryPath ( const string path)
virtual

IRegSettings.

Definition at line 242 of file fasta_align_export_page.cpp.

References m_RegPath.

Referenced by CFastaAlignExporter::GetCurrentPanel().

◆ ShowToolTips()

bool CFastaAlignExportPage::ShowToolTips ( )
static

Definition at line 151 of file fasta_align_export_page.cpp.

Referenced by CreateControls().

◆ TransferDataFromWindow()

bool CFastaAlignExportPage::TransferDataFromWindow ( )
virtual

◆ x_SanitizePath()

void CFastaAlignExportPage::x_SanitizePath ( wxString &  path)
private

Definition at line 199 of file fasta_align_export_page.cpp.

References remove().

Referenced by OnObjectSelected().

Member Data Documentation

◆ m_data

CFastaAlignExportParams CFastaAlignExportPage::m_data

Definition at line 129 of file fasta_align_export_page.hpp.

Referenced by GetData(), and SetData().

◆ m_FileSelected

bool CFastaAlignExportPage::m_FileSelected
private

◆ m_ObjectSel

CObjectListWidget* CFastaAlignExportPage::m_ObjectSel

◆ m_RegPath

string CFastaAlignExportPage::m_RegPath
private

Definition at line 142 of file fasta_align_export_page.hpp.

Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().

◆ m_SaveFile

std::unique_ptr<CSaveFileHelper> CFastaAlignExportPage::m_SaveFile
private

The documentation for this class was generated from the following files:
Modified on Wed Sep 04 14:59:15 2024 by modify_doxy.py rev. 669887