parse_allocation
Description:
Parse an allocation query, writing the requested caps in caps and whether a pool is needed in need_pool, if the
respective parameters are non-null.
Pool details can be retrieved using get_n_allocation_pools and parse_nth_allocation_pool.
Parameters:
| this |
a Query |
| caps |
The Caps |
| need_pool |
Whether a BufferPool is needed |