Public Methods | |
Alternative (const std::string &name) | |
~Alternative () | |
Alternative & | operator<<= (Alternative &other) |
std::string | points_to () const |
const std::string & | name () const |
const std::string & | current () const |
void | set_current (const std::string &str) |
Public Attributes | |
candidate_list | candidates |
alternative_list | slaves |
Alternative * | parent |
Private Methods | |
void | set_dumped (bool value=false) |
bool | dumped () const |
Private Attributes | |
bool | _dumped |
std::string | _name |
std::string | _current |
Friends | |
class | AltStorage |
|
A constructor, initialize default values |
|
A destructor, clear internal structures |
|
|
|
|
|
|
|
setup/update alternative item
|
|
|
|
setup current candidate (set alternative into manual mode) |
|
set _dumped flag, this alternative will be dumped into dump.xml file at the finish of work @value new value of the flag |
|
|
|
current candidate name |
|
flag: this is a file from dump? |
|
fake name of the alternative |
|
Possible candidates |
|
pointer to parent alternative if it's slave otherwise zero |
|
possible slave alternatives: key - realname, value - alternative |