| 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 |
* |
* |
| 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 ) |
| 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 |
|
|