Go to the SVN repository for this file.
1 #ifndef GUI_UTILS___LABEL__HPP 2 #define GUI_UTILS___LABEL__HPP 87objects::CScope* scope
92 static voidRegisterLabelHandler(
const string&
type,
99 static boolHasHandler(
const string&
type);
101 static voidRegisterTypeIcon(
const string& user_type,
102 const string& user_subtype,
103 const string& icon_alias);
104 static stringGetTypeIconAlias(
const string& user_type,
105 const string& user_subtype);
106 static stringGetTypeIconAlias(
const string& user_type);
108 static voidGetIconAlias(
const CObject& obj,
string* alias,
109objects::CScope* scope =
NULL);
118 static voidTruncateLabel(
string*
label,
119 unsignedlength_limit,
120 unsignedlength_tolerance);
122 static voidSetLabelByData(objects::CProjectItem& item, objects::CScope* scope =
NULL);
140objects::CScope* scope)
const= 0;
152 static voidInitCache();
155 static voidStopCache();
159 static voidCacheSeqId(
constobjects::CSeq_id&
id, objects::CScope* scope);
Class to control runtime cache for description labels label generation can be slow if we need to retr...
CTypeInfo class contains all information about C++ types (both basic and classes): members and layout...
void(*)(CSeq_entry_Handle seh, IWorkbench *wb, const CSerialObject &obj) handler
static const char * str(char *buf, int n)
map< string, string > TAliasMap
static void GetLabel(const CObject &obj, string *label, ELabelType type, objects::CScope *scope)
map< string, CRef< ILabelHandler > > TLabelMap
virtual void GetLabel(const CObject &obj, string *str, CLabel::ELabelType type, objects::CScope *scope) const =0
static TLabelMap sm_LabelMap
static TAliasMap sm_AliasMap
string GetLabel(const CSeq_id &id)
ELabelType
For compatibility with legacy code.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_GUIOBJUTILS_EXPORT
static const char label[]
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4