ARB
Classes | Macros | Typedefs | Functions
DBwriter.cxx File Reference
#include "DBwriter.h"
#include <algorithm>
#include <AW_rename.hxx>
#include <Translate.hxx>
#include <aw_question.hxx>
#include <GEN.hxx>
#include <adGene.h>
#include <arb_stdstr.h>
Include dependency graph for DBwriter.cxx:

Go to the source code of this file.

Classes

struct  Translator
 
class  PosGene
 
class  hasType
 

Macros

#define AW_RENAME_SKIP_GUI
 
#define ARB_GENE_REF   "ARB_is_gene"
 

Typedefs

typedef map< string, string,
NoCaseCmp
TranslateMap
 

Functions

typedef SmartCustomPtr (GEN_position, GEN_free_position) GEN_positionPtr
 
static GBDATADB_create_container (GBDATA *parent, const char *name, bool mark)
 
static GBDATADB_create_string_field (GBDATA *parent, const char *field, const char *content)
 
static GBDATADB_create_byte_field (GBDATA *parent, const char *field, unsigned char content)
 
static void importerWarning (AW_CL cl_importer, const char *message)
 
bool operator< (const GEN_positionPtr &A, const GEN_positionPtr &B)
 
bool operator< (const PosGene &a, const PosGene &b)
 
bool operator== (const PosGene &a, const PosGene &b)
 

Macro Definition Documentation

#define AW_RENAME_SKIP_GUI

Definition at line 14 of file DBwriter.cxx.

#define ARB_GENE_REF   "ARB_is_gene"

Definition at line 24 of file DBwriter.cxx.

Referenced by PosGene::addRefToGene().

Typedef Documentation

Definition at line 109 of file DBwriter.cxx.

Function Documentation

typedef SmartCustomPtr ( GEN_position  ,
GEN_free_position   
)

Referenced by getIcon().

static GBDATA* DB_create_container ( GBDATA parent,
const char name,
bool  mark 
)
static
static GBDATA* DB_create_string_field ( GBDATA parent,
const char field,
const char content 
)
static
static GBDATA* DB_create_byte_field ( GBDATA parent,
const char field,
unsigned char  content 
)
static

Definition at line 74 of file DBwriter.cxx.

References GB_BYTE, GB_create(), GB_write_byte(), and GBS_global_string().

Referenced by PosGene::hide(), and DBwriter::writeFeature().

static void importerWarning ( AW_CL  cl_importer,
const char message 
)
static

Definition at line 238 of file DBwriter.cxx.

References importer, and Importer::warning().

bool operator< ( const GEN_positionPtr &  A,
const GEN_positionPtr &  B 
)
inline
bool operator< ( const PosGene a,
const PosGene b 
)
inline

Definition at line 313 of file DBwriter.cxx.

References PosGene::getPosition().

bool operator== ( const PosGene a,
const PosGene b 
)
inline

Definition at line 316 of file DBwriter.cxx.