Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/group.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download) (as text)
Fri Feb 25 07:00:37 2005 UTC (19 years, 1 month ago) by tani
Branch: MAIN
Changes since 1.7: +13 -1 lines
File MIME type: text/x-chdr
item_number_limit, index_number_limit, item_storage_limitを追加.

1 /*
2 * Platform?違???若??膊∞???????????????劫?荐?
3 *
4 * $Revision: 1.7 $
5 * $Log: group.h,v $
6 * Revision 1.7 2005/02/03 12:03:10 youi
7 * 絎??医?臂??????若?水????篆??.
8 *
9 * Revision 1.6 2005/01/22 00:18:33 aga
10 * ??ndexID ?? unsigned ??????.
11 *
12 * Revision 1.5 2005/01/15 05:31:43 youi
13 * groupid_t??篏帥?c???臂?
14 *
15 * Revision 1.4 2005/01/14 10:33:53 aga
16 * ??nt groupIndexID??菴遵??.
17 *
18 * Revision 1.3 2004/11/30 02:29:54 aga
19 * ??etXxxx()??const??????.
20 *
21 * Revision 1.2 2004/11/25 04:12:14 youi
22 * typedef??菴遵??.
23 *
24 * Revision 1.1 2004/11/22 08:25:16 youi
25 * initial version.
26 *
27 *
28 */
29 #if !defined( GROUP_H )
30 #define GROUP_H
31
32 typedef unsigned int groupid_t;
33 class group{
34 private:
35 groupid_t gid; //?違???若???潟?若??
36 char* gname; //?違???若????
37 char* desc; //?違???若???????/span>
38 unsigned int groupIndexID;
39 int itemNumberLimit;
40 int indexNumberLimit;
41 double itemStorageLimit;
42 public:
43 const static groupid_t GID_DEFAULT = 1;
44
45 group();
46 group( groupid_t gid, const char* gname, const char* desc );
47 ~group();
48
49 groupid_t getGID() const;
50 const char *getGname() const;
51 const char *getDesc() const;
52 int getGroupIndexID() const;
53 int getItemNumberLimit( ) const;
54 int getIndexNumberLimit( ) const;
55 double getItemStorageLimit( ) const;
56
57 void setGID( groupid_t gid );
58 void setGname( const char *gname );
59 void setDesc( const char *desc );
60 void setGroupIndexID( int xid );
61 void setItemNumberLimit( int );
62 void setIndexNumberLimit( int );
63 void setItemStorageLimit( double );
64 };
65
66 typedef group group_t;
67
68 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26