From Mike Wittman, added protected function support

This commit is contained in:
Robert Osfield
2007-03-01 11:54:30 +00:00
parent e622959393
commit 6c56383ba9
9 changed files with 3065 additions and 13 deletions

View File

@@ -1218,6 +1218,651 @@ namespace osgIntrospection
FunctionType f_;
};
template<typename C, typename R>
class StaticProtectedMethodInfo0: public MethodInfo
{
public:
StaticProtectedMethodInfo0(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& /*args*/) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0>
class StaticProtectedMethodInfo1: public MethodInfo
{
public:
StaticProtectedMethodInfo1(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1>
class StaticProtectedMethodInfo2: public MethodInfo
{
public:
StaticProtectedMethodInfo2(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2>
class StaticProtectedMethodInfo3: public MethodInfo
{
public:
StaticProtectedMethodInfo3(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3>
class StaticProtectedMethodInfo4: public MethodInfo
{
public:
StaticProtectedMethodInfo4(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4>
class StaticProtectedMethodInfo5: public MethodInfo
{
public:
StaticProtectedMethodInfo5(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5>
class StaticProtectedMethodInfo6: public MethodInfo
{
public:
StaticProtectedMethodInfo6(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
class StaticProtectedMethodInfo7: public MethodInfo
{
public:
StaticProtectedMethodInfo7(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7>
class StaticProtectedMethodInfo8: public MethodInfo
{
public:
StaticProtectedMethodInfo8(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8>
class StaticProtectedMethodInfo9: public MethodInfo
{
public:
StaticProtectedMethodInfo9(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9>
class StaticProtectedMethodInfo10: public MethodInfo
{
public:
StaticProtectedMethodInfo10(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10>
class StaticProtectedMethodInfo11: public MethodInfo
{
public:
StaticProtectedMethodInfo11(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11>
class StaticProtectedMethodInfo12: public MethodInfo
{
public:
StaticProtectedMethodInfo12(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11, typename P12>
class StaticProtectedMethodInfo13: public MethodInfo
{
public:
StaticProtectedMethodInfo13(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11, typename P12, typename P13>
class StaticProtectedMethodInfo14: public MethodInfo
{
public:
StaticProtectedMethodInfo14(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11, typename P12, typename P13, typename P14>
class StaticProtectedMethodInfo15: public MethodInfo
{
public:
StaticProtectedMethodInfo15(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11, typename P12, typename P13, typename P14, typename P15>
class StaticProtectedMethodInfo16: public MethodInfo
{
public:
StaticProtectedMethodInfo16(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(R), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C>
class StaticProtectedMethodInfo0<C, void>: public MethodInfo
{
public:
StaticProtectedMethodInfo0(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& /*args*/) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0>
class StaticProtectedMethodInfo1<C, void, P0>: public MethodInfo
{
public:
StaticProtectedMethodInfo1(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1>
class StaticProtectedMethodInfo2<C, void, P0, P1>: public MethodInfo
{
public:
StaticProtectedMethodInfo2(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2>
class StaticProtectedMethodInfo3<C, void, P0, P1, P2>: public MethodInfo
{
public:
StaticProtectedMethodInfo3(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3>
class StaticProtectedMethodInfo4<C, void, P0, P1, P2, P3>: public MethodInfo
{
public:
StaticProtectedMethodInfo4(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4>
class StaticProtectedMethodInfo5<C, void, P0, P1, P2, P3, P4>: public MethodInfo
{
public:
StaticProtectedMethodInfo5(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5>
class StaticProtectedMethodInfo6<C, void, P0, P1, P2, P3, P4, P5>: public MethodInfo
{
public:
StaticProtectedMethodInfo6(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
class StaticProtectedMethodInfo7<C, void, P0, P1, P2, P3, P4, P5, P6>: public MethodInfo
{
public:
StaticProtectedMethodInfo7(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7>
class StaticProtectedMethodInfo8<C, void, P0, P1, P2, P3, P4, P5, P6, P7>: public MethodInfo
{
public:
StaticProtectedMethodInfo8(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8>
class StaticProtectedMethodInfo9<C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8>: public MethodInfo
{
public:
StaticProtectedMethodInfo9(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9>
class StaticProtectedMethodInfo10<C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9>: public MethodInfo
{
public:
StaticProtectedMethodInfo10(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10>
class StaticProtectedMethodInfo11<C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>: public MethodInfo
{
public:
StaticProtectedMethodInfo11(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11>
class StaticProtectedMethodInfo12<C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11>: public MethodInfo
{
public:
StaticProtectedMethodInfo12(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11, typename P12>
class StaticProtectedMethodInfo13<C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12>: public MethodInfo
{
public:
StaticProtectedMethodInfo13(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11, typename P12, typename P13>
class StaticProtectedMethodInfo14<C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13>: public MethodInfo
{
public:
StaticProtectedMethodInfo14(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11, typename P12, typename P13, typename P14>
class StaticProtectedMethodInfo15<C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14>: public MethodInfo
{
public:
StaticProtectedMethodInfo15(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
template<typename C, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7, typename P8, typename P9, typename P10, typename P11, typename P12, typename P13, typename P14, typename P15>
class StaticProtectedMethodInfo16<C, void, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15>: public MethodInfo
{
public:
StaticProtectedMethodInfo16(const std::string& qname, const ParameterInfoList& plist, std::string briefHelp = std::string(), std::string detailedHelp = std::string())
: MethodInfo(qname, typeof(C), typeof(void), plist, briefHelp, detailedHelp)
{
}
bool isConst() const { return false; }
bool isStatic() const { return true; }
Value invoke(ValueList& args) const
{
throw ProtectedMethodInvocationException();
}
};
}
#endif