NCBI C++ ToolKit
Macros | Functions
obj_fingerprint.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbimtx.hpp>
#include <corelib/ncbi_bswap.hpp>
#include <gui/objutils/obj_fingerprint.hpp>
#include <gui/objutils/utils.hpp>
#include <gui/utils/track_info.hpp>
#include <objmgr/util/sequence.hpp>
#include <serial/serialbase.hpp>
#include <stdio.h>
#include "fingp_seqid.cpp"
#include "fingp_seqloc.cpp"
#include "fingp_seqfeat.cpp"
#include "fingp_seqalign.cpp"
#include "fingp_seqgraph.cpp"
+ Include dependency graph for obj_fingerprint.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define CKSUM_ADD_INTEGER(cksum, value)    CObjFingerprint::AddInteger(cksum, (unsigned char*)&value, sizeof(value))
 
#define CKSUM_INTEGER_FIELD(cksum, Type, field)
 
#define CKSUM_INTEGER_FIELD2(cksum, Type, field)
 

Functions

 DEFINE_STATIC_MUTEX (s_Mutex)
 
static void s_EscapeDash (string &id)
 

Macro Definition Documentation

◆ CKSUM_ADD_INTEGER

#define CKSUM_ADD_INTEGER (   cksum,
  value 
)     CObjFingerprint::AddInteger(cksum, (unsigned char*)&value, sizeof(value))

Definition at line 43 of file obj_fingerprint.cpp.

◆ CKSUM_INTEGER_FIELD

#define CKSUM_INTEGER_FIELD (   cksum,
  Type,
  field 
)
Value:
if (obj.IsSet##field()) { \
Type::T##field value = obj.Get##field(); \
CObjFingerprint::AddInteger(cksum, (unsigned char*)&value, sizeof(value)); \
}
static void AddInteger(CChecksum &checksum, unsigned char *pvalue, int size)
#define T(s)
Definition: common.h:230
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227

Definition at line 46 of file obj_fingerprint.cpp.

◆ CKSUM_INTEGER_FIELD2

#define CKSUM_INTEGER_FIELD2 (   cksum,
  Type,
  field 
)
Value:
{ \
Type::T##field value = obj.Get##field(); \
CObjFingerprint::AddInteger(cksum, (unsigned char*)&value, sizeof(value)); \
}

Definition at line 52 of file obj_fingerprint.cpp.

Function Documentation

◆ DEFINE_STATIC_MUTEX()

DEFINE_STATIC_MUTEX ( s_Mutex  )

◆ s_EscapeDash()

static void s_EscapeDash ( string id)
inlinestatic
Modified on Sun Apr 14 05:27:15 2024 by modify_doxy.py rev. 669887