JASSv2
Classes | Enumerations
JASS_anytime_api.h File Reference

JASS API for calling from C++ and other languages (through SWIG) More...

#include "query.h"
#include "top_k_limit.h"
#include "parser_query.h"
#include "JASS_anytime_query.h"
#include "JASS_anytime_stats.h"
#include "deserialised_jass_v2.h"
#include "JASS_anytime_result.h"
#include "JASS_anytime_thread_result.h"
Include dependency graph for JASS_anytime_api.h:

Go to the source code of this file.

Classes

class  JASS_anytime_api
 The API to JASS's anytime seach engine. More...
 
class  JASS_anytime_api::thread_data
 
class  anytime
 An alias for JASS_anytime_api. More...
 

Enumerations

enum  JASS_ERROR {
  JASS_ERROR_NO_INDEX = -1, JASS_ERROR_OK = 0, JASS_ERROR_BAD_INDEX_VERSION, JASS_ERROR_FAIL,
  JASS_ERROR_TOO_MANY_DOCUMENTS, JASS_ERROR_TOO_LARGE, JASS_ERROR_INDEX_ALREADY_LOADED
}
 

Detailed Description

JASS API for calling from C++ and other languages (through SWIG)

Author
Andrew Trotman

Enumeration Type Documentation

◆ JASS_ERROR

enum JASS_ERROR
Enumerator
JASS_ERROR_NO_INDEX 

The index must be loaded before this operation can occur.

JASS_ERROR_OK 

Completed successfully without error.

JASS_ERROR_BAD_INDEX_VERSION 

The index version number specified is not supported.

JASS_ERROR_FAIL 

An exception occurred - probably not caused by JASS (might be a C++ RTL exception)

JASS_ERROR_TOO_MANY_DOCUMENTS 

This index cannot be loaded by this instance of the APIs because it contains more documents than the system-wide maximum.

JASS_ERROR_TOO_LARGE 

top-k is larger than the system-wide maximum top-k value (or the accumulator width is too large)

JASS_ERROR_INDEX_ALREADY_LOADED 

Attempt to load an index when an index has alrady been loaded.