NCBI C++ ToolKit
Macros | Functions
genbank_gather.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/general/User_field.hpp>
#include <objects/seq/Bioseq.hpp>
#include <objmgr/seqdesc_ci.hpp>
#include <objmgr/util/sequence.hpp>
#include <objects/misc/sequence_macros.hpp>
#include <objtools/format/item_ostream.hpp>
#include <objtools/format/items/locus_item.hpp>
#include <objtools/format/items/defline_item.hpp>
#include <objtools/format/items/accession_item.hpp>
#include <objtools/format/items/version_item.hpp>
#include <objtools/format/items/dbsource_item.hpp>
#include <objtools/format/items/segment_item.hpp>
#include <objtools/format/items/keywords_item.hpp>
#include <objtools/format/items/source_item.hpp>
#include <objtools/format/items/reference_item.hpp>
#include <objtools/format/items/comment_item.hpp>
#include <objtools/format/items/basecount_item.hpp>
#include <objtools/format/items/sequence_item.hpp>
#include <objtools/format/items/ctrl_items.hpp>
#include <objtools/format/items/feature_item.hpp>
#include <objtools/format/items/primary_item.hpp>
#include <objtools/format/items/wgs_item.hpp>
#include <objtools/format/items/tsa_item.hpp>
#include <objtools/format/items/genome_item.hpp>
#include <objtools/format/items/contig_item.hpp>
#include <objtools/format/items/origin_item.hpp>
#include <objtools/format/items/genome_project_item.hpp>
#include <objtools/format/items/html_anchor_item.hpp>
#include <objtools/format/gather_items.hpp>
#include <objtools/format/genbank_gather.hpp>
#include <objtools/format/context.hpp>
+ Include dependency graph for genbank_gather.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define FOR_EACH_SEQID_ON_BIOSEQ_HANDLE(Itr, Var)   ITERATE (CBioseq_Handle::TId, Itr, Var.GetId())
 
#define GATHER_BLOCK(BlockType, ItemClassName)
 
#define GATHER_ANCHOR(BlockType, block_str)
 
#define GATHER_VIA_FUNC(BlockType, FuncName)
 

Functions

bool s_ShowBaseCount (const CFlatFileConfig &cfg)
 
bool s_ShowContig (CBioseqContext &ctx)
 

Macro Definition Documentation

◆ FOR_EACH_SEQID_ON_BIOSEQ_HANDLE

#define FOR_EACH_SEQID_ON_BIOSEQ_HANDLE (   Itr,
  Var 
)    ITERATE (CBioseq_Handle::TId, Itr, Var.GetId())

Definition at line 100 of file genbank_gather.cpp.

◆ GATHER_ANCHOR

#define GATHER_ANCHOR (   BlockType,
  block_str 
)
Value:
if( cfg.IsShownGenbankBlock(CFlatFileConfig::fGenbankBlocks_##BlockType) ) { \
item.Reset( new CHtmlAnchorItem(ctx, (block_str) ) ); \
ItemOS() << item; \
}
CS_CONTEXT * ctx
Definition: t0006.c:12

◆ GATHER_BLOCK

#define GATHER_BLOCK (   BlockType,
  ItemClassName 
)
Value:
if( cfg.IsShownGenbankBlock(CFlatFileConfig::fGenbankBlocks_##BlockType) ) { \
item.Reset( new ItemClassName(ctx) ); \
ItemOS() << item; \
}

◆ GATHER_VIA_FUNC

#define GATHER_VIA_FUNC (   BlockType,
  FuncName 
)
Value:
if( cfg.IsShownGenbankBlock(CFlatFileConfig::fGenbankBlocks_##BlockType) ) { \
FuncName(); \
}

Function Documentation

◆ s_ShowBaseCount()

bool s_ShowBaseCount ( const CFlatFileConfig cfg)

◆ s_ShowContig()

bool s_ShowContig ( CBioseqContext ctx)

Definition at line 86 of file genbank_gather.cpp.

References ctx.

Referenced by CGenbankGatherer::x_DoSingleSection().

Modified on Mon Jul 22 05:03:34 2024 by modify_doxy.py rev. 669887