Ejemplo n.º 1
0
bool getData(QueryProcessor &queryProcessor, E *data,  uint64_t len, 
	     std::string &variable, std::string &filename)
{
    if ( ! queryProcessor.getData(variable, &data[0])) {
    	LOGGER(ibis::gVerbose > 0)
	    << "ERROR: Failed to get the data of variable \""
	    << variable.c_str() << "\" from file \""
	    << filename.c_str() << "\"" << std::endl;
        return false;
    }
    return true;
}