Commit 75cbd09b authored by Andreas Tille's avatar Andreas Tille
Browse files

New upstream version 1.4.1+git20180206.6f8fce8+dfsg

parent 8e45a9a1
Loading
Loading
Loading
Loading

gatb-core/.gitignore

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
CMakeLists.txt.user
/build*
/.settings/
/.cproject
*.leon
.DS_Store
+5 −2
Original line number Diff line number Diff line
@@ -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 

gatb-core/doc/book/.gitignore

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
/main.aux
/main.log
/main.pdf
+4 −0
Original line number Diff line number Diff line
@@ -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;

+8 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
/********************************************************************************/

#include <gatb/bank/api/IBank.hpp>
#include <vector>

/********************************************************************************/
namespace gatb      {
@@ -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