Loading gatb-core/.gitignoredeleted 100644 → 0 +0 −7 Original line number Diff line number Diff line CMakeLists.txt.user /build* /.settings/ /.cproject *.leon .DS_Store gatb-core/CMakeLists.txt +5 −2 Original line number Diff line number Diff line Loading @@ -274,8 +274,11 @@ IF (EXISTS "${PROJECT_SOURCE_DIR}/examples") ADD_SUBDIRECTORY(examples) ENDIF() ENDIF() IF (NOT DEFINED GATB_CORE_EXCLUDE_EXAMPLES) # add example snippets into binary archive (use by CPack directive) INSTALL(DIRECTORY "${PROJECT_SOURCE_DIR}/examples/" DESTINATION "examples") ENDIF() ################################################################################ # INSTALL Loading gatb-core/doc/book/.gitignoredeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line /main.aux /main.log /main.pdf gatb-core/src/gatb/bank/api/IBank.hpp +4 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,10 @@ public: * \return estimation of the number of sequences of sub bank i */ virtual int64_t estimateNbItemsBanki (int i) = 0; /** Return the vector of sub IBank objects (in case of bank composite), or a vector containing only the bank itself * \return the IBank objects. */ virtual const std::vector<IBank*> getBanks() const = 0; /** \copydoc tools::collections::Iterable::iterator */ virtual tools::dp::Iterator<Sequence>* iterator () = 0; Loading gatb-core/src/gatb/bank/impl/AbstractBank.hpp +8 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ /********************************************************************************/ #include <gatb/bank/api/IBank.hpp> #include <vector> /********************************************************************************/ namespace gatb { Loading Loading @@ -58,6 +59,12 @@ public: int64_t estimateNbItemsBanki (int i) { return this->estimateNbItems(); } /** \copydoc IBank::getBanks */ const std::vector<IBank*> getBanks() const { std::vector<IBank*> _banks; _banks.push_back((IBank *)this); return _banks; }; /** \copydoc IBank::estimateNbItems */ Loading Loading
gatb-core/.gitignoredeleted 100644 → 0 +0 −7 Original line number Diff line number Diff line CMakeLists.txt.user /build* /.settings/ /.cproject *.leon .DS_Store
gatb-core/CMakeLists.txt +5 −2 Original line number Diff line number Diff line Loading @@ -274,8 +274,11 @@ IF (EXISTS "${PROJECT_SOURCE_DIR}/examples") ADD_SUBDIRECTORY(examples) ENDIF() ENDIF() IF (NOT DEFINED GATB_CORE_EXCLUDE_EXAMPLES) # add example snippets into binary archive (use by CPack directive) INSTALL(DIRECTORY "${PROJECT_SOURCE_DIR}/examples/" DESTINATION "examples") ENDIF() ################################################################################ # INSTALL Loading
gatb-core/doc/book/.gitignoredeleted 100644 → 0 +0 −3 Original line number Diff line number Diff line /main.aux /main.log /main.pdf
gatb-core/src/gatb/bank/api/IBank.hpp +4 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,10 @@ public: * \return estimation of the number of sequences of sub bank i */ virtual int64_t estimateNbItemsBanki (int i) = 0; /** Return the vector of sub IBank objects (in case of bank composite), or a vector containing only the bank itself * \return the IBank objects. */ virtual const std::vector<IBank*> getBanks() const = 0; /** \copydoc tools::collections::Iterable::iterator */ virtual tools::dp::Iterator<Sequence>* iterator () = 0; Loading
gatb-core/src/gatb/bank/impl/AbstractBank.hpp +8 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ /********************************************************************************/ #include <gatb/bank/api/IBank.hpp> #include <vector> /********************************************************************************/ namespace gatb { Loading Loading @@ -58,6 +59,12 @@ public: int64_t estimateNbItemsBanki (int i) { return this->estimateNbItems(); } /** \copydoc IBank::getBanks */ const std::vector<IBank*> getBanks() const { std::vector<IBank*> _banks; _banks.push_back((IBank *)this); return _banks; }; /** \copydoc IBank::estimateNbItems */ Loading