Use c++11 range loop. 
`for (const auto& command : _batchQuadCommands) {}`