My Project
D:/source/c++/Programme/sally/sally/sallyAPI/DatabaseMetaData.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 #pragma once
00029 #include "Define.h"
00030 #include <vector>
00031 #include "DatabaseObject.h"
00032 #include "SQLException.h"
00033 #include "StringHelper.h"
00034 
00035 namespace SallyAPI
00036 {
00037         namespace Database
00038         {
00047 
00048                 class DLL_API_SALLY CDatabaseMetaData
00049                 {
00050                 private:
00051                         std::vector<CDatabaseObject> m_vObjects;
00052                 public:
00053                         CDatabaseMetaData(std::vector<CDatabaseObject> vct);
00054                         ~CDatabaseMetaData();
00055 
00056                         int                     GetNumObjects();
00057                         std::string GetName(int colNum);
00058                         std::string GetType(int colNum);
00059                         std::string GetSql(int colNum);
00060                         bool            DoesObjectExist(const char* name_,const char* type);
00061                 };
00062         }
00063 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines