MAK Data Logger API Documentation for HLA
lgrDatabasePrinter.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 lgrDatabasePrinter_H_
10 #define lgrDatabasePrinter_H_
11 
12 #include "lgrSqlExporter.h"
13 #include <databaseTable.h>
14 #include <vector>
15 
17 class DtOutputStream;
18 class DtString;
19 
20 namespace MAKLogger
21 {
22 
24  {
25  public:
26 
28  DtLgrDatabasePrinter(DtOutputStream& log,DtDatabaseInterface& db);
29 
31  virtual ~DtLgrDatabasePrinter();
32 
34  DtOutputStream& log();
35 
37  DtDatabaseInterface& db();
38 
39 
40  protected:
41 
42  typedef std::vector<DtDatabaseTableSP> TableList;
43 
45  void createTablesFromList( TableList& tableList, const DtString& className );
46 
48  void updateTablesFromList( TableList& tableList );
49 
51  void resetTablesFromList( TableList& tables) const;
52 
54  DtOutputStream& myOutputLog;
55  };
56 
57 }
58 
59 #endif

Document ID: Generated on Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)