Query()はCMOSTReportのメソッド.CMOSTReportは,

CMOSReport * CMOSDrawer::CreateReport(
const char* ReportName, const char* Title,
const MosBoolean bPReport, MOS_HEADER_INFO * headerInfo)

において

bPReport==FALSE

の場合,及び

CMOSTReport* CMOSReport::CreateTempReport()

においてのみnewされる.つまり,「検索」は,実レポートをCreateTempReport()してQuery()する,という手順と思われる.