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.3 by aga, Tue Nov 30 02:29:54 2004 UTC revision 1.4 by aga, Fri Jan 14 10:33:53 2005 UTC
# Line 3  Line 3 
3   *   *
4   * $Revision$   * $Revision$
5   * $Log$   * $Log$
6     * Revision 1.4  2005/01/14 10:33:53  aga
7     * ・int groupIndexIDを追加.
8     *
9   * Revision 1.3  2004/11/30 02:29:54  aga   * Revision 1.3  2004/11/30 02:29:54  aga
10   * ・getXxxx()をconstにした.   * ・getXxxx()をconstにした.
11   *   *
# Line 29  group::group() Line 32  group::group()
32      gid = 0;      gid = 0;
33      setValue( &this -> gname, "" );      setValue( &this -> gname, "" );
34      setValue( &this -> desc, "" );      setValue( &this -> desc, "" );
35        groupIndexID = 0;
36  }  }
37    
38  group::group( int gid, const char* gname, const char* desc )  group::group( int gid, const char* gname, const char* desc )
# Line 47  group::~group() Line 51  group::~group()
51  int group::getGID() const{ return gid; }  int group::getGID() const{ return gid; }
52  const char* group::getGname() const{ return gname; }  const char* group::getGname() const{ return gname; }
53  const char* group::getDesc() const{ return desc; }  const char* group::getDesc() const{ return desc; }
54    int group::getGroupIndexID() const{ return groupIndexID; }
55    
56  void group::setGID( int gid ){ this -> gid = gid; }  void group::setGID( int gid ){ this -> gid = gid; }
57  void group::setGname( const char *gname ){ setValue( &this -> gname, gname ); }  void group::setGname( const char *gname ){ setValue( &this -> gname, gname ); }
58  void group::setDesc( const char *desc ){ setValue( &this -> desc, desc ); }  void group::setDesc( const char *desc ){ setValue( &this -> desc, desc ); }
59    void group::setGroupIndexID( int xid ){ this -> groupIndexID = xid; }
60    

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

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