My Project
ICGen.h
1 #pragma once
2 
3 #include "sqlite3.h"
4 #define GEN_MAPTRACE_SIZE 5
5 namespace ParaInfoCenter
6 {
7  enum IC_GEN_TYPE{
8  BASE=0, MAPTRACE=1, TRACEDATA=2
9  };
10  class CICRecordSet;
11  class CICGen {
12  public:
13  int m_type; //type of the GEN
14  int m_size; //data size of the GEN
15  void *m_data; //data of the GEN
16 
17  CICGen(){m_data=NULL;m_type=BASE;}
18  virtual void FromDB(CICRecordSet *rs){}; //get the GEN data from a sql result
19  virtual void ToDB(){};//insert the GEN data to the db
20  };
21 
22 
23 
24 
25 }
Definition: PEtypes.h:503
Definition: ICGen.h:11
CICRecordSet is both the result and wrapper of a sql statement(procedure).
Definition: ICRecordSet.h:90