Products Support Documentation Download
core04_db_structs.h
Go to the documentation of this file.
1 /*
2  * Raima Database Header File
3  * This file is autogenerated, please don't edit the file
4 */
5 
11 #if !defined(CORE04_DB_STRUCTS_H)
12 #define CORE04_DB_STRUCTS_H
13 
14 #include "rdmtypes.h"
15 #include "rdmrowidtypes.h"
16 /*lint ++flb */
17 
18 #if defined(__cplusplus)
19 namespace RDM_CPP {
20 namespace CORE04_DB {
21 #endif
22 
24 typedef struct ARTIST_S
25 {
26  RDM_ROWID_T ARTISTID;
27  char NAME[100 * RDM_BYTES_PER_UTF8_CHAR + 1];
28 } ARTIST;
29 
31 typedef struct ALBUM_S
32 {
33  RDM_ROWID_T ALBUMID;
34  RDM_ROWID_T ARTISTID;
35  char TITLE[100 * RDM_BYTES_PER_UTF8_CHAR + 1];
36 } ALBUM;
37 
39 typedef struct TRACK_S
40 {
41  RDM_ROWID_T ALBUMID;
42  char TITLE[100 * RDM_BYTES_PER_UTF8_CHAR + 1];
43 } TRACK;
44 
45 /* compound key structure definitions */
47 typedef struct ARTIST_ARTISTID_KEY_S
48 {
49  RDM_ROWID_T ARTISTID;
51 
53 typedef struct ALBUM_ALBUMID_KEY_S
54 {
55  RDM_ROWID_T ALBUMID;
57 
59 typedef enum CORE04_DB_TABLES_E
60 {
61  TABLE_ARTIST = 0x10001,
62  TABLE_ALBUM = 0x10002,
63  TABLE_TRACK = 0x10003
65 
67 typedef enum CORE04_DB_COLUMNS_E
68 {
69  COL_ARTIST_ARTISTID = 0x00020000,
70  COL_ARTIST_NAME = 0x00020001,
71  COL_ALBUM_ALBUMID = 0x00040000,
72  COL_ALBUM_ARTISTID = 0x00040001,
73  COL_ALBUM_TITLE = 0x00040002,
74  COL_TRACK_ALBUMID = 0x00060000,
75  COL_TRACK_TITLE = 0x00060001
77 
79 typedef enum CORE04_DB_KEYS_E
80 {
81  KEY_ARTIST_ARTISTID = 0x28000,
82  KEY_ALBUM_ALBUMID = 0x48000
84 
86 typedef enum CORE04_DB_REFS_E
87 {
88  REF_ALBUM_ARTISTID = 0x58000,
89  REF_TRACK_ALBUMID = 0x78000
91 
92 #if defined(__cplusplus)
93 }
94 }
95 #endif
96 
97 /*lint --flb -esym(641,CORE04_DB_TABLES_E,CORE04_DB_COLUMNS_E,CORE04_DB_KEYS_E,CORE04_DB_REFS_E) */
98 #endif /* CORE04_DB_STRUCTS_H */
struct definition for table ALBUM
Definition: core04_db_structs.h:31
struct definition for compound key ARTIST_ARTISTID_KEY
Definition: core04_db_structs.h:47
enum CORE04_DB_KEYS_E CORE04_DB_KEYS
key identifiers enum
CORE04_DB_COLUMNS_E
column identifiers enum
Definition: core04_db_structs.h:67
struct TRACK_S TRACK
struct definition for table TRACK
enum CORE04_DB_COLUMNS_E CORE04_DB_COLUMNS
column identifiers enum
CORE04_DB_TABLES_E
table identifiers enum
Definition: core04_db_structs.h:59
struct definition for compound key ALBUM_ALBUMID_KEY
Definition: core04_db_structs.h:53
enum CORE04_DB_TABLES_E CORE04_DB_TABLES
table identifiers enum
struct definition for table ARTIST
Definition: core04_db_structs.h:24
struct ARTIST_S ARTIST
struct definition for table ARTIST
struct definition for table TRACK
Definition: core04_db_structs.h:39
CORE04_DB_REFS_E
ref identifiers enum
Definition: core04_db_structs.h:86
CORE04_DB_KEYS_E
key identifiers enum
Definition: core04_db_structs.h:79
enum CORE04_DB_REFS_E CORE04_DB_REFS
ref identifiers enum
struct ALBUM_S ALBUM
struct definition for table ALBUM
struct ALBUM_ALBUMID_KEY_S ALBUM_ALBUMID_KEY
struct definition for compound key ALBUM_ALBUMID_KEY
struct ARTIST_ARTISTID_KEY_S ARTIST_ARTISTID_KEY
struct definition for compound key ARTIST_ARTISTID_KEY