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.5 - (hide annotations) (download) (as text)
Sat Jan 15 05:31:43 2005 UTC (19 years, 2 months ago) by youi
Branch: MAIN
Changes since 1.4: +11 -5 lines
File MIME type: text/x-chdr
groupid_tを使って定義.

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

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