Main Page | Namespace List | Class List | Namespace Members | Class Members

aiml Namespace Reference

Namespace that holds the libaiml public interface. More...


Classes

struct  cMatchLog
 This structure is used to hold the nodes of the tree that matched the user's input, that and topic. More...
struct  cCoreOptions
 Options to configure the interpreter. More...
class  cInterpreterCallbacks
 This structure is used to receive notifications of events that libaiml generates. More...
class  cInterpreter
 libaiml interpreter. More...

Enumerations

enum  AIMLError {
  AIMLERR_NO_ERR, AIMLERR_NO_FILES, AIMLERR_PATT_READERR, AIMLERR_PATT_UNKNOWN,
  AIMLERR_OPEN_GOSSIP, AIMLERR_NOT_INIT, AIMLERR_ALREADY_INIT, AIMLERR_NO_CFGFILE,
  AIMLERR_NO_USERLIST, AIMLERR_SYSTEM_NOT_ALLOWED, AIMLERR_JAVASCRIPT_NOT_ALLOWED, AIMLERR_JAVASCRIPT_PROBLEM,
  AIMLERR_EMPTY_INPUT, AIMLERR_NO_MATCH, AIMLERR_EMPTY_GM, AIMLERR_AIML_NOOPEN,
  AIMLERR_AIML_PARSE, AIMLERR_CAIML_NOMAGIC, AIMLERR_CAIML_NOTCAIML, AIMLERR_CAIML_NOOPEN_READ,
  AIMLERR_CAIML_NOVERSION, AIMLERR_CAIML_WRONGVERSION, AIMLERR_CAIML_NOSIZE, AIMLERR_CAIML_NOCHILDSNUM,
  AIMLERR_CAIML_NOKEY, AIMLERR_CAIML_NOTEMPLATE, AIMLERR_CAIML_EMPTYGM, AIMLERR_CAIML_NOOPEN_WRITE,
  AIMLERR_CAIML_INCORRECTSTRUCT, AIMLERR_TEMLP_UNKNOWN_TAG, AIMLERR_NEG_THAT_INDEX, AIMLERR_NEG_INPUT_INDEX,
  AIMLERR_MAX
}
 Error codes produced by libaiml. More...


Detailed Description

Namespace that holds the libaiml public interface.

Enumeration Type Documentation

enum aiml::AIMLError
 

Error codes produced by libaiml.

Enumerator:
AIMLERR_NO_ERR  No error.
AIMLERR_NO_FILES  No aiml files specified to load.
AIMLERR_PATT_READERR  Read error while matching file patterns.
AIMLERR_PATT_UNKNOWN  Unknown error while matching file patterns.
AIMLERR_OPEN_GOSSIP  Couldn't open gossip file for writing.
AIMLERR_NOT_INIT  The core isn't yet initialized.
AIMLERR_ALREADY_INIT  The core is already initialized.
AIMLERR_NO_CFGFILE  Couldn't open/read configuration file.

(use cInterpreter::getRuntimeErrorStr()).

AIMLERR_NO_USERLIST  Error with userlist file.
AIMLERR_SYSTEM_NOT_ALLOWED  System tag is not allowed to be executed.
AIMLERR_JAVASCRIPT_NOT_ALLOWED  Javascript tag is not allowed to be executed.
AIMLERR_JAVASCRIPT_PROBLEM  Problem with JavaScript interpreter (use cInterpreter::getRuntimeErrorStr()).
AIMLERR_EMPTY_INPUT  Normalization of input resulted in empty string.
AIMLERR_NO_MATCH  No match found for input.
AIMLERR_EMPTY_GM  Empty graphmaster (no categories loaded).
AIMLERR_AIML_NOOPEN  Couldn't open aiml file.
AIMLERR_AIML_PARSE  AIML Parser error (use cInterpreter::getRuntimeErrorStr()).
AIMLERR_CAIML_NOMAGIC  Couldn't retrieve magic number from caiml file.
AIMLERR_CAIML_NOTCAIML  Not a CAIML file.
AIMLERR_CAIML_NOOPEN_READ  Couldn't open CAIML file for reading.
AIMLERR_CAIML_NOVERSION  Couldn't get version from CAIML file.
AIMLERR_CAIML_WRONGVERSION  CAIML file version not supported.
AIMLERR_CAIML_NOSIZE  Couldn't get size of graphmaster (ie: number of templates) from CAIML file.
AIMLERR_CAIML_NOCHILDSNUM  No size of childs for node in CAIML file.
AIMLERR_CAIML_NOKEY  Coulnd't read key for node in CAIML file.
AIMLERR_CAIML_NOTEMPLATE  Coulnd't read template for node in CAIML file.
AIMLERR_CAIML_EMPTYGM  Can't save an empty graphmaster.
AIMLERR_CAIML_NOOPEN_WRITE  Couldn't open CAIML file for writing.
AIMLERR_CAIML_INCORRECTSTRUCT  Caiml file is not correctly built.
AIMLERR_TEMLP_UNKNOWN_TAG  Unknown tag found while parsing template.
AIMLERR_NEG_THAT_INDEX  Negative index in 'that' tag found.
AIMLERR_NEG_INPUT_INDEX  Negative index in 'input' tag found.


Generated on Fri Feb 3 00:27:21 2006 for libaiml by  doxygen 1.4.4