#ifndef __bbstdGetDoubleVectorSize_h_INCLUDED__ #define __bbstdGetDoubleVectorSize_h_INCLUDED__ #include "bbstd_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" namespace bbstd { class bbstd_EXPORT GetDoubleVectorSize : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(GetDoubleVectorSize,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(In,std::vector); BBTK_DECLARE_OUTPUT(VectorSize, int); BBTK_PROCESS(Process); void Process(); }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(GetDoubleVectorSize,bbtk::AtomicBlackBox); BBTK_NAME("GetDoubleVectorSize"); BBTK_AUTHOR("Claire Mouton"); BBTK_DESCRIPTION("Retrieves the size of a vector of double."); BBTK_CATEGORY("std"); BBTK_INPUT(GetDoubleVectorSize,In,"Input vector.",std::vector,""); BBTK_OUTPUT(GetDoubleVectorSize,VectorSize,"The vector size.",int,""); BBTK_END_DESCRIBE_BLACK_BOX(GetDoubleVectorSize); } // EO namespace bbstd #endif // __bbstdGetDoubleVectorSize_h_INCLUDED__