ARB
Classes | Macros | Typedefs | Functions | Variables
SEC_db.cxx File Reference
#include "SEC_graphic.hxx"
#include "SEC_root.hxx"
#include "SEC_bonddef.hxx"
#include "SEC_toggle.hxx"
#include <aw_awars.hxx>
#include <aw_file.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <ed4_extern.hxx>
#include <arbdbt.h>
#include <ad_cb.h>
#include <arb_defs.h>
Include dependency graph for SEC_db.cxx:

Go to the source code of this file.

Classes

struct  SEC_dbcb
 
struct  PairDefinition
 

Macros

#define AWAR_PAIRS(type)   AWAR_SECEDIT_##type##_PAIRS
 
#define AWAR_PCHAR(type)   AWAR_SECEDIT_##type##_PAIR_CHAR
 
#define PAIR_TYPES   5
 

Typedefs

typedef void(SEC_db_interface::* interface_cb )(const SEC_dbcb *)
 

Functions

static void sec_dbcb (UNFIXED, const SEC_dbcb *cb)
 
static void pair_def_changed_cb (AW_root *aw_root, SEC_db_interface *db, const char *awar_name)
 
static void bind_bonddef_awars (SEC_db_interface *db)
 
static void create_awars (AW_root *aw_root, AW_default def)
 

Variables

static PairDefinition pairdef [PAIR_TYPES]
 
static const charupdate_pos_awars []
 
static const charrelayout_awars []
 
static const charrefresh_awars []
 

Macro Definition Documentation

#define AWAR_PAIRS (   type)    AWAR_SECEDIT_##type##_PAIRS

Definition at line 69 of file SEC_db.cxx.

#define AWAR_PCHAR (   type)    AWAR_SECEDIT_##type##_PAIR_CHAR

Definition at line 70 of file SEC_db.cxx.

#define PAIR_TYPES   5

Definition at line 79 of file SEC_db.cxx.

Referenced by bind_bonddef_awars(), create_awars(), and SEC_bond_def::update().

Typedef Documentation

typedef void(SEC_db_interface::* interface_cb)(const SEC_dbcb *)

Definition at line 32 of file SEC_db.cxx.

Function Documentation

static void sec_dbcb ( UNFIXED  ,
const SEC_dbcb cb 
)
static
static void pair_def_changed_cb ( AW_root aw_root,
SEC_db_interface db,
const char awar_name 
)
static
static void bind_bonddef_awars ( SEC_db_interface db)
static
static void create_awars ( AW_root aw_root,
AW_default  def 
)
static

Variable Documentation

PairDefinition pairdef[PAIR_TYPES]
static
Initial value:
= {
{ AWAR_PAIRS(STRONG), AWAR_PCHAR(STRONG), "GC AU AT", "-" },
{ AWAR_PAIRS(NORMAL), AWAR_PCHAR(NORMAL), "GU GT", "." },
{ AWAR_PAIRS(WEAK), AWAR_PCHAR(WEAK), "GA", "o" },
{ AWAR_PAIRS(NO), AWAR_PCHAR(NO), "AA AC CC CU CT GG UU TT TU", "" },
{ AWAR_PAIRS(USER), AWAR_PCHAR(USER), "", "" },
}
#define AWAR_PAIRS(type)
Definition: SEC_db.cxx:69
#define AWAR_PCHAR(type)
Definition: SEC_db.cxx:70

Definition at line 80 of file SEC_db.cxx.

Referenced by helix_pairs_changed_cb().

const char* update_pos_awars[]
static
Initial value:
= {
}
#define AWAR_SECEDIT_DISPPOS_ECOLI
Definition: SEC_db.hxx:45
#define NULp
Definition: cxxforward.h:97
#define AWAR_SECEDIT_DISPPOS_BINDING
Definition: SEC_db.hxx:44

Definition at line 325 of file SEC_db.cxx.

const char* relayout_awars[]
static
Initial value:
= {
}
#define AWAR_SECEDIT_DIST_BETW_STRANDS
Definition: SEC_db.hxx:32
#define NULp
Definition: cxxforward.h:97

Definition at line 331 of file SEC_db.cxx.

const char* refresh_awars[]
static
Initial value:
= {
}
#define AWAR_SECEDIT_SHOW_CURPOS
Definition: SEC_db.hxx:41
#define AWAR_SECEDIT_SKELETON_THICKNESS
Definition: SEC_db.hxx:33
#define AWAR_SECEDIT_DISPLAY_SEARCH
Definition: SEC_db.hxx:43
#define AWAR_EDIT_RIGHTWARD
Definition: ed4_extern.hxx:76
#define AWAR_SECEDIT_BOND_THICKNESS
Definition: SEC_db.hxx:34
#define AWAR_SECEDIT_SHOW_STR_SKELETON
Definition: SEC_db.hxx:38
#define ED4_AWAR_SEARCH_RESULT_CHANGED
Definition: ed4_extern.hxx:75
#define AWAR_SECEDIT_HIDE_BASES
Definition: SEC_db.hxx:39
#define AWAR_SECEDIT_SHOW_ECOLI_POS
Definition: SEC_db.hxx:37
#define AWAR_SECEDIT_SHOW_BONDS
Definition: SEC_db.hxx:40
#define AWAR_SECEDIT_SHOW_HELIX_NRS
Definition: SEC_db.hxx:36
#define AWAR_SECEDIT_DISPLAY_SAI
Definition: SEC_db.hxx:42
#define NULp
Definition: cxxforward.h:97

Definition at line 336 of file SEC_db.cxx.