BBTK_DESCRIPTION("Gets the i-th element from the input vector ("+bbtk::TypeName<std::vector<T> >());
typedef std::vector<T> Tvector;
BBTK_TEMPLATE_INPUT(GetVectorElement, In,"Input",Tvector);
- BBTK_TEMPLATE_INPUT(GetVectorElement, I, "Input",int);
+ BBTK_TEMPLATE_INPUT(GetVectorElement, I, "iElement (default 0)",int);
BBTK_TEMPLATE_INPUT(GetVectorElement, ErrorValue, "ErrorValue",T);
BBTK_TEMPLATE_OUTPUT(GetVectorElement,Out,"Output",T);
BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(GetVectorElement);
template <class T>
void GetVectorElement<T>::bbUserSetDefaultValues()
{
-
+ bbSetInputI(0);
}
//=================================================================
//=================================================================
BBTK_DESCRIPTION("Sets the value of the i-element ("+bbtk::TypeName<std::vector<T> >());
typedef std::vector<T>* pTvector;
BBTK_TEMPLATE_INPUT(SetElementVector, PVec,"Pointer to Vector",pTvector);
- BBTK_TEMPLATE_INPUT(SetElementVector, I, "id-element",int);
+ BBTK_TEMPLATE_INPUT(SetElementVector, I, "id-element (default 0)",int);
BBTK_TEMPLATE_INPUT(SetElementVector, Value, "Input Value",T);
BBTK_TEMPLATE_OUTPUT(SetElementVector,Vec,"Output Vector",std::vector<T>);
BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(SetElementVector);
template <class T>
void SetElementVector<T>::bbUserSetDefaultValues()
{
-
+ bbSetInputI(0);
}
//=================================================================
//=================================================================
BBTK_DESCRIPTION("Gets the i-th element from the input vector ("+bbtk::TypeName<std::vector<T> >());
typedef std::vector<T> Tvector;
BBTK_TEMPLATE_INPUT(GetVectorElement, In,"Input",Tvector);
- BBTK_TEMPLATE_INPUT(GetVectorElement, I, "Input",int);
+ BBTK_TEMPLATE_INPUT(GetVectorElement, I, "iElement (default 0)",int);
BBTK_TEMPLATE_INPUT(GetVectorElement, ErrorValue, "ErrorValue",T);
BBTK_TEMPLATE_OUTPUT(GetVectorElement,Out,"Output",T);
BBTK_END_DESCRIBE_TEMPLATE_BLACK_BOX(GetVectorElement);
template <class T>
void GetVectorElement<T>::bbUserSetDefaultValues()
{
-
+ bbSetInputI(0);
}
//=================================================================
//=================================================================