|
From: Frank V. C. <fr...@us...> - 2001-04-04 00:43:13
|
Update of /cvsroot/corelinux/clfw/src/libs/clfw
In directory usw-pr-cvs1:/tmp/cvs-serv20304/src/libs/clfw
Modified Files:
Concept.cpp Schema.cpp
Log Message:
More serious work, now with a example (exf2)
Index: Concept.cpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/Concept.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Concept.cpp 2001/04/03 03:00:14 1.4
--- Concept.cpp 2001/04/04 00:43:09 1.5
***************
*** 118,121 ****
--- 118,125 ----
}
+ //
+ // Retrieve a set of keys from the existing attributes
+ //
+
SetCollectionPtr Concept::getPropertyKeys( void )
throw ()
***************
*** 132,135 ****
--- 136,142 ----
}
+ //
+ // Add a new attribute to the collection
+ //
void Concept::addAttribute( AttributePtr aPtr )
***************
*** 146,149 ****
--- 153,160 ----
}
+ //
+ // Remove an existing attribute
+ //
+
void Concept::removeAttribute( AttributePtr aPtr )
throw ()
***************
*** 159,162 ****
--- 170,177 ----
}
+ //
+ // Remove an attribute given a key
+ //
+
void Concept::removeKey( FrameworkEntityPtr aPtr )
throw ()
***************
*** 207,211 ****
// we use the abstract macro for autonaming
! DEFINE_ABSTRACT_METATYPE
(
Concept,
--- 222,226 ----
// we use the abstract macro for autonaming
! DEFINE_METATYPE
(
Concept,
Index: Schema.cpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/Schema.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Schema.cpp 2001/03/31 14:05:00 1.2
--- Schema.cpp 2001/04/04 00:43:09 1.3
***************
*** 109,113 ****
// we use the abstract macro for autonaming
! DEFINE_ABSTRACT_METATYPE
(
Schema,
--- 109,113 ----
// we use the abstract macro for autonaming
! DEFINE_METATYPE
(
Schema,
|