diff --git a/deps/src/JlClasses_017.cxx b/deps/src/JlClasses_017.cxx index ef3f085..393a794 100644 --- a/deps/src/JlClasses_017.cxx +++ b/deps/src/JlClasses_017.cxx @@ -160,15 +160,15 @@ struct JlTProfile2D: public Wrapper { // signature to use in the veto list: Int_t TProfile2D::Fill(const char *, Double_t, Double_t, Double_t) // defined in /home/pgras/.julia/conda/3/include/TProfile2D.h:105:22 t.method("Fill", static_cast(&TProfile2D::Fill)); - t.method("Fill", [](TProfile2D& a, const char * arg0, Double_t arg1, Double_t arg2)->Int_t { return a.Fill(arg0, arg1, arg2); }); - t.method("Fill", [](TProfile2D* a, const char * arg0, Double_t arg1, Double_t arg2)->Int_t { return a->Fill(arg0, arg1, arg2); }); + t.method("Fill", [](TProfile2D& a, const char * arg0, Double_t arg1, Double_t arg2)->Int_t { return a.TProfile2D::Fill(arg0, arg1, arg2); }); + t.method("Fill", [](TProfile2D* a, const char * arg0, Double_t arg1, Double_t arg2)->Int_t { return a->TProfile2D::Fill(arg0, arg1, arg2); }); DEBUG_MSG("Adding wrapper for Int_t TProfile2D::Fill(const char *, const char *, Double_t, Double_t) (" __HERE__ ")"); // signature to use in the veto list: Int_t TProfile2D::Fill(const char *, const char *, Double_t, Double_t) // defined in /home/pgras/.julia/conda/3/include/TProfile2D.h:106:22 t.method("Fill", static_cast(&TProfile2D::Fill)); - t.method("Fill", [](TProfile2D& a, const char * arg0, const char * arg1, Double_t arg2)->Int_t { return a.Fill(arg0, arg1, arg2); }); - t.method("Fill", [](TProfile2D* a, const char * arg0, const char * arg1, Double_t arg2)->Int_t { return a->Fill(arg0, arg1, arg2); }); + t.method("Fill", [](TProfile2D& a, const char * arg0, const char * arg1, Double_t arg2)->Int_t { return a.TProfile2D::Fill(arg0, arg1, arg2); }); + t.method("Fill", [](TProfile2D* a, const char * arg0, const char * arg1, Double_t arg2)->Int_t { return a->TProfile2D::Fill(arg0, arg1, arg2); }); DEBUG_MSG("Adding wrapper for Int_t TProfile2D::Fill(Double_t, Double_t, Double_t, Double_t) (" __HERE__ ")"); // signature to use in the veto list: Int_t TProfile2D::Fill(Double_t, Double_t, Double_t, Double_t) diff --git a/deps/src/JlClasses_019.cxx b/deps/src/JlClasses_019.cxx new file mode 100644 index 0000000..247c88d --- /dev/null +++ b/deps/src/JlClasses_019.cxx @@ -0,0 +1,389 @@ +// this file was auto-generated by wrapit v1.4.0 +#include "Wrapper.h" + +#include "jlROOT.h" +#include "dbg_msg.h" +#include "jlcxx/functions.hpp" +#include "jlcxx/stl.hpp" + +namespace jlcxx { + template<> struct IsMirroredType : std::false_type { }; + template<> struct DefaultConstructible : std::false_type { }; +template<> struct SuperType { typedef TNamed type; }; +} + +// Class generating the wrapper for type TFormula +// signature to use in the veto file: TFormula +struct JlTFormula: public Wrapper { + + JlTFormula(jlcxx::Module& jlModule): Wrapper(jlModule){ + DEBUG_MSG("Adding wrapper for type TFormula (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TFormula.h:86:7 + jlcxx::TypeWrapper t = jlModule.add_type("TFormula", + jlcxx::julia_base_type()); + type_ = std::unique_ptr>(new jlcxx::TypeWrapper(jlModule, t)); + } + + void add_methods() const{ + auto& t = *type_; + t.template constructor<>(/*finalize=*/true); + } + +private: + std::unique_ptr> type_; +}; +std::shared_ptr newJlTFormula(jlcxx::Module& module){ + return std::shared_ptr(new JlTFormula(module)); +} + +namespace jlcxx { + template<> struct IsMirroredType : std::false_type { }; + template<> struct DefaultConstructible : std::false_type { }; +template<> struct SuperType { typedef TObject type; }; +} + +// Class generating the wrapper for type TMethodCall +// signature to use in the veto file: TMethodCall +struct JlTMethodCall: public Wrapper { + + JlTMethodCall(jlcxx::Module& jlModule): Wrapper(jlModule){ + DEBUG_MSG("Adding wrapper for type TMethodCall (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TMethodCall.h:37:7 + jlcxx::TypeWrapper t = jlModule.add_type("TMethodCall", + jlcxx::julia_base_type()); + type_ = std::unique_ptr>(new jlcxx::TypeWrapper(jlModule, t)); + } + + void add_methods() const{ + auto& t = *type_; + t.template constructor<>(/*finalize=*/true); + } + +private: + std::unique_ptr> type_; +}; +std::shared_ptr newJlTMethodCall(jlcxx::Module& module){ + return std::shared_ptr(new JlTMethodCall(module)); +} + +namespace jlcxx { + template<> struct IsMirroredType : std::false_type { }; + template<> struct DefaultConstructible : std::false_type { }; + template<> struct CopyConstructible : std::false_type { }; +template<> struct SuperType { typedef TObject type; }; +} + +// Class generating the wrapper for type TTreeReader +// signature to use in the veto file: TTreeReader +struct JlTTreeReader: public Wrapper { + + JlTTreeReader(jlcxx::Module& jlModule): Wrapper(jlModule){ + DEBUG_MSG("Adding wrapper for type TTreeReader (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:44:7 + jlcxx::TypeWrapper t = jlModule.add_type("TTreeReader", + jlcxx::julia_base_type()); + type_ = std::unique_ptr>(new jlcxx::TypeWrapper(jlModule, t)); + } + + void add_methods() const{ + auto& t = *type_; + t.template constructor<>(/*finalize=*/true); + + + DEBUG_MSG("Adding wrapper for void TTreeReader::TTreeReader(TTree *, TEntryList *) (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:165:4 + t.constructor(/*finalize=*/true); + t.constructor(/*finalize=*/true); + + + DEBUG_MSG("Adding wrapper for void TTreeReader::TTreeReader(const char *, TDirectory *, TEntryList *) (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:166:4 + t.constructor(/*finalize=*/true); + t.constructor(/*finalize=*/true); + + + DEBUG_MSG("Adding wrapper for void TTreeReader::TTreeReader(const char *, TEntryList *) (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:167:4 + t.constructor(/*finalize=*/true); + t.constructor(/*finalize=*/true); + + DEBUG_MSG("Adding wrapper for void TTreeReader::SetTree(TTree *, TEntryList *) (" __HERE__ ")"); + // signature to use in the veto list: void TTreeReader::SetTree(TTree *, TEntryList *) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:171:9 + t.method("SetTree", static_cast(&TTreeReader::SetTree)); + t.method("SetTree", [](TTreeReader& a, TTree * arg0)->void { a.SetTree(arg0); }); + t.method("SetTree", [](TTreeReader* a, TTree * arg0)->void { a->SetTree(arg0); }); + + DEBUG_MSG("Adding wrapper for void TTreeReader::SetTree(const char *, TEntryList *) (" __HERE__ ")"); + // signature to use in the veto list: void TTreeReader::SetTree(const char *, TEntryList *) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:172:9 + t.method("SetTree", static_cast(&TTreeReader::SetTree)); + t.method("SetTree", [](TTreeReader& a, const char * arg0)->void { a.SetTree(arg0); }); + t.method("SetTree", [](TTreeReader* a, const char * arg0)->void { a->SetTree(arg0); }); + + DEBUG_MSG("Adding wrapper for void TTreeReader::SetTree(const char *, TDirectory *, TEntryList *) (" __HERE__ ")"); + // signature to use in the veto list: void TTreeReader::SetTree(const char *, TDirectory *, TEntryList *) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:175:9 + t.method("SetTree", static_cast(&TTreeReader::SetTree)); + t.method("SetTree", [](TTreeReader& a, const char * arg0, TDirectory * arg1)->void { a.SetTree(arg0, arg1); }); + t.method("SetTree", [](TTreeReader* a, const char * arg0, TDirectory * arg1)->void { a->SetTree(arg0, arg1); }); + + DEBUG_MSG("Adding wrapper for Bool_t TTreeReader::IsChain() (" __HERE__ ")"); + // signature to use in the veto list: Bool_t TTreeReader::IsChain() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:177:11 + t.method("IsChain", static_cast(&TTreeReader::IsChain)); + + DEBUG_MSG("Adding wrapper for Bool_t TTreeReader::IsInvalid() (" __HERE__ ")"); + // signature to use in the veto list: Bool_t TTreeReader::IsInvalid() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:179:11 + t.method("IsInvalid", static_cast(&TTreeReader::IsInvalid)); + + DEBUG_MSG("Adding wrapper for TTree * TTreeReader::GetTree() (" __HERE__ ")"); + // signature to use in the veto list: TTree * TTreeReader::GetTree() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:181:11 + t.method("GetTree", static_cast(&TTreeReader::GetTree)); + + DEBUG_MSG("Adding wrapper for TEntryList * TTreeReader::GetEntryList() (" __HERE__ ")"); + // signature to use in the veto list: TEntryList * TTreeReader::GetEntryList() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:182:16 + t.method("GetEntryList", static_cast(&TTreeReader::GetEntryList)); + + DEBUG_MSG("Adding wrapper for Bool_t TTreeReader::Next() (" __HERE__ ")"); + // signature to use in the veto list: Bool_t TTreeReader::Next() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:190:11 + t.method("Next", static_cast(&TTreeReader::Next)); + + DEBUG_MSG("Adding wrapper for TTreeReader::EEntryStatus TTreeReader::SetEntry(Long64_t) (" __HERE__ ")"); + // signature to use in the veto list: TTreeReader::EEntryStatus TTreeReader::SetEntry(Long64_t) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:199:17 + t.method("SetEntry", static_cast(&TTreeReader::SetEntry)); + + DEBUG_MSG("Adding wrapper for TTreeReader::EEntryStatus TTreeReader::SetLocalEntry(Long64_t) (" __HERE__ ")"); + // signature to use in the veto list: TTreeReader::EEntryStatus TTreeReader::SetLocalEntry(Long64_t) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:209:17 + t.method("SetLocalEntry", static_cast(&TTreeReader::SetLocalEntry)); + + DEBUG_MSG("Adding wrapper for TTreeReader::EEntryStatus TTreeReader::SetEntriesRange(Long64_t, Long64_t) (" __HERE__ ")"); + // signature to use in the veto list: TTreeReader::EEntryStatus TTreeReader::SetEntriesRange(Long64_t, Long64_t) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:211:17 + t.method("SetEntriesRange", static_cast(&TTreeReader::SetEntriesRange)); + + DEBUG_MSG("Adding wrapper for void TTreeReader::Restart() (" __HERE__ ")"); + // signature to use in the veto list: void TTreeReader::Restart() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:219:9 + t.method("Restart", static_cast(&TTreeReader::Restart)); + + DEBUG_MSG("Adding wrapper for TTreeReader::EEntryStatus TTreeReader::GetEntryStatus() (" __HERE__ ")"); + // signature to use in the veto list: TTreeReader::EEntryStatus TTreeReader::GetEntryStatus() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:223:17 + t.method("GetEntryStatus", static_cast(&TTreeReader::GetEntryStatus)); + + DEBUG_MSG("Adding wrapper for Long64_t TTreeReader::GetEntries() (" __HERE__ ")"); + // signature to use in the veto list: Long64_t TTreeReader::GetEntries() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:225:13 + t.method("GetEntries", static_cast(&TTreeReader::GetEntries)); + + DEBUG_MSG("Adding wrapper for Long64_t TTreeReader::GetEntries(Bool_t) (" __HERE__ ")"); + // signature to use in the veto list: Long64_t TTreeReader::GetEntries(Bool_t) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:226:13 + t.method("GetEntries", static_cast(&TTreeReader::GetEntries)); + + DEBUG_MSG("Adding wrapper for Long64_t TTreeReader::GetCurrentEntry() (" __HERE__ ")"); + // signature to use in the veto list: Long64_t TTreeReader::GetCurrentEntry() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:235:13 + t.method("GetCurrentEntry", static_cast(&TTreeReader::GetCurrentEntry)); + + DEBUG_MSG("Adding wrapper for Bool_t TTreeReader::Notify() (" __HERE__ ")"); + // signature to use in the veto list: Bool_t TTreeReader::Notify() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:237:11 + t.method("Notify", static_cast(&TTreeReader::Notify)); + + DEBUG_MSG("Adding wrapper for TTreeReader::Iterator_t TTreeReader::begin() (" __HERE__ ")"); + // signature to use in the veto list: TTreeReader::Iterator_t TTreeReader::begin() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:240:15 + t.method("begin", static_cast(&TTreeReader::begin)); + + DEBUG_MSG("Adding wrapper for TTreeReader::Iterator_t TTreeReader::end() (" __HERE__ ")"); + // signature to use in the veto list: TTreeReader::Iterator_t TTreeReader::end() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:244:15 + t.method("end", static_cast(&TTreeReader::end)); + + DEBUG_MSG("Adding wrapper for Version_t TTreeReader::Class_Version() (" __HERE__ ")"); + // signature to use in the veto list: Version_t TTreeReader::Class_Version() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + module_.method("TTreeReader!Class_Version", static_cast(&TTreeReader::Class_Version)); + + DEBUG_MSG("Adding wrapper for TClass * TTreeReader::IsA() (" __HERE__ ")"); + // signature to use in the veto list: TClass * TTreeReader::IsA() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + t.method("IsA", static_cast(&TTreeReader::IsA)); + + DEBUG_MSG("Adding wrapper for void TTreeReader::StreamerNVirtual(TBuffer &) (" __HERE__ ")"); + // signature to use in the veto list: void TTreeReader::StreamerNVirtual(TBuffer &) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + t.method("StreamerNVirtual", static_cast(&TTreeReader::StreamerNVirtual)); + + DEBUG_MSG("Adding wrapper for const char * TTreeReader::DeclFileName() (" __HERE__ ")"); + // signature to use in the veto list: const char * TTreeReader::DeclFileName() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + module_.method("TTreeReader!DeclFileName", []() { return (std::string)TTreeReader::DeclFileName(); }); + + DEBUG_MSG("Adding wrapper for int TTreeReader::ImplFileLine() (" __HERE__ ")"); + // signature to use in the veto list: int TTreeReader::ImplFileLine() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + module_.method("TTreeReader!ImplFileLine", static_cast(&TTreeReader::ImplFileLine)); + + DEBUG_MSG("Adding wrapper for const char * TTreeReader::ImplFileName() (" __HERE__ ")"); + // signature to use in the veto list: const char * TTreeReader::ImplFileName() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + module_.method("TTreeReader!ImplFileName", []() { return (std::string)TTreeReader::ImplFileName(); }); + + DEBUG_MSG("Adding wrapper for const char * TTreeReader::Class_Name() (" __HERE__ ")"); + // signature to use in the veto list: const char * TTreeReader::Class_Name() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + module_.method("TTreeReader!Class_Name", []() { return (std::string)TTreeReader::Class_Name(); }); + + DEBUG_MSG("Adding wrapper for TClass * TTreeReader::Dictionary() (" __HERE__ ")"); + // signature to use in the veto list: TClass * TTreeReader::Dictionary() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + module_.method("TTreeReader!Dictionary", static_cast(&TTreeReader::Dictionary)); + + DEBUG_MSG("Adding wrapper for TClass * TTreeReader::Class() (" __HERE__ ")"); + // signature to use in the veto list: TClass * TTreeReader::Class() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + module_.method("TTreeReader!Class", static_cast(&TTreeReader::Class)); + + DEBUG_MSG("Adding wrapper for void TTreeReader::Streamer(TBuffer &) (" __HERE__ ")"); + // signature to use in the veto list: void TTreeReader::Streamer(TBuffer &) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + t.method("Streamer", static_cast(&TTreeReader::Streamer)); + + DEBUG_MSG("Adding wrapper for int TTreeReader::DeclFileLine() (" __HERE__ ")"); + // signature to use in the veto list: int TTreeReader::DeclFileLine() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:314:4 + module_.method("TTreeReader!DeclFileLine", static_cast(&TTreeReader::DeclFileLine)); + } + +private: + std::unique_ptr> type_; +}; +std::shared_ptr newJlTTreeReader(jlcxx::Module& module){ + return std::shared_ptr(new JlTTreeReader(module)); +} + +namespace jlcxx { + + template + struct BuildParameterList> + { + typedef ParameterList type; + }; + + template struct IsMirroredType> : std::false_type { }; + template struct DefaultConstructible> : std::false_type { }; +} + +// Class generating the wrapper for type TTreeReaderValue +// signature to use in the veto file: TTreeReaderValue +struct JlTTreeReaderValue: public Wrapper { + + JlTTreeReaderValue(jlcxx::Module& jlModule): Wrapper(jlModule){ + DEBUG_MSG("Adding wrapper for type TTreeReaderValue (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderValue.h:146:30 + jlcxx::TypeWrapper>> t = jlModule.add_type>>("TTreeReaderValue"); + type_ = std::unique_ptr>>>(new jlcxx::TypeWrapper>>(jlModule, t)); + auto t145_decl_methods = [this] (jlcxx::TypeWrapper> wrapped){ + auto module_ = this->module_; + typedef TTreeReaderValue WrappedType; + + + DEBUG_MSG("Adding wrapper for void TTreeReaderValue::TTreeReaderValue(TTreeReader &, const char *) (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderValue.h:152:4 + wrapped.template constructor(/*finalize=*/true); + + DEBUG_MSG("Adding wrapper for T * TTreeReaderValue::Get() (" __HERE__ ")"); + // signature to use in the veto list: T * TTreeReaderValue::Get() + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderValue.h:161:7 + wrapped.method("Get", static_cast(&WrappedType::Get)); + + DEBUG_MSG("Adding wrapper for T * TTreeReaderValue::operator->() (" __HERE__ ")"); + // signature to use in the veto list: T * TTreeReaderValue::operator->() + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderValue.h:174:7 + wrapped.method("arrow", static_cast(&WrappedType::operator->)); + module_.set_override_module(jl_base_module); + + DEBUG_MSG("Adding wrapper for T & TTreeReaderValue::operator*() (" __HERE__ ")"); + // signature to use in the veto list: T & TTreeReaderValue::operator*() + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderValue.h:179:7 + wrapped.method("getindex", static_cast(&WrappedType::operator*)); + + module_.unset_override_module(); + }; + t.apply, TTreeReaderValue, TTreeReaderValue, TTreeReaderValue, TTreeReaderValue, TTreeReaderValue, TTreeReaderValue, TTreeReaderValue, TTreeReaderValue, TTreeReaderValue>(t145_decl_methods); + } + + void add_methods() const{ + } + +private: + std::unique_ptr>>> type_; +}; +std::shared_ptr newJlTTreeReaderValue(jlcxx::Module& module){ + return std::shared_ptr(new JlTTreeReaderValue(module)); +} + +namespace jlcxx { + template<> struct IsMirroredType : std::false_type { }; + template<> struct DefaultConstructible : std::false_type { }; +} + +// Class generating the wrapper for type TTreeReader::Iterator_t +// signature to use in the veto file: TTreeReader::Iterator_t +struct JlTTreeReader_Iterator_t: public Wrapper { + + JlTTreeReader_Iterator_t(jlcxx::Module& jlModule): Wrapper(jlModule){ + DEBUG_MSG("Adding wrapper for type TTreeReader::Iterator_t (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:56:10 + jlcxx::TypeWrapper t = jlModule.add_type("TTreeReader!Iterator_t"); + type_ = std::unique_ptr>(new jlcxx::TypeWrapper(jlModule, t)); + } + + void add_methods() const{ + auto& t = *type_; + t.template constructor<>(/*finalize=*/true); + + + DEBUG_MSG("Adding wrapper for void TTreeReader::Iterator_t::Iterator_t(TTreeReader &, Long64_t) (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:77:7 + t.constructor(/*finalize=*/true); + module_.set_override_module(jl_base_module); + + DEBUG_MSG("Adding wrapper for bool TTreeReader::Iterator_t::operator==(const TTreeReader::Iterator_t &) (" __HERE__ ")"); + // signature to use in the veto list: bool TTreeReader::Iterator_t::operator==(const TTreeReader::Iterator_t &) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:81:12 + t.method("==", static_cast(&TTreeReader::Iterator_t::operator==)); + + DEBUG_MSG("Adding wrapper for bool TTreeReader::Iterator_t::operator!=(const TTreeReader::Iterator_t &) (" __HERE__ ")"); + // signature to use in the veto list: bool TTreeReader::Iterator_t::operator!=(const TTreeReader::Iterator_t &) + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:88:12 + t.method("!=", static_cast(&TTreeReader::Iterator_t::operator!=)); + + DEBUG_MSG("Adding wrapper for const Long64_t & TTreeReader::Iterator_t::operator*() (" __HERE__ ")"); + // signature to use in the veto list: const Long64_t & TTreeReader::Iterator_t::operator*() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:113:23 + t.method("getindex", static_cast(&TTreeReader::Iterator_t::operator*)); + + DEBUG_MSG("Adding wrapper for const Long64_t & TTreeReader::Iterator_t::operator*() (" __HERE__ ")"); + // signature to use in the veto list: const Long64_t & TTreeReader::Iterator_t::operator*() + // defined in /home/pgras/.julia/conda/3/include/TTreeReader.h:124:23 + t.method("getindex", static_cast(&TTreeReader::Iterator_t::operator*)); + + module_.unset_override_module(); + } + +private: + std::unique_ptr> type_; +}; +std::shared_ptr newJlTTreeReader_Iterator_t(jlcxx::Module& module){ + return std::shared_ptr(new JlTTreeReader_Iterator_t(module)); +} diff --git a/deps/src/JlClasses_020.cxx b/deps/src/JlClasses_020.cxx new file mode 100644 index 0000000..6fae827 --- /dev/null +++ b/deps/src/JlClasses_020.cxx @@ -0,0 +1,79 @@ +// this file was auto-generated by wrapit v1.4.0 +#include "Wrapper.h" + +#include "jlROOT.h" +#include "dbg_msg.h" +#include "jlcxx/functions.hpp" +#include "jlcxx/stl.hpp" + +namespace jlcxx { + + template + struct BuildParameterList> + { + typedef ParameterList type; + }; + + template struct IsMirroredType> : std::false_type { }; + template struct DefaultConstructible> : std::false_type { }; +} + +// Class generating the wrapper for type TTreeReaderArray +// signature to use in the veto file: TTreeReaderArray +struct JlTTreeReaderArray: public Wrapper { + + JlTTreeReaderArray(jlcxx::Module& jlModule): Wrapper(jlModule){ + DEBUG_MSG("Adding wrapper for type TTreeReaderArray (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderArray.h:75:30 + jlcxx::TypeWrapper>> t = jlModule.add_type>>("TTreeReaderArray"); + type_ = std::unique_ptr>>>(new jlcxx::TypeWrapper>>(jlModule, t)); + auto t151_decl_methods = [this] (jlcxx::TypeWrapper> wrapped){ + auto module_ = this->module_; + typedef TTreeReaderArray WrappedType; + + + DEBUG_MSG("Adding wrapper for void TTreeReaderArray::TTreeReaderArray(TTreeReader &, const char *) (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderArray.h:202:4 + wrapped.template constructor(/*finalize=*/true); + + DEBUG_MSG("Adding wrapper for T & TTreeReaderArray::At(std::size_t) (" __HERE__ ")"); + // signature to use in the veto list: T & TTreeReaderArray::At(std::size_t) + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderArray.h:205:7 + wrapped.method("At", static_cast(&WrappedType::At)); + + DEBUG_MSG("Adding wrapper for const T & TTreeReaderArray::At(std::size_t) (" __HERE__ ")"); + // signature to use in the veto list: const T & TTreeReaderArray::At(std::size_t) + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderArray.h:206:13 + wrapped.method("At", static_cast(&WrappedType::At)); + module_.set_override_module(jl_base_module); + + + DEBUG_MSG("Adding setindex! method to wrap T & TTreeReaderArray::operator[](std::size_t) (" __HERE__ ")"); +// defined in /home/pgras/.julia/conda/3/include/TTreeReaderArray.h:207:7 + wrapped.method("setindex!", + [](WrappedType& a, std::size_t i, T const & val){ + return a[i] = val; + }); + + DEBUG_MSG("Adding getindex method to wrap T & TTreeReaderArray::operator[](std::size_t) (" __HERE__ ")"); + // defined in /home/pgras/.julia/conda/3/include/TTreeReaderArray.h:207:7 + wrapped.method("getindex", + [](WrappedType& a, std::size_t i){ + return a[i]; + }); + + + module_.unset_override_module(); + }; + t.apply, TTreeReaderArray, TTreeReaderArray, TTreeReaderArray, TTreeReaderArray, TTreeReaderArray, TTreeReaderArray, TTreeReaderArray, TTreeReaderArray, TTreeReaderArray>(t151_decl_methods); + } + + void add_methods() const{ + } + +private: + std::unique_ptr>>> type_; +}; +std::shared_ptr newJlTTreeReaderArray(jlcxx::Module& module){ + return std::shared_ptr(new JlTTreeReaderArray(module)); +}