#ifndef MYTEST_HPP #define MYTEST_HPP #include #include"../vector/vector.hpp" #include"../list/list.hpp" enum class DataStructure{vector,list}; enum class DataType{integer,ffloat,sstring}; void menu(); DataType ChooseDataType(); //choose data type DataStructure ChooseDataStructure(); void UseChosenType(DataStructure, DataType); lasd::Vector generateVectorOfIntegers(); lasd::Vector generateVectorOfFloat(); lasd::Vector generateVectorOfStrings(); lasd::List generateListOfStrings(); lasd::List generateListOfFloat(); lasd::List generateListOfIntegers(); std::string generateRandomString(ulong dim); void VectorIntegerFunctions(lasd::Vector); void VectorFloatFunctions(lasd::Vector); void VectorStringFunctions(lasd::Vector); template void ShowFirstElement(lasd::Vector&); template void ShowLastElement(lasd::Vector&); template void ShowElementWithASpecificIndex(lasd::Vector&); template void ShowAllElements(lasd::Vector&); template void PrintSingleElement(Data&, void*); template void CheckElementExists(lasd::Vector&); void SumLessThan(lasd::Vector&); void AccumulateSum(const int&, const void*, void*); void DoubleIntegers(lasd::Vector&); void DoubleAnInteger(int&, void*); void AccumulateProduct(const float&, const void*, void*); void ProductMoreThan(lasd::Vector&); void SquareAFloat(float&, void*); void SquareFloats(lasd::Vector&); void ConcatLessThan(lasd::Vector&); void ConcatAux(const std::string&, const void*, void*); void Uppercase(lasd::Vector&); void UppercaseAString(std::string&, void*); void ListIntegerFunctions(lasd::List); void ListFloatFunctions(lasd::List); void ListStringFunctions(lasd::List); template void ShowFirstElement(lasd::List&); template void ShowLastElement(lasd::List&); template void ShowElementWithASpecificIndex(lasd::List&); template void ShowAllElements(lasd::List&); template void CheckElementExists(lasd::List&); void SumLessThan(lasd::List&); void DoubleIntegers(lasd::List&); void ProductMoreThan(lasd::List&); void SquareFloats(lasd::List&); void ConcatLessThan(lasd::List&); void Uppercase(lasd::List&); ulong getDimension(); #endif