OEWriteShapeQuery

bool OEWriteShapeQuery(const char* filename,
                       const OEShapeQueryBase& query)
bool OEWriteShapeQuery(OEPlatform::oeostream& ofs,
                       const OEShapeQueryBase& query)

Writes a query given in the second parameter. The first overload writes the query in the specified file and the second overload writes it to a oeostream. Method returns True if write is successful.