NCBI C++ ToolKit
Classes | Macros | Functions | Variables
type.c File Reference
#include "common.h"
#include <common/test_assert.h>
+ Include dependency graph for type.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  type
 

Macros

#define FLAG_C   1
 
#define FLAG_SQL   2
 
#define TYPE_C(s)   {s, #s, FLAG_C }
 
#define TYPE_SQL(s)   {s, #s, FLAG_SQL }
 
#define TYPE_BOTH(s, s2)   {s, #s, FLAG_SQL|FLAG_C }
 

Functions

static const char * get_type_name (SQLSMALLINT type)
 
static void check_msg (int check, const char *msg)
 
int main (int argc, char **argv)
 

Variables

static const struct type types []
 
static int result = 0
 

Macro Definition Documentation

◆ FLAG_C

#define FLAG_C   1

Definition at line 12 of file type.c.

◆ FLAG_SQL

#define FLAG_SQL   2

Definition at line 13 of file type.c.

◆ TYPE_BOTH

#define TYPE_BOTH (   s,
  s2 
)    {s, #s, FLAG_SQL|FLAG_C }

Definition at line 17 of file type.c.

◆ TYPE_C

#define TYPE_C (   s)    {s, #s, FLAG_C }

Definition at line 15 of file type.c.

◆ TYPE_SQL

#define TYPE_SQL (   s)    {s, #s, FLAG_SQL }

Definition at line 16 of file type.c.

Function Documentation

◆ check_msg()

static void check_msg ( int  check,
const char *  msg 
)
static

Definition at line 88 of file type.c.

References check, msg(), and result.

Referenced by main().

◆ get_type_name()

static const char* get_type_name ( SQLSMALLINT  type)
static

Definition at line 75 of file type.c.

References type::name, type::type, and types.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ result

int result = 0
static

Definition at line 85 of file type.c.

Referenced by check_msg(), and main().

◆ types

const struct type types[]
static

Definition at line 1 of file type.c.

Referenced by CResolvedTypeSet::Add(), CDataTypeModule::AddImports(), AlignModelToSeqalign(), call_with_args(), CHugeFileProcess::CHugeFileProcess(), CDataTypeModule::CollectAllTypeinfo(), CFileModules::CollectAllTypeinfo(), CFileSet::CollectAllTypeinfo(), CDataSourcesPage::CreateControls(), CApplyIndexerComments::CreateControls(), CCorrectIntervalOrder::CreateControls(), CRemoveFeaturesDlg::CreateControls(), CBondPanel::CreateControls(), CSitePanel::CreateControls(), CAggregateFeatureTrackFactory::CreateTracks(), CSniffReader::CSniffReader(), CServiceDiscovery::DiscoverImpl(), SNetServiceImpl::DiscoverServersIfNeeded(), ASNParser::Exports(), CFileSet::ExternalResolve(), CDataTypeModule::ExternalResolve(), get_type_name(), CFileCode::GetClasses(), CClassTypeInfoBase::GetClassInfoById(), CHitMatrixRenderer::GetGraphTypes(), CDensityMapDS::GetGraphTypes(), PT::GetItemTypes(), CDataSource::GetLoadedBlob_ids(), CMTreeItemDataBuilder::GetMActionType(), CMActionTree::GetMActionTypesForTarget(), CMacroEditorContext::GetncRNAClassTypes(), GetOrg_refOrNull(), CBamAlignIterator::GetRawCIGAR(), CAggregateFeatureTrack::GetTypeList(), CCodeGenerator::GetTypes(), CVariationUtilities::GetVariationType(), CAlignGroup::GroupBySequenceType(), ASNParser::Imports(), CFeatureTypePanel::ListPresentFeaturesFirst(), CProcessor_AnnotInfo::LoadBlob(), main(), CBlobSplitterImpl::MakeID2Chunk(), CProjectTreePanel::OnUpdateEnableDisable(), CHugeFileProcess::Open(), CHugeFileProcess::OpenFile(), CServiceDiscovery::operator()(), CCgiRequestProcessor::ParseAcceptHeader(), PromoteFeatures(), CFileModules::ResolveInAnyModule(), CFileSet::ResolveInAnyModule(), s_CreateNAChunk(), s_GetMActionTypesForCDSGeneProt(), s_GetMActionTypesForMisc(), s_GetMActionTypesForMolinfo(), s_GetMActionTypesForRna(), s_GetMActionTypesForTarget(), s_GetNextInfo(), s_LoadSingleService(), s_Open(), s_ServiceConnectorBuilder(), CTemplateScoringMethod::SaveInfo(), SERV_GetInfo(), SERV_GetInfoEx(), SERV_GetInfoP(), SERV_GetServers(), SERV_LBDNS_Open(), SERV_LINKERD_Open(), SERV_NAMERD_Open(), SERV_Open(), SERV_OpenEx(), SERV_OpenP(), SERV_Print(), SERVICE_CreateConnectorEx(), CAggregateFeatureTrack::SetFeatTypes(), CPromote::SetFeatTypes(), CFeatureFilterDlg::SetTypeNames(), CInferencePanel::SetValue(), sljit_emit_enter(), tail_call_with_args(), tds_all_types(), CTabDelimitedValidator::ValidateInput(), CBioseq_Base_Info::x_AddDescrChunkId(), CEditMolinfoFieldsTreeItemData::x_AddParamPanel(), x_ConsistencyCheck(), CBioseq_Base_Info::x_FindDesc(), CLDS2_ObjectParser::x_GetBlobType(), CProjectTreePanel::x_GetContextMenu(), CMacroFeatsOnSeqPanel::x_GetFeatureChoices(), CBioseq_Base_Info::x_GetFirstDesc(), CSeq_entry_Info::x_GetFirstDesc(), CDataSource::x_GetLoadedBlob_ids(), CBioseq_Base_Info::x_GetNextDesc(), CSeq_entry_Info::x_GetNextDesc(), CAlnMap::x_GetRawSegType(), x_HasFeatIds(), x_HasFeatType(), CBulkOtherAddPanel::x_ListFeatures(), CAlignOtherAddPanel::x_ListFeatures(), x_Open(), CMacroEditingActionPanel::x_PopulateTreeCtrl(), CBioseq_Base_Info::x_PrefetchDesc(), CAlnMap::x_SetRawSegTypes(), x_SetupFromNamerd(), CHitMatrixRenderer::x_SetupGraphTypes(), CFormatGuessEx::xGuessGenbankObjectType(), and xTryProductRules().

Modified on Fri Sep 20 14:57:09 2024 by modify_doxy.py rev. 669887