Arguments Class Reference

Parses and sets the arguments for main(). More...

List of all members.

Public Types

enum  arguments {
  NO_ARG, AIML, AIML_SCHEMA, COMMON_SCHEMA,
  BOT_SCHEMA, CONFIGURATION
}
 Enumeration of possible switches you can give rebecca. More...

Public Member Functions

 Arguments (int argc, char *args[])
 Constructor that sets the arguments up from main() as well as the program name its self.
string getAimlDirectory () const
 Returns the AIML directory that has been set.
string getAimlSchemaPath () const
 Returns the AIML schema path that has been set.
string getBotConfigurationSchemaPath () const
 Returns the bot configuration schema path that has been set.
string getCommonTypesSchemaPath () const
 Returns the common types schema path that has been set.
string getConfigurationDirectory () const
 Returns the configuration directory that has been set.

Public Attributes

string m_aimlDirectory
 The location of a AIML directory.
string m_aimlSchemaPath
 The path to the aiml xsd file.
string m_botConfigurationSchemaPath
 The path to the bot configuration schema file.
string m_commonTypesSchemaPath
 The path to the the common types schema file.
string m_configurationDirectory
 The location of RebeccaAIML's configuration directory.
arguments m_currentArgument
 The current argument state.


Detailed Description

Parses and sets the arguments for main().


Member Enumeration Documentation

enum arguments
 

Enumeration of possible switches you can give rebecca.


Constructor & Destructor Documentation

Arguments int  argc,
char *  args[]
[inline]
 

Constructor that sets the arguments up from main() as well as the program name its self.

Parameters:
argc The number of arguments sent in.
args The array of arguments


Member Function Documentation

string getAimlDirectory  )  const [inline]
 

Returns the AIML directory that has been set.

Returns:
The AIML directory where aiml files are stored.

string getAimlSchemaPath  )  const [inline]
 

Returns the AIML schema path that has been set.

Returns:
The AIML schema path that has been set.

string getBotConfigurationSchemaPath  )  const [inline]
 

Returns the bot configuration schema path that has been set.

Returns:
the bot configuration schema path that has been set.

string getCommonTypesSchemaPath  )  const [inline]
 

Returns the common types schema path that has been set.

Returns:
The common types schema path that has been set.

string getConfigurationDirectory  )  const [inline]
 

Returns the configuration directory that has been set.

Returns:
The configuration directory where needed configuration files are stored.


Member Data Documentation

string m_aimlDirectory
 

The location of a AIML directory.

If this is not set, it will default to the current working directory + "../../aiml/annotated_alice".

string m_aimlSchemaPath
 

The path to the aiml xsd file.

If this is not set, it will default to the current working directory + "../../resources/schema/AIML.xsd"

string m_botConfigurationSchemaPath
 

The path to the bot configuration schema file.

If this is not set, it will default to the current working directory + "../resources/schema/bot-configuration.xsd"

string m_commonTypesSchemaPath
 

The path to the the common types schema file.

If this is not set, it will default to the current working directory + "../resources/schema/common-types.xsd"

string m_configurationDirectory
 

The location of RebeccaAIML's configuration directory.

If this is not set, it will default to the current working directory + "../../conf". This is where needed configuration files are stored.

arguments m_currentArgument
 

The current argument state.


The documentation for this class was generated from the following file:
Generated on Thu Sep 7 22:05:56 2006 for RebeccaAIML by  doxygen 1.4.5