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

Search Toolkit Book for CDBLinkFieldType

#include <gui/widgets/edit/dblink_fieldtype.hpp>

Public Types

enum  EDBLinkFieldType {
  eDBLinkFieldType_Trace = 0 , eDBLinkFieldType_BioSample , eDBLinkFieldType_ProbeDB , eDBLinkFieldType_SRA ,
  eDBLinkFieldType_BioProject , eDBLinkFieldType_Assembly , eDBLinkFieldType_Unknown
}
 

Static Public Member Functions

static vector< stringGetFieldNames ()
 
static EDBLinkFieldType GetTypeForLabel (string label)
 
static string GetLabelForType (EDBLinkFieldType field_type)
 
static void NormalizeDBLinkFieldName (string &orig_label)
 

Detailed Description

Definition at line 38 of file dblink_fieldtype.hpp.

Member Enumeration Documentation

◆ EDBLinkFieldType

Enumerator
eDBLinkFieldType_Trace 
eDBLinkFieldType_BioSample 
eDBLinkFieldType_ProbeDB 
eDBLinkFieldType_SRA 
eDBLinkFieldType_BioProject 
eDBLinkFieldType_Assembly 
eDBLinkFieldType_Unknown 

Definition at line 41 of file dblink_fieldtype.hpp.

Member Function Documentation

◆ GetFieldNames()

vector< string > CDBLinkFieldType::GetFieldNames ( )
static

◆ GetLabelForType()

string CDBLinkFieldType::GetLabelForType ( CDBLinkFieldType::EDBLinkFieldType  field_type)
static

◆ GetTypeForLabel()

CDBLinkFieldType::EDBLinkFieldType CDBLinkFieldType::GetTypeForLabel ( string  label)
static

◆ NormalizeDBLinkFieldName()

void CDBLinkFieldType::NormalizeDBLinkFieldName ( string orig_label)
static

Definition at line 89 of file dblink_fieldtype.cpp.

References NStr::StartsWith().

Referenced by GetTypeForLabel().


The documentation for this class was generated from the following files:
Modified on Wed Apr 24 14:20:34 2024 by modify_doxy.py rev. 669887