|
From: Frank V. C. <fr...@us...> - 2000-11-17 13:07:25
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv9356/clfw Modified Files: MetaClass.hpp Log Message: 122619 Fatten MetaClass interface Index: MetaClass.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/MetaClass.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** MetaClass.hpp 2000/11/15 23:07:20 1.4 --- MetaClass.hpp 2000/11/17 13:07:08 1.5 *************** *** 80,83 **** --- 80,126 ---- /** + get the class description + @return char pointer to description or null + */ + + CharCptr getTypeDescription( void ) const; + + /** + get the domain name (the Ontology) that this + class is a member of + @return char pointer to domain name, or null + */ + + CharCptr getDomainName( void ) const; + + /** + get the parent count + @return Count of parents (0 if root) + */ + + Count getParentCount( void ) const; + + /** + get the instance member (attributes) count + @return Count of data members + */ + + Count getInstanceMemberCount( void ) const; + + /** + get the dispatch functions count + @return Count of dispatch functions + */ + + Count getInstanceFunctionCount( void ) const; + + /** + tells if this is an abstract type + @return true if abstract, false otherwise + */ + + bool isAbstractType( void ) const; + + /** Retrieve the MetaType associated with this MetaClass *************** *** 109,112 **** --- 152,181 ---- throw( InvalidCompositeException ); + /** + Attempts to call the method via a dispatch function on + the object + @param FrameworkEntity pointer to the object + @param char pointer to the named method (used for lookup) + @param void pointer array of arguments + @param void pointer to return value + @exception NullpointerException if object or name are null + @exception DescriptorNotFound if no match + */ + + void dispatch( FrameworkEntityPtr, CharPtr, void **, void * ) + throw( NullPointerException, DescriptorNotFound ); + + /** + Attempts to call the method via a dispatch function on + the object + @param char pointer to the named method (used for lookup) + @param void pointer array of arguments + @param void pointer to return value + @exception NullpointerException if object or name are null + @exception DescriptorNotFound if no match + */ + + void dispatch( CharPtr, void **, void * ) + throw( NullPointerException, DescriptorNotFound ); // |