source: branches/port5/ALIV3/a3_arbdb.hxx

Last change on this file was 4918, checked in by westram, 17 years ago
  • removed unused default-param 'info' from put_sequence_string()
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1// -----------------------------------------------------------------------------
2
3#ifndef _A3_ARBDB_HXX
4#define _A3_ARBDB_HXX
5
6// -----------------------------------------------------------------------------
7//  Include-Dateien
8// -----------------------------------------------------------------------------
9
10#include <arbdb.h>
11#include <arbdbt.h>
12
13// -----------------------------------------------------------------------------
14//  Datentypen
15// -----------------------------------------------------------------------------
16
17class A3Arbdb
18{
19    private:
20
21        char   *alignment;
22
23    public:
24
25        GBDATA *gb_main;
26
27                A3Arbdb             (void)  { alignment = 0;
28                                              gb_main   = 0; };
29       
30               ~A3Arbdb             (void);
31
32        int     open                ( char *name,
33                                      char *use_alignment = 0 );
34
35        void    close               ( void );
36
37    void begin_transaction(void) {GB_begin_transaction(gb_main);};
38
39    void commit_transaction(void) {GB_commit_transaction(gb_main);};
40
41        char   *get_sequence_string ( const char *name,
42                                      int   and_mark = 0 );
43
44        int     put_sequence_string ( char *name,
45                                      char *sequence);
46};
47
48// -----------------------------------------------------------------------------
49
50#endif
51
52// -----------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.