NCBI C++ ToolKit
Macros | Functions
Dense_seg.cpp File Reference
#include <ncbi_pch.hpp>
#include <algorithm>
#include <objects/seqalign/seqalign_exception.hpp>
#include <objects/seqalign/Dense_seg.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objects/seqloc/Seq_loc.hpp>
#include <serial/objistr.hpp>
#include <corelib/ncbi_param.hpp>
+ Include dependency graph for Dense_seg.cpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define ASSERT_CONSISTENCY()
 
#define IDX(_x, _y)   (((_x)*GetDim())+(_y))
 

Functions

 NCBI_PARAM_DECL (bool, OBJECTS, DENSE_SEG_RESERVE)
 
 NCBI_PARAM_DEF_EX (bool, OBJECTS, DENSE_SEG_RESERVE, true, eParam_NoThread, OBJECTS_DENSE_SEG_RESERVE)
 

Macro Definition Documentation

◆ ASSERT_CONSISTENCY

#define ASSERT_CONSISTENCY ( )
Value:
do { \
TNumseg numseg = GetNumseg(); \
TDim dim = GetDim(); \
_ASSERT(numseg >= 0); \
_ASSERT(dim >= 0); \
_ASSERT(size_t(numseg) == GetLens().size()); \
_ASSERT(size_t(numseg) * dim == GetStarts().size()); \
_ASSERT(!IsSetStrands() || GetStarts().size() == GetStrands().size()); \
_ASSERT(size_t(dim) == GetIds().size()); \
} while (false)
const struct ncbi::grid::netcache::search::fields::SIZE size
static bool GetIds(const T &d, set< string > &labels, const string name="", bool detect=false, bool found=false)

Definition at line 77 of file Dense_seg.cpp.

◆ IDX

#define IDX (   _x,
  _y 
)    (((_x)*GetDim())+(_y))

Function Documentation

◆ NCBI_PARAM_DECL()

NCBI_PARAM_DECL ( bool  ,
OBJECTS  ,
DENSE_SEG_RESERVE   
)

◆ NCBI_PARAM_DEF_EX()

NCBI_PARAM_DEF_EX ( bool  ,
OBJECTS  ,
DENSE_SEG_RESERVE  ,
true  ,
eParam_NoThread  ,
OBJECTS_DENSE_SEG_RESERVE   
)
Modified on Thu Apr 25 08:21:49 2024 by modify_doxy.py rev. 669887