Develop and Download Open Source Software

Browse CVS Repository

Diff of /xoonips/AL/group.cc

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 35  group::group() Line 38  group::group()
38      groupIndexID = 0;      groupIndexID = 0;
39  }  }
40    
41  group::group( int gid, const char* gname, const char* desc )  group::group( groupid_t gid, const char* gname, const char* desc )
42  {  {
43      this -> gid = gid;      this -> gid = gid;
44      setValue( &this -> gname, gname );      setValue( &this -> gname, gname );
# Line 48  group::~group() Line 51  group::~group()
51      if( desc != 0 ){ delete[] desc; }      if( desc != 0 ){ delete[] desc; }
52  }  }
53    
54  int group::getGID() const{ return gid; }  groupid_t group::getGID() const{ return gid; }
55  const char* group::getGname() const{ return gname; }  const char* group::getGname() const{ return gname; }
56  const char* group::getDesc() const{ return desc; }  const char* group::getDesc() const{ return desc; }
57  int group::getGroupIndexID() const{ return groupIndexID; }  int group::getGroupIndexID() const{ return groupIndexID; }
58    
59  void group::setGID( int gid ){ this -> gid = gid; }  void group::setGID( groupid_t gid ){ this -> gid = gid; }
60  void group::setGname( const char *gname ){ setValue( &this -> gname, gname ); }  void group::setGname( const char *gname ){ setValue( &this -> gname, gname ); }
61  void group::setDesc( const char *desc ){ setValue( &this -> desc, desc ); }  void group::setDesc( const char *desc ){ setValue( &this -> desc, desc ); }
62  void group::setGroupIndexID( int xid ){ this -> groupIndexID = xid; }  void group::setGroupIndexID( int xid ){ this -> groupIndexID = 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