Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/group.h

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

revision 1.4 by aga, Fri Jan 14 10:33:53 2005 UTC revision 1.5 by youi, Sat Jan 15 05:31:43 2005 UTC
# Line 3  Line 3 
3   *   *
4   * $Revision$   * $Revision$
5   * $Log$   * $Log$
6     * Revision 1.5  2005/01/15 05:31:43  youi
7     * groupid_tを使って定義.
8     *
9   * Revision 1.4  2005/01/14 10:33:53  aga   * Revision 1.4  2005/01/14 10:33:53  aga
10   * ・int groupIndexIDを追加.   * ・int groupIndexIDを追加.
11   *   *
# Line 20  Line 23 
23  #if !defined( GROUP_H )  #if !defined( GROUP_H )
24  #define GROUP_H  #define GROUP_H
25    
26    typedef unsigned int groupid_t;
27  class group{  class group{
28  private:  private:
29      int gid;    //グループコード      groupid_t gid;      //グループコード
30      char* gname;        //グループ名      char* gname;        //グループ名
31      char* desc; //グループの説明      char* desc; //グループの説明
32      int groupIndexID;      int groupIndexID;
33  public:  public:
34        const static int GID_DEFAULT = 1;
35        
36      group();      group();
37      group( int gid, const char* gname, const char* desc );      group( groupid_t gid, const char* gname, const char* desc );
38      ~group();      ~group();
39    
40      int getGID() const;      groupid_t getGID() const;
41      const char *getGname() const;      const char *getGname() const;
42      const char *getDesc() const;      const char *getDesc() const;
43      int getGroupIndexID() const;      int getGroupIndexID() const;
44    
45      void setGID( int gid );      void setGID( groupid_t gid );
46      void setGname( const char *gname );      void setGname( const char *gname );
47      void setDesc( const char *desc );      void setDesc( const char *desc );
48      void setGroupIndexID( int xid );      void setGroupIndexID( int xid );

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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