mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core/Rpc: HasMore
git-svn-id: svn://ultimatepp.org/upp/trunk@9825 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4f6361055a
commit
5e028e7ac2
1 changed files with 1 additions and 0 deletions
|
|
@ -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++]; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue