MAK Data Logger API Documentation for HLA
databaseParameters.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef databaseParameters_H_
10 #define databaseParameters_H_
11 
12 #include "vlDatabase.h"
13 
14 class DtString;
15 
18 {
19 public:
20 
23 
25  virtual ~DtDatabaseParameters();
26 
27 private:
30  DtDatabaseParameters& operator=(const DtDatabaseParameters&);
32 public:
33 
34  // Set/Get the Driver command
35  virtual const DtString& driver() const = 0;
36 
37  // ! \brief Keywords
39 
40  // Set/Get the DSN keyword
41  virtual const DtString& DSNKeyword() const = 0;
42 
43  // Set/Get the Database keyword
44  virtual const DtString& DBKeyword() const = 0;
45 
46  // Set/Get the Server keyword
47  virtual const DtString& serverKeyword() const = 0;
48 
49  // Set/Get the User keyword
50  virtual const DtString& userKeyword() const = 0;
51 
52  // Set/Get the Password keyword
53  virtual const DtString& passwordKeyword() const = 0;
54 
56 
57  // Set/Get the DSN name
58  virtual void setDataSourceName( const DtString& cmd ) = 0;
59  virtual const DtString& dataSourceName() const = 0;
60 
61  // Set/Get the Master DSN name
62  virtual void setMasterDataSourceName( const DtString& cmd ) = 0;
63  virtual const DtString& masterDataSourceName() const = 0;
64 
65  // Set/Get the Database name
66  virtual void setDatabaseName( const DtString& cmd ) = 0;
67  virtual const DtString& databaseName() const = 0;
68 
69  // Set/Get the "Original" Database name
70  virtual void setOrigDBName( const DtString& cmd ) = 0;
71  virtual const DtString& origDBName() const = 0;
72 
73  // Set/Get the Master Database name
74  virtual void setMasterDatabaseName( const DtString& cmd ) = 0;
75  virtual const DtString& masterDatabaseName() const = 0;
76 
77 
78  // Set/Get the Server name
79  virtual void setServerName( const DtString& cmd ) = 0;
80  virtual const DtString& serverName() const = 0;
81 
82  // Set/Get the User ID
83  virtual void setUserID( const DtString& cmd ) = 0;
84  virtual const DtString& userID() const = 0;
85 
86  // Set/Get the Password string
87  virtual void setPassword( const DtString& cmd ) = 0;
88  virtual const DtString& password() const = 0;
89 
90  // Set/Get the Other arguments
91  virtual void setOtherArgs( const DtString& cmd ) = 0;
92  virtual const DtString& otherArgs() const = 0;
93 
94  // Set/Get the User-defined parameters string
95  virtual void setUserParametersString( const DtString& cmd ) = 0;
96  virtual const DtString& userParametersString() const = 0;
97 
98  // Set/Get the Map Datum string
99  virtual void setMapDatumString( const DtString& cmd ) = 0;
100  virtual const DtString& mapDatumString() const = 0;
101 
102 protected:
103  virtual void setDriver( const DtString& cmd ) = 0;
104  virtual void setDSNKeyword( const DtString& cmd ) = 0;
105  virtual void setDBKeyword( const DtString& cmd ) = 0;
106  virtual void setServerKeyword( const DtString& cmd ) = 0;
107  virtual void setUserKeyword( const DtString& cmd ) = 0;
108  virtual void setPasswdKeyword( const DtString& cmd ) = 0;
109 
110 };
111 
112 #endif

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)