NCBI C++ ToolKit
|
Search Toolkit Book for CSimpleClipboard
#include <gui/widgets/wx/simple_clipboard.hpp>
Public Member Functions | |
template<typename T > | |
bool | IsAvailable () const |
template<typename T > | |
T | Get () const |
template<typename T > | |
void | Set (const T &val) |
void | Clear () |
wxString | MakeWxString () const |
string | MakeString () const |
!!! name is not good !!! More... | |
template<> | |
bool | IsAvailable () const |
template<> | |
wxBitmap | Get () const |
template<> | |
bool | IsAvailable () const |
template<> | |
wxFileName | Get () const |
template<> | |
bool | IsAvailable () const |
template<> | |
string | Get () const |
template<> | |
void | Set (const string &val) |
Static Public Member Functions | |
static CSimpleClipboard & | Instance () |
Private Member Functions | |
CSimpleClipboard () | |
Static Private Attributes | |
static unique_ptr< CSimpleClipboard > | m_Clipboard |
Definition at line 63 of file simple_clipboard.hpp.
|
inlineprivate |
Definition at line 113 of file simple_clipboard.hpp.
Referenced by Instance().
void CSimpleClipboard::Clear | ( | void | ) |
Definition at line 51 of file simple_clipboard.cpp.
|
inline |
Definition at line 77 of file simple_clipboard.hpp.
References eUnknown, NCBI_THROW, and CwxClipboardHelper< T >::x_Get().
Referenced by CUpdateSeq_Input::ReadUpdateSequenceFromClipboard(), and CUpdateMultipleSeq_Input::ReadUpdSeqs_FromClipboard().
wxBitmap CSimpleClipboard::Get | ( | ) | const |
wxFileName CSimpleClipboard::Get | ( | ) | const |
|
inline |
Definition at line 139 of file simple_clipboard.hpp.
References ToStdString().
|
static |
Definition at line 39 of file simple_clipboard.cpp.
References CSimpleClipboard(), m_Clipboard, and NULL.
Referenced by CSeqTextPane::OnCopy(), CDataMiningPanel::OnCustomCopy(), CUpdateSeq_Input::ReadUpdateSequenceFromClipboard(), CUpdateMultipleSeq_Input::ReadUpdSeqs_FromClipboard(), CObjectListWidget::x_OnCopy(), and CwxTableListCtrl::x_OnCopy().
|
inline |
Definition at line 69 of file simple_clipboard.hpp.
References CwxClipboardHelper< T >::x_Available().
bool CSimpleClipboard::IsAvailable | ( | ) | const |
bool CSimpleClipboard::IsAvailable | ( | ) | const |
|
inline |
Definition at line 134 of file simple_clipboard.hpp.
|
inline |
!!! name is not good !!!
Definition at line 109 of file simple_clipboard.hpp.
References MakeWxString(), and ToStdString().
wxString CSimpleClipboard::MakeWxString | ( | ) | const |
Definition at line 184 of file simple_clipboard.hpp.
References ToWxString(), and val.
Definition at line 97 of file simple_clipboard.hpp.
References val, and CwxClipboardHelper< T >::x_Set().
Referenced by CSeqTextPane::OnCopy(), CDataMiningPanel::OnCustomCopy(), CObjectListWidget::x_OnCopy(), and CwxTableListCtrl::x_OnCopy().
|
staticprivate |
Definition at line 116 of file simple_clipboard.hpp.
Referenced by Instance().