Refactor Serializer and SerializerIterator interfaces:

* Remove unused members
* SerialIter holds only a pointer and offset now
* Use free functions for some Serializer members
* Use SerialIter in some places instead of Serializer
This commit is contained in:
Vinnie Falco
2015-01-21 16:51:19 -08:00
committed by Nik Bougalis
parent a691632995
commit bb4127a6fb
57 changed files with 535 additions and 336 deletions

View File

@@ -52,7 +52,7 @@ public:
static
std::unique_ptr<STBase>
deserialize (SerializerIterator& sit, SField::ref name);
deserialize (SerialIter& sit, SField::ref name);
Json::Value
getJson (int) const override;
@@ -159,7 +159,7 @@ public:
}
private:
std::vector<uint256> mValue;
std::vector<uint256> mValue;
};
} // ripple