Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/etc/Games/Score.hpp

Go to the documentation of this file.
00001 #ifndef __J2K__JScore_HPP__
00002 #define __J2K__JScore_HPP__
00003 
00004 #include <j2k/Fred/Standard.hpp>
00005 
00006 class JScore {
00007 public:
00008   inline JScore();
00009   inline JScore( ULONG pts );
00010   inline JScore( ULONG pts, const char* n );
00011   inline JScore( const JScore& src );
00012   inline virtual ~JScore();
00013 
00014   inline void setName(  const char* n );
00015   inline void setScore( ULONG pts );
00016 
00017   // Should be copied by user.
00018   inline const char* getName();
00019   inline ULONG       getScore();
00020 
00021 
00022   inline const JScore& operator=(  const JScore& src   );
00023   inline const JScore& operator==( const JScore& right );
00024   inline const JScore& operator>(  const JScore& right );
00025   inline const JScore& operator<(  const JScore& right );
00026 
00027 
00028 protected:
00029   ULONG  score;
00030   char*  name; 
00031 };
00032 
00033 #include <j2k/Fred/Games/Score.inl>
00034 
00035 #endif

Generated on Sun Oct 14 18:46:31 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001