mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cleanups.
This commit is contained in:
@@ -169,10 +169,8 @@ bool STObject::isFieldAllowed(SField::ref field)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool STObject::set(SOElement::ptrList elem, SerializerIterator& sit, int depth)
|
||||
bool STObject::set(SerializerIterator& sit, int depth)
|
||||
{ // return true = terminated with end-of-object
|
||||
setType(elem);
|
||||
|
||||
mData.empty();
|
||||
while (!sit.empty())
|
||||
{
|
||||
|
||||
@@ -39,19 +39,19 @@ public:
|
||||
{ set(type); }
|
||||
|
||||
STObject(SOElement::ptrList type, SerializerIterator& sit, SField::ref name) : SerializedType(name)
|
||||
{ set(type, sit); }
|
||||
{ set(sit); setType(type); }
|
||||
|
||||
virtual ~STObject() { ; }
|
||||
|
||||
static std::auto_ptr<SerializedType> deserialize(SerializerIterator& sit, SField::ref name)
|
||||
{ return std::auto_ptr<SerializedType>(construct(sit, name)); }
|
||||
|
||||
void setType(SOElement const * t);
|
||||
void setType(SOElement::ptrList);
|
||||
bool isValidForType();
|
||||
bool isFieldAllowed(SField::ref);
|
||||
|
||||
void set(SOElement::ptrList);
|
||||
bool set(SOElement::ptrList, SerializerIterator& u, int depth = 0);
|
||||
bool set(SerializerIterator& u, int depth = 0);
|
||||
|
||||
virtual SerializedTypeID getSType() const { return STI_OBJECT; }
|
||||
virtual bool isEquivalent(const SerializedType& t) const;
|
||||
|
||||
Reference in New Issue
Block a user