Add JsonOptions enum class to contain options passed to getJSON methods

This commit is contained in:
Mo Morsi
2019-06-08 01:10:33 -04:00
committed by Manoj doshi
parent c2138c4e88
commit f8365f5009
77 changed files with 382 additions and 270 deletions

View File

@@ -31,6 +31,11 @@
#include <type_traits>
namespace ripple {
enum class JsonOptions {
none = 0,
include_date = 1
};
// VFALCO TODO fix this restriction on copy assignment.
//
// CAUTION: Do not create a vector (or similar container) of any object derived
@@ -121,7 +126,7 @@ public:
virtual
Json::Value
getJson (int /*options*/) const;
getJson (JsonOptions /*options*/) const;
virtual
void