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

Search Toolkit Book for CAsnExportPage

#include "asn_export_page.hpp"
(Private to src/gui/core.)

+ Inheritance diagram for CAsnExportPage:
+ Collaboration diagram for CAsnExportPage:

Public Types

enum  {
  ID_CASNEXPORTPAGE = 10036 , ID_PANEL2 = 10037 , ID_RADIOBOX3 = 10039 , ID_TEXTCTRL6 = 10054 ,
  ID_BITMAPBUTTON = 10055
}
 

Public Member Functions

 CAsnExportPage ()
 
 CAsnExportPage (wxWindow *parent, wxWindowID id=ID_CASNEXPORTPAGE, const wxPoint &pos=wxDefaultPosition, long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CASNEXPORTPAGE, const wxPoint &pos=wxDefaultPosition, long style=wxTAB_TRAVERSAL)
 
 ~CAsnExportPage ()
 
void Init ()
 
virtual void SetRegistryPath (const string &path)
 IRegSettings. More...
 
virtual void SaveSettings () const
 
virtual void LoadSettings ()
 
void CreateControls ()
 
virtual bool TransferDataToWindow ()
 
virtual bool TransferDataFromWindow ()
 
void OnSelectFileClick (wxCommandEvent &event)
 
CAsnExportParamsGetData ()
 
const CAsnExportParamsGetData () const
 
void SetData (const CAsnExportParams &data)
 
wxBitmap GetBitmapResource (const wxString &name)
 
wxIcon GetIconResource (const wxString &name)
 
- Public Member Functions inherited from IRegSettings
virtual ~IRegSettings ()
 

Static Public Member Functions

static bool ShowToolTips ()
 

Public Attributes

CObjectListWidgetm_ObjectSel
 
wxTextCtrl * m_FileNameCtrl
 
CAsnExportParams m_data
 

Private Attributes

string m_RegPath
 
std::unique_ptr< CSaveFileHelperm_SaveFile
 

Detailed Description

CAsnExportPage class declaration

Definition at line 72 of file asn_export_page.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_CASNEXPORTPAGE 
ID_PANEL2 
ID_RADIOBOX3 
ID_TEXTCTRL6 
ID_BITMAPBUTTON 

Definition at line 122 of file asn_export_page.hpp.

Constructor & Destructor Documentation

◆ CAsnExportPage() [1/2]

CAsnExportPage::CAsnExportPage ( )

Definition at line 68 of file asn_export_page.cpp.

References Init().

◆ CAsnExportPage() [2/2]

CAsnExportPage::CAsnExportPage ( wxWindow *  parent,
wxWindowID  id = ID_CASNEXPORTPAGE,
const wxPoint &  pos = wxDefaultPosition,
long  style = wxTAB_TRAVERSAL 
)

Definition at line 73 of file asn_export_page.cpp.

References Create(), and Init().

◆ ~CAsnExportPage()

CAsnExportPage::~CAsnExportPage ( )

Definition at line 94 of file asn_export_page.cpp.

Member Function Documentation

◆ Create()

bool CAsnExportPage::Create ( wxWindow *  parent,
wxWindowID  id = ID_CASNEXPORTPAGE,
const wxPoint &  pos = wxDefaultPosition,
long  style = wxTAB_TRAVERSAL 
)

Definition at line 79 of file asn_export_page.cpp.

References CreateControls().

Referenced by CAsnExportPage().

◆ CreateControls()

void CAsnExportPage::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CAsnExportPage::GetBitmapResource ( const wxString &  name)

Definition at line 156 of file asn_export_page.cpp.

Referenced by CreateControls().

◆ GetData() [1/2]

CAsnExportParams& CAsnExportPage::GetData ( void  )
inline

Definition at line 107 of file asn_export_page.hpp.

References m_data.

Referenced by CreateControls(), CAsnExporter::DoTransition(), and TransferDataFromWindow().

◆ GetData() [2/2]

const CAsnExportParams& CAsnExportPage::GetData ( void  ) const
inline

Definition at line 108 of file asn_export_page.hpp.

References m_data.

◆ GetIconResource()

wxIcon CAsnExportPage::GetIconResource ( const wxString &  name)

Definition at line 160 of file asn_export_page.cpp.

◆ Init()

void CAsnExportPage::Init ( void  )

Definition at line 100 of file asn_export_page.cpp.

References m_FileNameCtrl, m_ObjectSel, and NULL.

Referenced by CAsnExportPage().

◆ LoadSettings()

void CAsnExportPage::LoadSettings ( )
virtual

◆ OnSelectFileClick()

void CAsnExportPage::OnSelectFileClick ( wxCommandEvent &  event)

Definition at line 231 of file asn_export_page.cpp.

References _ASSERT, CFileExtensions::kASN, and m_SaveFile.

◆ SaveSettings()

void CAsnExportPage::SaveSettings ( ) const
virtual

◆ SetData()

void CAsnExportPage::SetData ( const CAsnExportParams data)
inline

Definition at line 109 of file asn_export_page.hpp.

References data, and m_data.

Referenced by CAsnExporter::GetCurrentPanel().

◆ SetRegistryPath()

void CAsnExportPage::SetRegistryPath ( const string path)
virtual

IRegSettings.

Implements IRegSettings.

Definition at line 203 of file asn_export_page.cpp.

References m_RegPath.

Referenced by CAsnExporter::GetCurrentPanel().

◆ ShowToolTips()

bool CAsnExportPage::ShowToolTips ( )
static

Definition at line 152 of file asn_export_page.cpp.

Referenced by CreateControls().

◆ TransferDataFromWindow()

bool CAsnExportPage::TransferDataFromWindow ( )
virtual

◆ TransferDataToWindow()

bool CAsnExportPage::TransferDataToWindow ( )
virtual

Member Data Documentation

◆ m_data

CAsnExportParams CAsnExportPage::m_data

Definition at line 121 of file asn_export_page.hpp.

Referenced by GetData(), SetData(), and TransferDataToWindow().

◆ m_FileNameCtrl

wxTextCtrl* CAsnExportPage::m_FileNameCtrl

Definition at line 120 of file asn_export_page.hpp.

Referenced by CreateControls(), and Init().

◆ m_ObjectSel

CObjectListWidget* CAsnExportPage::m_ObjectSel

◆ m_RegPath

string CAsnExportPage::m_RegPath
private

Definition at line 132 of file asn_export_page.hpp.

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

◆ m_SaveFile

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

Definition at line 133 of file asn_export_page.hpp.

Referenced by CreateControls(), OnSelectFileClick(), and TransferDataFromWindow().


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:58:00 2024 by modify_doxy.py rev. 669887