NCBI C++ ToolKit
|
Search Toolkit Book for IWMClient::CFingerprint
CFingerprint identifies an instance of IWMClient and is used for labeling layout positions. More...
#include <gui/widgets/wx/wm_client.hpp>
Public Member Functions | |
CFingerprint () | |
IWMClient::CFingerprint. More... | |
CFingerprint (const string &id, bool persistent) | |
CFingerprint (const CFingerprint &orig) | |
bool | operator== (const CFingerprint &orig) const |
bool | IsEmpty () const |
string | AsPersistentString () const |
returns a string for serialization (if persistent) or "" More... | |
void | FromPersistentString (const string &s) |
const string | GetId () const |
Protected Attributes | |
string | m_Id |
bool | m_Persistent |
CFingerprint identifies an instance of IWMClient and is used for labeling layout positions.
If Fingerprint is persistent it will be saved with the layout and when the layout is loaded a client will be automatically instantiated based on the saved fingerprint using a client factory.
Definition at line 57 of file wm_client.hpp.
IWMClient::CFingerprint::CFingerprint | ( | ) |
Definition at line 60 of file window_manager.cpp.
Definition at line 66 of file window_manager.cpp.
IWMClient::CFingerprint::CFingerprint | ( | const CFingerprint & | orig | ) |
Definition at line 73 of file window_manager.cpp.
string IWMClient::CFingerprint::AsPersistentString | ( | ) | const |
returns a string for serialization (if persistent) or ""
Definition at line 92 of file window_manager.cpp.
References kEmptyStr.
Referenced by CDockLayoutTree::LogPost(), and CDockLayoutTree::CNode::ToUserObject().
Definition at line 126 of file window_manager.cpp.
Referenced by CDockLayoutTree::CNode::FromUserObject().
Definition at line 97 of file window_manager.cpp.
References kEmptyStr, NStr::Split(), and NStr::TruncateSpacesInPlace().
Referenced by FClientCreator::operator()(), and FClientFinder::operator()().
bool IWMClient::CFingerprint::IsEmpty | ( | void | ) | const |
Definition at line 86 of file window_manager.cpp.
Referenced by CDockContainer::AddClientToDefaultLocation(), FNodeHasFingerprint::operator()(), FClientFinder::operator()(), CDockLayoutTree::CNode::ToUserObject(), and CDockContainer::x_Full_RemoveNode().
bool IWMClient::CFingerprint::operator== | ( | const CFingerprint & | orig | ) | const |
Definition at line 80 of file window_manager.cpp.
References orig.
|
protected |
Definition at line 74 of file wm_client.hpp.
|
protected |
Definition at line 75 of file wm_client.hpp.