Develop and Download Open Source Software

Browse CVS Repository

Annotation of /xoonips/AL/group.h

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


Revision 1.7 - (hide annotations) (download) (as text)
Thu Feb 3 12:03:10 2005 UTC (19 years, 2 months ago) by youi
Branch: MAIN
CVS Tags: mv_to_sourceforge_20050217
Changes since 1.6: +5 -2 lines
File MIME type: text/x-chdr
定数定義のデータ型を修正.

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

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