Added epoch_time as an optional value for json serializing

This commit is contained in:
Matt Hill
2014-09-30 22:34:06 -04:00
parent 8ef633a43b
commit 3585e0436f
2 changed files with 6 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ class AlprImpl
void setTopN(int topn);
void setDefaultRegion(std::string region);
std::string toJson(const std::vector<AlprResult> results, double processing_time_ms = -1);
std::string toJson(const std::vector<AlprResult> results, double processing_time_ms = -1, long epoch_time = -1);
static std::string getVersion();
Config* config;