|
yast2-core
|
Wrapper for YCPTermRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPTermRep with the arrow operator. See YCPTermRep. More...
#include <YCPTerm.h>
Public Member Functions | |
| YCPTerm (const string &s) | |
| YCPTerm (const string &s, const YCPList &l) | |
| YCPTerm (bytecodeistream &str) | |
| string | name () const |
| YCPList | args () const |
| YCPTerm | functionalAdd (const YCPValue &value) const |
| bool | isEmpty () const |
| int | size () const |
| void | reserve (int size) |
| YCPValue | value (int n) const |
| void | set (const int n, const YCPValue &value) |
| void | add (const YCPValue &value) |
Public Member Functions inherited from YCPValue | |
| YCPValue () | |
Public Member Functions inherited from YCPElement | |
| YCPElement () | |
| YCPElement (const YCPNull &) | |
| YCPElement (const YCPElementRep *e) | |
| YCPElement (const YCPElement &e) | |
| ~YCPElement () | |
| const YCPElement & | operator= (const YCPElement &e) |
| bool | isNull () const |
| bool | refersToSameElementAs (const YCPElement &e) const |
Private Member Functions | |
| DEF_COW_COMMON (Term, Value) | |
Additional Inherited Members | |
Protected Member Functions inherited from YCPElement | |
| const YCPElementRep * | writeCopy () |
Protected Attributes inherited from YCPElement | |
| const YCPElementRep * | element |
Wrapper for YCPTermRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPTermRep with the arrow operator. See YCPTermRep.
|
inline |
|
inline |
| YCPTerm::YCPTerm | ( | bytecodeistream & | str | ) |
References add(), YCPElement::element, YCPElement::isNull(), Bytecode::readString(), YCPList::size(), and YCPList::value().
|
inline |
|
inline |
References CONST_ELEMENT.
Referenced by YCPTermRep::compare(), Y2AgentComp< Agent >::evaluate(), AnyAgent::parseData(), t_argsof(), t_remove(), and AnyAgent::unparseData().
|
private |
References CONST_ELEMENT.
Referenced by t_add().
|
inline |
References CONST_ELEMENT.
|
inline |
References CONST_ELEMENT.
Referenced by YCPTermRep::compare(), AnyAgent::evalArg(), Y2AgentComp< Agent >::evaluate(), AnyAgent::findSyntax(), ResolverAgent::otherCommand(), ModulesAgent::otherCommand(), IniAgent::otherCommand(), DummyAgent::otherCommand(), ScriptingAgent::otherCommand(), ProcessAgent::otherCommand(), AnyAgent::otherCommand(), AnyAgent::parseData(), t_remove(), t_symbolof(), AnyAgent::unparseData(), AnyAgent::unparseList(), and AnyAgent::unparseTuple().
|
inline |
References ELEMENT.
|
inline |
References ELEMENT.
Referenced by YSBracket::commit().
|
inline |
References CONST_ELEMENT.
Referenced by AnyAgent::evalArg(), YEBracket::evaluate(), AnyAgent::findSyntax(), ResolverAgent::otherCommand(), ModulesAgent::otherCommand(), DummyAgent::otherCommand(), IniAgent::otherCommand(), ScriptingAgent::otherCommand(), AnyAgent::otherCommand(), AnyAgent::parseData(), run_agent_instance(), t_size(), and AnyAgent::unparseData().
|
inline |
References CONST_ELEMENT.
Referenced by YSBracket::commit(), AnyAgent::evalArg(), YEBracket::evaluate(), AnyAgent::findSyntax(), ResolverAgent::otherCommand(), ModulesAgent::otherCommand(), DummyAgent::otherCommand(), IniAgent::otherCommand(), ScriptingAgent::otherCommand(), AnyAgent::otherCommand(), AnyAgent::parseData(), run_agent_instance(), and AnyAgent::unparseData().
1.8.6