| 56 | | #define OSG_GEN_INTERNALPTR(CLASST) \ |
|---|
| 57 | | typedef CLASST * ObjPtr; \ |
|---|
| 58 | | typedef CLASST * const ObjPtrConst; \ |
|---|
| 59 | | typedef const CLASST * ObjConstPtr; \ |
|---|
| 60 | | typedef const CLASST * const ObjConstPtrConst; \ |
|---|
| 61 | | \ |
|---|
| 62 | | typedef CLASST * ObjPtrArg; \ |
|---|
| 63 | | typedef CLASST * const ObjPtrConstArg; \ |
|---|
| 64 | | typedef const CLASST * ObjConstPtrArg |
|---|
| | 56 | // #define OSG_GEN_INTERNALPTR(CLASST) \ |
|---|
| | 57 | // typedef CLASST * ObjPtr; \ |
|---|
| | 58 | // typedef CLASST * const ObjPtrConst; \ |
|---|
| | 59 | // typedef const CLASST * ObjConstPtr; \ |
|---|
| | 60 | // typedef const CLASST * const ObjConstPtrConst; \ |
|---|
| | 61 | // \ |
|---|
| | 62 | // typedef CLASST * ObjPtrArg; \ |
|---|
| | 63 | // typedef CLASST * const ObjPtrConstArg; \ |
|---|
| | 64 | // typedef const CLASST * ObjConstPtrArg |
|---|
| | 65 | |
|---|
| | 66 | #define OSG_GEN_NAMED_CONTAINER_PTR(CLASST, NAME) \ |
|---|
| | 67 | typedef CLASST * NAME##Ptr; \ |
|---|
| | 68 | typedef CLASST * const NAME##PtrConst; \ |
|---|
| | 69 | typedef CLASST const * NAME##ConstPtr; \ |
|---|
| | 70 | typedef CLASST const * const NAME##ConstPtrConst; \ |
|---|
| | 71 | \ |
|---|
| | 72 | typedef CLASST * NAME##PtrArg; \ |
|---|
| | 73 | typedef CLASST * const NAME##PtrConstArg; \ |
|---|
| | 74 | typedef CLASST const * NAME##ConstPtrArg; |
|---|
| | 75 | |
|---|
| | 76 | #define OSG_GEN_NAMED_PTR(CLASST, NAME) \ |
|---|
| | 77 | typedef CLASST * NAME##P; \ |
|---|
| | 78 | typedef CLASST * const NAME##PConst; \ |
|---|
| | 79 | typedef CLASST const * NAME##ConstP; \ |
|---|
| | 80 | typedef CLASST const * const NAME##ConstPConst; \ |
|---|
| | 81 | \ |
|---|
| | 82 | typedef CLASST * NAME##PArg; \ |
|---|
| | 83 | typedef CLASST * const NAME##PConstArg; \ |
|---|
| | 84 | typedef CLASST const * NAME##ConstPArg; |
|---|
| | 85 | |
|---|
| | 86 | #define OSG_GEN_INTERNALPTR(CLASST) \ |
|---|
| | 87 | OSG_GEN_NAMED_CONTAINER_PTR(CLASST, Obj) |
|---|