|
Public Member Functions |
| AnyAgent () |
| ~AnyAgent () |
YCPValue | Read (const YCPPath &path, const YCPValue &arg=YCPNull(), const YCPValue &opt=YCPNull()) |
YCPBoolean | Write (const YCPPath &path, const YCPValue &value, const YCPValue &arg=YCPNull()) |
YCPList | Dir (const YCPPath &path) |
YCPValue | otherCommand (const YCPTerm &term) |
Private Types |
enum | { MTYPE_NONE,
MTYPE_FILE,
MTYPE_PROG,
MTYPE_LOCAL
} |
Private Member Functions |
YCPValue | readValueByPath (const YCPValue &value, const YCPPath &path) |
YCPValue | writeValueByPath (const YCPValue ¤t, const YCPPath &path, const YCPValue &value) |
YCPValue | findSyntax (const YCPValue &syntax, const YCPPath &path) |
const char * | get_line (FILE *fp) |
YCPValue | parseIp4Number (char const *&lptr, bool optional) |
const string | unparseIp4Number (const YCPValue &value) |
YCPValue | parseBoolean (char const *&lptr, bool optional) |
const string | unparseBoolean (const YCPValue &value) |
YCPValue | parseNumber (char const *&lptr, bool optional) |
const string | unparseNumber (const YCPValue &value) |
YCPValue | parseHexval (char const *&lptr, bool optional) |
const string | unparseHexval (const YCPValue &value) |
YCPValue | parseString (char const *&lptr, const char *set, const char *stripped, bool optional) |
const string | unparseString (const YCPValue &syntax, const YCPValue &stripped, const YCPValue &value) |
YCPValue | parseFloat (char const *&lptr, bool optional) |
const string | unparseFloat (const YCPValue &value) |
YCPValue | parseHostname (char const *&lptr, bool optional) |
const string | unparseHostname (const YCPValue &value) |
YCPValue | parseUsername (char const *&lptr, bool optional) |
const string | unparseUsername (const YCPValue &value) |
YCPValue | parseVerbose (char const *&lptr, const char *match, bool optional) |
const string | unparseVerbose (const YCPValue &value) |
YCPValue | parseSeparator (char const *&lptr, const char *match, bool optional) |
const string | unparseSeparator (const YCPValue &match) |
const char * | getLine (void) |
const string | putLine (const string s) |
YCPValue | parseChoice (char const *&line, const YCPList &syntax, bool optional) |
const string | unparseChoice (const YCPList &syntax, const YCPValue &value) |
YCPValue | parseSequence (char const *&line, const YCPList &syntax, bool optional) |
const string | unparseSequence (const YCPList &syntax, const YCPValue &value) |
YCPValue | parseList (char const *&line, const YCPList &syntax, bool optional) |
const string | unparseList (const YCPList &syntax, const YCPValue &value) |
YCPValue | parseTuple (char const *&line, const YCPList &syntax, bool optional) |
const string | unparseTuple (const YCPList &syntax, const YCPValue &value) |
YCPValue | parseData (char const *&line, const YCPValue &syntax, bool optional) |
const string | unparseData (const YCPValue &syntax, const YCPValue &value) |
YCPValue | validateCache (const YCPList &data, const YCPValue &arg=YCPNull()) |
YCPValue | readFile (const YCPValue &arg) |
const string | writeFile (const YCPValue &arg) |
string | evalArg (const YCPValue &arg) |
int | lineNumber () const |
Private Attributes |
bool | description_read |
time_t | mtime |
YCPValue | cache |
bool | cchanged |
YCPList | alldata |
bool | achanged |
bool | mReadOnly |
enum AnyAgent:: { ... } | mType |
YCPValue | mName |
string | mComment |
bool | isFillup |
YCPValue | mSyntax |
YCPValue | mHeader |
int | line_number |
stack< string > | tupleName |
stack< YCPValue > | tupleValue |
bool | tupleContinue |