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.6 - (show annotations) (download) (as text)
Sat Jan 22 00:18:33 2005 UTC (19 years, 2 months ago) by aga
Branch: MAIN
CVS Tags: demo20050128
Changes since 1.5: +5 -2 lines
File MIME type: text/x-chdr
・indexID を unsigned にした.

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

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