|
From: Frank V. C. <fr...@us...> - 2001-04-25 03:27:25
|
Update of /cvsroot/corelinux/clfw/clfw/Persist
In directory usw-pr-cvs1:/tmp/cvs-serv12882/clfw/Persist
Modified Files:
SchemaAbstractStore.hpp SchemaCatStore.hpp SchemaCatalog.hpp
SchemaStore.hpp StoreCatalog.hpp
Log Message:
Fully functional schema management, work continues on cleanup and example completion
Index: SchemaAbstractStore.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Persist/SchemaAbstractStore.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** SchemaAbstractStore.hpp 2001/04/22 14:30:51 1.4
--- SchemaAbstractStore.hpp 2001/04/25 03:27:22 1.5
***************
*** 98,101 ****
--- 98,103 ----
bool hasKey( CharPtr );
+ void removeDesc( CharPtr );
+
void updateDesc
(
Index: SchemaCatStore.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Persist/SchemaCatStore.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** SchemaCatStore.hpp 2001/04/21 21:39:01 1.2
--- SchemaCatStore.hpp 2001/04/25 03:27:22 1.3
***************
*** 35,39 ****
{
Dword schemaCatVersion;
! Dword countOfSchemas;
} ;
--- 35,39 ----
{
Dword schemaCatVersion;
! Dword unused;
} ;
Index: SchemaCatalog.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Persist/SchemaCatalog.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** SchemaCatalog.hpp 2001/04/21 21:39:01 1.8
--- SchemaCatalog.hpp 2001/04/25 03:27:22 1.9
***************
*** 91,102 ****
// Mutators
//
- /// Save the instance as is
- void saveSchema( SchemaPtr );
-
- /// Close the instance
-
- void closeSchema( SchemaPtr );
-
//
// Base overrides
--- 91,95 ----
***************
*** 154,157 ****
--- 147,151 ----
*/
+
virtual Iterator<FrameworkEntityPtr> *createCatalogIterator( void ) ;
***************
*** 159,162 ****
--- 153,165 ----
virtual void destroyIterator( Iterator<FrameworkEntityPtr> * ) ;
+
+ /// Save the entries (Schemas) in the collection
+
+ virtual void saveEntries( CollectionPtr ) ;
+
+ /// Close the entries (Schemas) in the collection
+
+ virtual void closeEntries( CollectionPtr ) ;
+
Index: SchemaStore.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Persist/SchemaStore.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** SchemaStore.hpp 2001/04/21 21:39:01 1.4
--- SchemaStore.hpp 2001/04/25 03:27:22 1.5
***************
*** 38,41 ****
--- 38,43 ----
DECLARE_CLASS( Schema );
+ DECLARE_CLASS( Concept );
+ DECLARE_CLASS( Attribute );
DECLARE_CLASS( SchemaStore );
***************
*** 188,192 ****
--- 190,217 ----
protected:
+
+ virtual void writeProperties( void );
+ virtual void writeConceptProperties( CollectionPtr );
+ virtual void writeAttribute( FrameworkEntityPtr );
+ virtual void writeEntity( FrameworkEntityPtr );
+
virtual SchemaPtr createSchema( void );
+ virtual void readProperties( SchemaPtr, CounterCref );
+
+ virtual AttributePtr readConcept
+ (
+ ConceptPtr,
+ CollectionPtr,
+ CounterCref
+ );
+
+ virtual void readAttribute( AttributePtr );
+
+ virtual FrameworkEntityPtr readEntity
+ (
+ UniversalIdentifierCref,
+ UniversalIdentifierCref
+ );
+
private:
Index: StoreCatalog.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Persist/StoreCatalog.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** StoreCatalog.hpp 2001/04/08 10:50:43 1.1
--- StoreCatalog.hpp 2001/04/25 03:27:22 1.2
***************
*** 77,80 ****
--- 77,89 ----
+ //
+ // Mutators
+ //
+
+ /// Saves the entry indicated by the argument
+
+ virtual void saveEntries( CollectionPtr ) = 0;
+
+ virtual void closeEntries( CollectionPtr ) = 0;
protected:
|