-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFCMDB.hpp
119 lines (111 loc) · 3.08 KB
/
FCMDB.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/******************************************************************************
** (C) Chris Oldwood
**
** MODULE: FCMDB.HPP
** COMPONENT: The Application.
** DESCRIPTION: The CFCMDB class declaration.
**
*******************************************************************************
*/
// Check for previous inclusion
#ifndef FCMDB_HPP
#define FCMDB_HPP
#if _MSC_VER > 1000
#pragma once
#endif
#include <MDBL/MDB.hpp>
#include "ClubDetails.hpp"
#include "Members.hpp"
#include "Fixtures.hpp"
#include "BalShtTypes.hpp"
#include "BalSheet.hpp"
#include "Subs.hpp"
#include "ExpenseTypes.hpp"
#include "Expenses.hpp"
#include "Accounts.hpp"
#include "AcctTrans.hpp"
#include "TeamSels.hpp"
#include "Opponents.hpp"
#include "Referees.hpp"
#include "MemStatTypes.hpp"
#include "MemStats.hpp"
#include "FixStatTypes.hpp"
#include "FixStats.hpp"
#include "OppStatTypes.hpp"
#include "OppStats.hpp"
#include "RefStatTypes.hpp"
#include "RefStats.hpp"
/******************************************************************************
**
** This is the database for the application.
**
*******************************************************************************
*/
class CFCMDB : public CMDB
{
public:
//
// Constructors/Destructor.
//
CFCMDB();
~CFCMDB();
//
// Table numbers,
//
/* enum
{
DETAILS,
MEMBERS,
FIXTURES,
BALSHEET_TYPES,
BALSHEET,
SUBS,
EXPENSE_TYPES,
EXPENSES,
ACCOUNTS,
ACCTTRANS,
TEAMSELS,
OPPONENTS,
REFEREES,
MEM_STAT_TYPES,
MEM_STATS,
FIX_STAT_TYPES,
FIX_STATS,
OPP_STAT_TYPES,
OPP_STATS,
REF_STAT_TYPES,
REF_STATS,
};
*/
//
// Tables.
//
CClubDetails m_oDetails; // The clubs basic details.
CMembers m_oMembers; // The table of club members.
CFixtures m_oFixtures; // The table of club fixtures.
CBalShtTypes m_oBalShtTypes; // The table of the balance sheet item types.
CBalSheet m_oBalSheet; // The table of the balance sheet.
CSubs m_oSubs; // The table of members subs.
CExpenseTypes m_oExpenseTypes; // The table of expense types.
CExpenses m_oExpenses; // The table of expenses.
CAccounts m_oAccounts; // The table of accounts.
CAcctTrans m_oAcctTrans; // The table of account transactions.
CTeamSels m_oTeamSels; // The table of team sheets.
COpponents m_oOpponents; // The table of league opponents.
CReferees m_oReferees; // The table of league referees.
CMemStatTypes m_oMemStatTypes; // The table of member statistic types.
CMemStats m_oMemStats; // The table of member statistics.
CFixStatTypes m_oFixStatTypes; // The table of fixture statistic types.
CFixStats m_oFixStats; // The table of fixture statistics.
COppStatTypes m_oOppStatTypes; // The table of opponent statistic types.
COppStats m_oOppStats; // The table of opponent statistics.
CRefStatTypes m_oRefStatTypes; // The table of referee statistic types.
CRefStats m_oRefStats; // The table of referee statistics.
};
/******************************************************************************
**
** Implementation of inline functions.
**
*******************************************************************************
*/
#endif //FCMDB_HPP