|
| | DtLoggerAppConfigLoader (const DtRuntimeCommandFactory *factory, const DtString &filename) |
| | Open a configuration. More...
|
| |
| virtual | ~DtLoggerAppConfigLoader () |
| |
| virtual bool | isValid () const |
| | Is the configuration valid. More...
|
| |
| virtual void | saveChanges () |
| | Save changes to file. More...
|
| |
| virtual void | getInitCommands (DtCollector< DtCommand > commandCollector) const |
| | Get the logger commands. More...
|
| |
| virtual void | getStartupCommands (DtCollector< DtCommand > commandCollector) const |
| |
| virtual const DtEnvValueSP | getDefaultVariable (const DtString &name) const |
| | Get a variable by its name. More...
|
| |
| virtual DtString | getDefaultVariableValue (const DtString &name) const |
| | Get a variable's value by its name. More...
|
| |
| virtual DtString | getDefaultVariableType (const DtString &name) const |
| | Get a variable's type by its name. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, const DtString &value, const DtString &type) |
| | Set a default object variable using a name, value and type. More...
|
| |
| virtual DtEnvValueSP | setTemporaryDefaultVariable (const DtString &name, const DtString &value, const DtString &type) |
| | Set a default object variable using a name, value and type. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariableList (const DtString &name, const std::vector< DtString > &valList, const DtString &type) |
| | Set a default object variable using a name, value and type. More...
|
| |
| virtual DtEnvValueSP | setTemporaryDefaultVariableList (const DtString &name, const std::vector< DtString > &valList, const DtString &type) |
| | Set a default object variable using a name, value and type. More...
|
| |
| virtual DtEnvValueSP | addDefaultVariableToList (const DtString &name, const DtString &value, const DtString &type) |
| | Add an entry to the list of the give name and type. More...
|
| |
| virtual DtEnvValueSP | addDefaultVariablesToList (const DtString &name, const std::set< DtString > &valList, const DtString &type) |
| | Add a set of entries to the list of the give name and type. More...
|
| |
| virtual void | removeDefaultVariable (const DtString &name) |
| | Remove the default variable with the given name. More...
|
| |
| virtual DtEnvValueSP | removeDefaultVariableFromList (const DtString &name, const DtString &value, const DtString &type) |
| | Remove an entry from the list of the give name and type. More...
|
| |
| virtual DtEnvValueSP | removeDefaultVariablesFromList (const DtString &name, const std::set< DtString > &valList, const DtString &type) |
| | Remove a set of entries from the list of the give name and type. More...
|
| |
| virtual void | removeCommandsUsingDefaultVariable (const DtString &name) |
| | Remove the default variable with the given name. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, const DtString &value) |
| | Set the Default variable given a name and a string value. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, bool value) |
| | Set the Default variable given a name and a bool value. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, int value) |
| | Set the Default variable given a name and a int value. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, double value) |
| | Set the Default variable given a name and a double value. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, std::vector< DtString > &value) |
| | Set the default variable give a name and a string list. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, std::vector< int > &value) |
| | Set the default variable give a name and a int list. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, std::vector< bool > &value) |
| | Set the default variable give a name and a bool list. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, std::vector< double > &value) |
| | Set the default variable give a name and a double list. More...
|
| |
| const DtEnvironment & | environment () const |
| | Get a constant reference to the environment used. More...
|
| |
|
| virtual void | getCommands (const DtString &stageName, DtCollector< DtCommand > commandCollector) const |
| | Get all the command from a given commands list. More...
|
| |
| virtual DtCommand | generateCommand (DtEnvironment &commandObj) const |
| | Generate a command from the root object. More...
|
| |
| virtual DtAnyValue * | generateParameter (DtEnvironment ¶mObj) const |
| | Generate a parameter from the root object. More...
|
| |
| bool | commandHasVariable (DtEnvironment &commandEnv, const DtString &variableName) const |
| | Return true if the given command uses the given variable name. More...
|
| |
| virtual bool | parseFile (const DtString &filename) |
| | Parse the file. More...
|
| |
| virtual DtEnvValueSP | addVariableToEnvironment (const DtString &name, const DtString &varType, DtEnvironment &destinationEnvironment) |
| | Add the environment variable of name and type to the given environment. More...
|
| |
| virtual DtEnvValueSP | addVariableValueToEnvironment (const DtString &name, const DtString &varType, const DtString &value, DtEnvironment &destinationEnvironment) |
| | Add the environment variable of name and type to the given environment. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariable (const DtString &name, const DtString &value, const DtString &type, DtEnvironment &destinationEnvironment) |
| | Using the given environment, set a default object variable using a name, value and type. More...
|
| |
| virtual DtEnvValueSP | setDefaultVariableList (const DtString &name, const std::vector< DtString > &valList, const DtString &type, DtEnvironment &destinationEnvironment) |
| | Using the given environment, set a default object variable using a name, value and type. More...
|
| |
| virtual DtEnvValueSP | addDefaultVariableToList (const DtString &name, const DtString &value, const DtString &type, DtEnvironment &destinationEnvironment) |
| | Add an entry to the list of the give name and type to the given environment. More...
|
| |
| virtual DtEnvValueSP | addDefaultVariablesToList (const DtString &name, const std::set< DtString > &valList, const DtString &type, DtEnvironment &destinationEnvironment) |
| | Add a set of entries to the list of the give name and type to the given environment. More...
|
| |
| virtual const DtEnvValueSP | getDefaultVariable (const DtString &name, const DtEnvironment &sourceEnvironment) const |
| | Get a variable by its name from the given environment. More...
|
| |
| virtual DtString | getDefaultVariableValue (const DtString &name, const DtEnvironment &sourceEnvironment) const |
| | Get a variable's value by its name from the given environment. More...
|
| |
| virtual DtString | getDefaultVariableType (const DtString &name, const DtEnvironment &sourceEnvironment) const |
| | Get a variable's type by its name from the given environment. More...
|
| |
| virtual void | removeDefaultVariable (const DtString &name, DtEnvironment &sourceEnvironment) |
| | Remove the default variable with the given name from the given environment. More...
|
| |
| virtual DtEnvValueSP | removeDefaultVariableFromList (const DtString &name, const DtString &value, const DtString &type, DtEnvironment &sourceEnvironment) |
| | Remove an entry from the list of the give name and type from the given environment. More...
|
| |
| virtual DtEnvValueSP | removeDefaultVariablesFromList (const DtString &name, const std::set< DtString > &valList, const DtString &type, DtEnvironment &sourceEnvironment) |
| | Remove a set of entries from the list of the give name and type from the given environment.. More...
|
| |
| virtual void | removeCommandsUsingDefaultVariable (const DtString &name, DtEnvNamedList &commandList) |
| | Remove the default variable with the given name. More...
|
| |
The logger application configuration file loader.