Core/Rpc: HasMore

git-svn-id: svn://ultimatepp.org/upp/trunk@9825 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-05-12 17:15:47 +00:00
parent 4f6361055a
commit 5e028e7ac2

View file

@ -214,6 +214,7 @@ struct RpcData {
ValueMap out_map;
int GetRemainingCount() const { return in.GetCount() - ii; }
bool HasMore() const { return GetRemainingCount() > 0; }
Value Get() { if(ii >= in.GetCount()) return Value(); return in[ii++]; }