Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/index.h

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


Revision 1.1 - (show 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-chdr
・index, item を追加.

1 /*
2 *
3 * ?ゃ?潟???????鴻???若???若??膊∞?????????鴻???荐?
4 *
5 * $Revision$
6 */
7
8 #if !defined( INDEX_H )
9 #define INDEX_H
10
11 #include "common.h"
12 #include "item.h"
13
14 typedef unsigned int openlevel_t;
15
16 class index : public item{
17 private:
18 int parentIndexID;
19 int ownerUserID;
20 int ownerGroupID;
21 openlevel_t openLevel;
22 unsigned long sortNumber;
23 public:
24 const static openlevel_t PUBLIC = 1;
25 const static openlevel_t GROUP_ONLY = 2;
26 const static openlevel_t PRIVATE = 3;
27
28 index();
29 ~index();
30
31 int getParentIndexID() const;
32 int getOwnerUserID() const;
33 int getOwnerGroupID() const;
34 openlevel_t getOpenLevel() const;
35 unsigned long getSortNumber() const;
36
37 void setParentIndexID(int);
38 void setOwnerUserID(int);
39 void setOwnerGroupID(int);
40 void setOpenLevel(openlevel_t);
41 void setSortNumber(unsigned long);
42
43 bool isPublic() const;
44 bool isGroupOnly() const;
45 bool isPrivate() const;
46
47 };
48
49 typedef class index index_t; // "index"????????篁????贋???т戎????????????????????
50
51 #endif

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