One entry in the modules.conf file.
More...
#include <ModulesConf.h>
One entry in the modules.conf file.
This class contains one entry from the modules.conf file.
- Author
- Michal Svec msvec.nosp@m.@sus.nosp@m.e.cz
-
Dan Vesely dan@s.nosp@m.use..nosp@m.cz
- See also
- ModulesConf
Enumerator |
---|
INIT |
|
SET |
|
REINIT |
|
ModuleEntry::ModuleEntry |
( |
| ) |
|
|
inline |
ModuleEntry::~ModuleEntry |
( |
| ) |
|
EntryArg ModuleEntry::getArgument |
( |
| ) |
const |
|
inline |
Return an entry argument.
- Returns
- an entry argument
References argument.
Return an entry comment.
- Returns
- an entry comment
References comment.
bool ModuleEntry::Set |
( |
Mode |
m | ) |
|
Sets dirty_flag. This flag stands for indicating if the entry should be reinitialized if it was modified externally in the file.
- Parameters
-
m | Indicates if the operation is provided during (re)initialization or is done by the agent. |
- Returns
- true if the entry can be changed.
Manage the dirty_flag
References dirtyflag, INIT, REINIT, and SET.
Referenced by setArgument(), setOption(), and setOptions().
bool ModuleEntry::setArgument |
( |
const string |
arg, |
|
|
Mode |
m |
|
) |
| |
Set an entry argument.
- Parameters
-
arg | The entry argument |
m | Indicates if the option is set during (re)initialization or by an agent. |
- Returns
- if the operation was successful
References argument, MAGIC_ENTRY, Set(), and y2debug.
bool ModuleEntry::setComment |
( |
const EntryCom & |
com, |
|
|
Mode |
m |
|
) |
| |
|
inline |
Set an entry comment.
- Parameters
-
com | The entry comment |
m | Indicates if the option is set during (re)initialization or by an agent. |
- Returns
- if the operation was successful
References comment.
bool ModuleEntry::setOption |
( |
const string |
option, |
|
|
const string |
value, |
|
|
Mode |
m |
|
) |
| |
Set an entry option.
- Parameters
-
option | The entry option name. |
value | The entry option value. |
m | Indicates if the option is set during (re)initialization or by an agent. |
- Returns
- if the operation was successful
References argument, MAGIC_ENTRY, Set(), and y2debug.
bool ModuleEntry::setOptions |
( |
const EntryArg & |
arg, |
|
|
Mode |
m |
|
) |
| |
Set entry options.
- Parameters
-
arg | The entry options. |
m | Indicates if the option is set during (re)initialization or by an agent. |
- Returns
- if the operation was successful
References argument, Set(), Y2_RETURN_FALSE, and y2debug.
bool ModuleEntry::dirtyflag |
|
private |
The documentation for this class was generated from the following files: