virtual int insert(const std::string& columns, Tuple* record);
virtual int insert(const std::string& columns, std::vector<Tuple*>& records);
- virtual int retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& result);
+ virtual int retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& records);
virtual int remove(const std::string& selection);
protected:
return E_SUPPORT;
}
-int ContextStore::retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& result)
+int ContextStore::retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& records)
{
return E_SUPPORT;
}
return E_SUPPORT;
}
-int ContextStore::retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& result)
+int ContextStore::retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& records)
{
return E_SUPPORT;
}
return __proxy->call(METHOD_INSERT, param);
}
-int PlatformManagedStore::retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& result)
+int PlatformManagedStore::retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& records)
{
IF_FAIL_RETURN(query.valid(), E_PARAM);
GVariant* vals = NULL;
g_variant_get(outParam, "(v)", &vals);
- result = Tuple::buildFrom(vals);
+ records = Tuple::buildFrom(vals);
return E_NONE;
}
int insert(const std::string& columns, Tuple* record);
int insert(const std::string& columns, std::vector<Tuple*>& records);
- int retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& result);
+ int retrieve(const ContextStoreSearchQuery& query, std::vector<Tuple*>& records);
int remove(const std::string& selection);
private: