mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Commit for Arthur.
getFullText, object layout. STUObject code.
This commit is contained in:
@@ -27,20 +27,19 @@ protected:
|
||||
boost::ptr_vector<SerializedType> data;
|
||||
|
||||
public:
|
||||
STUObject() { ; }
|
||||
virtual ~STUObject();
|
||||
|
||||
STUObject(const STUObject&);
|
||||
STUObject& operator=(const STUObject&);
|
||||
STUObject() : type(NULL) { ; }
|
||||
STUObject(SOType *t) : type(t) { ; }
|
||||
STUObject(SOType *t, SerializerIterator& u);
|
||||
virtual ~STUObject() { ; }
|
||||
|
||||
int getLength() const;
|
||||
SerializedTypeID getType() const { return STI_OBJECT; }
|
||||
STUObject* duplicate() const { return new STUObject(*this); }
|
||||
|
||||
void add(Serializer& s) const;
|
||||
std::string getFullText() const;
|
||||
std::string getText() const;
|
||||
|
||||
|
||||
void addObject(const SerializedType& t) { data.push_back(t.duplicate()); }
|
||||
void giveObject(SerializedType* t) { data.push_back(t); }
|
||||
const boost::ptr_vector<SerializedType>& peekData() const { return data; }
|
||||
|
||||
Reference in New Issue
Block a user