|
yast2-core
|
Wrapper for YCPMapRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPMapRep with the arrow operator. See YCPMapRep. More...
#include <YCPMap.h>
Public Types | |
| typedef YCPMapRep::iterator | iterator |
| typedef YCPMapRep::const_iterator | const_iterator |
| typedef YCPMapRep::value_type | value_type |
| typedef YCPMapRep::const_reference | const_reference |
| typedef YCPMapRep::key_compare | key_compare |
Public Member Functions | |
| YCPMap () | |
| YCPMap (bytecodeistream &str) | |
| void | add (const YCPValue &key, const YCPValue &value) |
| YCPMap | functionalAdd (const YCPValue &key, const YCPValue &value) const |
| void | remove (const YCPValue &key) |
| bool | isEmpty () const |
| long | size () const |
| bool | hasKey (const YCPValue &key) const |
| YCPValue | value (const YCPValue &key) const |
| YCPMapIterator | begin () const |
| YCPMapIterator | end () const |
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 (Map, Value) | |
Additional Inherited Members | |
Protected Member Functions inherited from YCPElement | |
| const YCPElementRep * | writeCopy () |
Protected Attributes inherited from YCPElement | |
| const YCPElementRep * | element |
Wrapper for YCPMapRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPMapRep with the arrow operator. See YCPMapRep.
| typedef YCPMapRep::iterator YCPMap::iterator |
|
inline |
| YCPMap::YCPMap | ( | bytecodeistream & | str | ) |
References Bytecode::readInt32(), Bytecode::readValue(), and value().
References ELEMENT.
Referenced by YEMap::evaluate(), fillCache(), YCPMapRep::functionalAdd(), IniAgent::generateSysConfigTemplate(), IniBase::getAllDoIt(), IniEntry::getAllDoIt(), IniSection::getAllDoIt(), l_listmap(), m_changemap(), m_filter(), m_mapmap(), m_unionmap(), map2ycpmap(), SCRAgent::SCRAgent(), shellcommand_output(), stat2map(), and ResolverAgent::Write().
|
inline |
References begin(), and CONST_ELEMENT.
Referenced by begin(), YEPropagate::canPropagate(), YCPMapRep::compare(), dump_value(), flushCache(), l_listmap(), m_filter(), m_foreach(), m_maplist(), m_mapmap(), m_unionmap(), map2ycpmap(), Type::matchvalue(), and ycpmap2map().
|
private |
|
inline |
References CONST_ELEMENT, and end().
Referenced by YEPropagate::canPropagate(), YCPMapRep::compare(), dump_value(), end(), flushCache(), m_filter(), m_foreach(), m_maplist(), m_mapmap(), m_unionmap(), Type::matchvalue(), and ycpmap2map().
References CONST_ELEMENT, and functionalAdd().
Referenced by YSBracket::commit(), functionalAdd(), and m_addmap().
|
inline |
References CONST_ELEMENT.
Referenced by m_haskey(), and m_remove().
|
inline |
References CONST_ELEMENT.
Referenced by m_isempty().
|
inline |
References ELEMENT.
Referenced by m_remove().
|
inline |
References CONST_ELEMENT, and size().
Referenced by YCPMapRep::compare(), l_listmap(), SCRAgent::SCRAgent(), and size().
References CONST_ELEMENT, and value().
Referenced by DummyAgent::checkPath(), YSBracket::commit(), YEBracket::evaluate(), fillCache(), flushCache(), getBeginEndType(), IniBase::getMapInteger(), IniBase::getMapString(), getParamsType(), IniParser::initMachine(), ResolverAgent::Read(), IniSection::setAllDoIt(), AnyAgent::unparseTuple(), value(), and YCPMap().
1.8.6