19 #ifndef DISTRIBUTED_STORAGE_MANAGER_CLIENT_TEMPLATE_CC
20 #define DISTRIBUTED_STORAGE_MANAGER_CLIENT_TEMPLATE_CC
37 template <
class DataType>
39 const std::string& setName,
42 std::string typeName = getTypeName<DataType>();
43 int16_t typeId = getTypeID<DataType>();
44 PDB_COUT <<
"typeName for set to create =" << typeName <<
", typeId=" << typeId << std::endl;
45 return simpleRequest<DistributedStorageAddSet, SimpleRequestResult, bool>(
std::function< bool(Handle< SimpleRequestResult >)> generateResponseHandler(std::string description, std::string &errMsg)
bool createSet(const std::string &databaseName, const std::string &setName, const std::string &typeName, std::string &errMsg, size_t pageSize=DEFAULT_PAGE_SIZE)