#include <Arguments.h>
Public Types | |
| enum | arguments { NO_ARG, AIML, AIML_SCHEMA, COMMON_SCHEMA, BOT_SCHEMA, RESOURCES, CONFIGURATION } |
| Enumeration of possible switches you can give rebecca. More... | |
Public Member Functions | |
| 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. | |
| string | getResourcesDirectory () const |
| Returns the resource directory. | |
Static Public Member Functions | |
| static Arguments * | getInstance () |
| Gets our single instance of this class. | |
| static void | setArguments (int argc, char *args[]) |
| Sets the arguments up from main() as well as the program name its self. | |
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. | |
| string | m_resourcesDirectory |
| The location of the resources directory. | |
Private Member Functions | |
| Arguments () | |
| Constructor that sets the arguments up from main() as well as the program name its self. | |
| void | privateSetArguments (int argc, char *args[]) |
| Sets the arguments up from main() as well as the program name its self. | |
Static Private Attributes | |
| static Arguments * | m_instance = 0 |
| Holds the reference to our singelton reference. | |
|
|
Enumeration of possible switches you can give rebecca.
|
|
|
Constructor that sets the arguments up from main() as well as the program name its self. This is a default constructor that sets default values for everything. |
|
|
Returns the AIML directory that has been set.
|
|
|
Returns the AIML schema path that has been set.
|
|
|
Returns the bot configuration schema path that has been set.
|
|
|
Returns the common types schema path that has been set.
|
|
|
Returns the configuration directory that has been set.
|
|
|
Gets our single instance of this class.
|
|
|
Returns the resource directory.
|
|
||||||||||||
|
Sets the arguments up from main() as well as the program name its self.
|
|
||||||||||||
|
Sets the arguments up from main() as well as the program name its self.
|
|
|
The location of a AIML directory. If this is not set, it will default to the current working directory + "../../aiml/annotated_alice". |
|
|
The path to the aiml xsd file. If this is not set, it will default to the current working directory + "../../resources/schema/AIML.xsd" |
|
|
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" |
|
|
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" |
|
|
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. |
|
|
The current argument state.
|
|
|
Holds the reference to our singelton reference.
|
|
|
The location of the resources directory. If this is not set, it will default to current working directory + "../../resources" |
1.4.5