|
From: Frank V. C. <fr...@us...> - 2000-10-27 12:41:37
|
Update of /cvsroot/corelinux/clfw/clfw In directory slayer.i.sourceforge.net:/tmp/cvs-serv2183/clfw Modified Files: Integer.hpp ShortInteger.hpp UnsignedInteger.hpp UnsignedShortInteger.hpp Log Message: Complimented fundemental types with C++ standards Index: Integer.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/Integer.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** Integer.hpp 2000/10/23 04:05:53 1.2 --- Integer.hpp 2000/10/27 12:41:34 1.3 *************** *** 57,63 **** --- 57,78 ---- Integer( void ); + /** + Copy constructor + @param Integer const reference + */ + + Integer( IntegerCref ); + + /** + Constructor with value + @param Int const reference to integer + */ + + Integer( IntCref ); + /// Virtual destructor virtual ~Integer( void ); + //@} *************** *** 74,83 **** /** Assignment operator @param Integer const reference ! @returnm Integer reference to (*this) */ IntegerRef operator=( IntegerCref ); IntegerRef operator=( IntCref ); --- 89,112 ---- /** + Value equality operator + @param Int const reference + @return bool if values are the same + */ + + bool operator==( IntCref ) const; + + /** Assignment operator @param Integer const reference ! @return Integer reference to (*this) */ IntegerRef operator=( IntegerCref ); + + /** + Value assignment operator + @param Int const reference + @return Integer reference to ( *this ) + */ IntegerRef operator=( IntCref ); Index: ShortInteger.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/ShortInteger.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** ShortInteger.hpp 2000/10/16 03:05:07 1.1 --- ShortInteger.hpp 2000/10/27 12:41:34 1.2 *************** *** 57,60 **** --- 57,74 ---- ShortInteger( void ); + /** + Copy constructor + @param ShortInteger const reference + */ + + ShortInteger( ShortIntegerCref ); + + /** + Constructor with value + @param Short const reference to short integer + */ + + ShortInteger( ShortCref ); + /// Virtual destructor *************** *** 74,77 **** --- 88,99 ---- /** + Value equality operator + @param Short const reference + @return bool if values are the same + */ + + bool operator==( ShortCref ) const; + + /** Assignment operator @param ShortInteger const reference *************** *** 80,83 **** --- 102,111 ---- ShortIntegerRef operator=( ShortIntegerCref ); + + /** + Value assignment operator + @param Short const reference + @return ShortInteger reference to ( *this ) + */ ShortIntegerRef operator=( ShortCref ); Index: UnsignedInteger.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/UnsignedInteger.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** UnsignedInteger.hpp 2000/10/23 04:05:53 1.2 --- UnsignedInteger.hpp 2000/10/27 12:41:34 1.3 *************** *** 57,60 **** --- 57,75 ---- UnsignedInteger( void ); + /** + Copy constructor + @param UnsignedInteger const reference + */ + + UnsignedInteger( UnsignedIntegerCref ); + + /** + Value constructor + @param UnsignedInt const reference + */ + + UnsignedInteger( UnsignedIntCref ); + + /// Virtual destructor *************** *** 74,77 **** --- 89,100 ---- /** + Equality operator + @param UnsignedInt const reference + @return bool true if the same object value + */ + + bool operator==( UnsignedIntCref ) const; + + /** Assignment operator @param UnsignedInteger const reference *************** *** 80,83 **** --- 103,112 ---- UnsignedIntegerRef operator=( UnsignedIntegerCref ); + + /** + Assignment operator + @param UnsignedInt const reference + @returnm UnsignedInteger reference to (*this) + */ UnsignedIntegerRef operator=( UnsignedIntCref ); Index: UnsignedShortInteger.hpp =================================================================== RCS file: /cvsroot/corelinux/clfw/clfw/UnsignedShortInteger.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** UnsignedShortInteger.hpp 2000/10/23 04:05:53 1.1 --- UnsignedShortInteger.hpp 2000/10/27 12:41:34 1.2 *************** *** 57,60 **** --- 57,74 ---- UnsignedShortInteger( void ); + /** + Copy constructor + @param UnsignedShortInteger const reference + */ + + UnsignedShortInteger( UnsignedShortIntegerCref ); + + /** + Value constructor + @param Word const reference + */ + + UnsignedShortInteger( WordCref ); + /// Virtual destructor *************** *** 74,77 **** --- 88,99 ---- /** + Equality operator + @param Word const reference + @return bool true if the same object instance + */ + + bool operator==( WordCref ) const; + + /** Assignment operator @param UnsignedShortInteger const reference *************** *** 80,83 **** --- 102,111 ---- UnsignedShortIntegerRef operator=( UnsignedShortIntegerCref ); + + /** + Assignment operator + @param Word const reference + @returnm UnsignedShortInteger reference to (*this) + */ UnsignedShortIntegerRef operator=( WordCref ); |