#include <ModulesConf.h>
Public Types | |
typedef map< const string, string > | EntryArg |
typedef string | EntryCom |
enum | Mode { INIT, SET, REINIT } |
Public Member Functions | |
ModuleEntry () | |
~ModuleEntry () | |
EntryCom | getComment () const |
EntryArg | getArgument () const |
bool | setComment (const EntryCom &com, Mode m) |
bool | setArgument (const string arg, Mode m) |
bool | setOption (const string option, const string value, Mode m) |
bool | setOptions (const EntryArg &arg, Mode m) |
bool | Set (Mode m) |
Private Attributes | |
EntryCom | comment |
EntryArg | argument |
bool | dirtyflag |
This class contains one entry from the modules.conf file.
Dan Vesely <dan@suse.cz>
|
|
|
|
|
|
|
Default constructor. |
|
Destructor. |
|
Return an entry argument.
|
|
Return an entry comment.
|
|
Sets dirty_flag. This flag stands for indicating if the entry should be reinitialized if it was modified externally in the file.
|
|
Set an entry argument.
|
|
Set an entry comment.
|
|
Set an entry option.
|
|
Set entry options.
|
|
|
|
|
|
|