Browse CVS Repository
Annotation of /xoonips/AL/index.cc
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( hide annotations)
( download)
( as text)
Sat Dec 25 10:28:25 2004 UTC
(19 years, 3 months ago)
by aga
Branch: MAIN
File MIME type: text/x-c++src
・index, item を追加.
| 1 |
aga |
1.1 |
/* |
| 2 |
|
|
* |
| 3 |
|
|
* ?ゃ?潟???????鴻???若???若??膊∞?????????鴻???臂?/span> |
| 4 |
|
|
* |
| 5 |
|
|
* $Revision $ |
| 6 |
|
|
* |
| 7 |
|
|
*/ |
| 8 |
|
|
|
| 9 |
|
|
|
| 10 |
|
|
#include "index.h" |
| 11 |
|
|
|
| 12 |
|
|
index::index() |
| 13 |
|
|
{ |
| 14 |
|
|
parentIndexID = 0; |
| 15 |
|
|
ownerUserID = 0; |
| 16 |
|
|
ownerGroupID = 0; |
| 17 |
|
|
openLevel = 0; |
| 18 |
|
|
sortNumber = 0; |
| 19 |
|
|
} |
| 20 |
|
|
|
| 21 |
|
|
index::~index(){} |
| 22 |
|
|
|
| 23 |
|
|
|
| 24 |
|
|
int index::getParentIndexID() const { return parentIndexID; } |
| 25 |
|
|
int index::getOwnerUserID() const { return ownerUserID; } |
| 26 |
|
|
int index::getOwnerGroupID() const { return ownerGroupID; } |
| 27 |
|
|
openlevel_t index::getOpenLevel() const { return openLevel; } |
| 28 |
|
|
unsigned long index::getSortNumber() const { return sortNumber; } |
| 29 |
|
|
|
| 30 |
|
|
bool index::isPublic() const { return openLevel == PUBLIC; } |
| 31 |
|
|
bool index::isGroupOnly() const { return openLevel == GROUP_ONLY; } |
| 32 |
|
|
bool index::isPrivate() const { return openLevel == PRIVATE; } |
| 33 |
|
|
|
| 34 |
|
|
void index::setParentIndexID(int parentIndexID_){ parentIndexID = parentIndexID_; } |
| 35 |
|
|
void index::setOwnerUserID(int ownerUserID_){ ownerUserID = ownerUserID_; } |
| 36 |
|
|
void index::setOwnerGroupID(int ownerGroupID_){ ownerGroupID = ownerGroupID_; } |
| 37 |
|
|
void index::setOpenLevel(openlevel_t openLevel_){ openLevel = openLevel_; } |
| 38 |
|
|
void index::setSortNumber(unsigned long sortNumber_){ sortNumber = sortNumber_; } |
| 39 |
|
|
|
| 40 |
|
|
|
|