00001 00002 #ifndef d_Project_h 00003 #define d_Project_h 1 00004 00005 //------------------------------------------------------------------------------ 00006 #include "cTypes.h" 00007 #include "oArray.h" 00008 00009 class _ODLL d_Database; 00010 00011 /** 00012 * The d_Project class is a container of logical databases (d_Database class). 00013 * 00014 * It permits to define a group of federated databases. 00015 * 00016 * Classes inside a database can refer objects in the same database or into 00017 * the databases of the same Project. 00018 * 00019 * In this version you can use this class only for database creation (see 00020 * d_Database::create() ). 00021 * 00022 * LOCATION: 00023 * d_Project.h 00024 * 00025 * SEE ALSO: 00026 * d_Database 00027 * 00028 * ODMG: 00029 * Extension 00030 */ 00031 class _ODLL d_Project 00032 { 00033 public: 00034 d_Project (); 00035 ~d_Project(); 00036 00037 void open (const char* iName); 00038 void create (const char* iName); 00039 void close (); 00040 00041 oArray<d_Database*> databases; 00042 00043 private: 00044 d_String name; 00045 }; 00046 //------------------------------------------------------------------------------ 00047 //------------------------------------------------------------------------------ 00048 00049 #endif
1.3-rc1