|
| oo_inline | OONode () |
| |
| oo_inline | OONode (CFNullRef obj) |
| |
| oo_inline | OONode (id node) |
| |
| oo_inline | OONode (const OONode &node) |
| |
| oo_inline | OONode (NSString *tagName) |
| |
| oo_inline | OONode (cOOString tagName, cOOString nodeText=nil) |
| |
| oo_inline | OONode (NSData *xml, OOXMLParserOpts flags=OOXMLDefaultParser) |
| |
| oo_inline | OONode (const OOData &xml, OOXMLParserOpts flags=OOXMLDefaultParser) |
| |
| oo_inline | OONode (const OONodeArraySub &sub) |
| |
| oo_inline | OONode (const OONodeSub &sub) |
| |
| oo_inline OONode & | operator= (const OONode &node) |
| |
| oo_inline OONode & | operator= (NSData *val) |
| |
| oo_inline OONode & | operator= (const OONodeArraySub &sub) |
| |
| oo_inline OONode & | operator= (const OONodeSub &sub) |
| |
| OONode & | parseXML (NSData *xml, OOXMLParserOpts flags=OOXMLDefaultParser) |
| |
| OOData | writeXML (OOXMLWriterOpts flags=OOXMLDefaultWriter) const |
| |
| oo_inline OOData | data () const |
| |
| oo_inline | operator OOData () const |
| |
| oo_inline OOString | string () const |
| |
| oo_inline OONode & | operator+= (const OONode &val) |
| |
| oo_inline OONodeSub | operator[] (id sub) const |
| |
| oo_inline OONodeSub | operator[] (cOOString sub) const |
| |
| oo_inline OONodeSub | operator[] (const char *sub) const |
| |
| oo_inline OOArraySub< OONode > | operator[] (int sub) const |
| |
| oo_inline OONodeArray | children () const |
| |
| oo_inline OONode | child (int which=0) const |
| |
| oo_inline OOString | text (int which=0) const |
| |
| oo_inline | operator OOString () const |
| |
| oo_inline | OODictionary () |
| |
| oo_inline | OODictionary (id obj) |
| |
| oo_inline | OODictionary (CFNullRef obj) |
| |
| oo_inline | OODictionary (const OODictionary &dict) |
| |
| oo_inline | OODictionary (const OOArraySub< OOString > &sub) |
| |
| oo_inline | OODictionary (const OODictionarySub< OOString > &sub) |
| |
| oo_inline | OODictionary (const OOReference< NSMutableDictionary * > &val) |
| |
| oo_inline | OODictionary (const OOReference< NSMutableArray * > &val) |
| |
| oo_inline | OODictionary (const OOStringSearch &search) |
| |
| oo_inline | OODictionary (int nilOrCapacity) |
| |
| oo_inline | OODictionary (NSMutableDictionary *dict) |
| |
| oo_inline | OODictionary (NSDictionary *dict) |
| |
| oo_inline | OODictionary (const char *val) |
| |
| oo_inline | OODictionary (const char **val) |
| |
| oo_inline | OODictionary (id e1, id e2,...) NS_REQUIRES_NIL_TERMINATION |
| |
| oo_inline | OODictionary (const std::map< std::string, OOString > &map) |
| |
| oo_inline | OODictionary (const std::map< std::string, std::string > &map) |
| |
| oo_inline OOSlice | keys () |
| |
| oo_inline OODictionary | filter (BOOL(^callback)(id key, OOStringvalue)) |
| |
| oo_inline OODictionary | map (id(^callback)(id key, OOStringvalue)) |
| |
| oo_inline OODictionary | operator& (BOOL(^callback)(id object)) |
| |
| oo_inline OODictionary | operator& (id(^callback)(id object)) |
| |
| oo_inline NSMutableDictionary * | operator& () const |
| |
| oo_inline OODictionary | operator& (const OODictionary &val) const |
| |
| oo_inline OODictionary & | operator= (const std::map< std::string, OOString > &map) |
| |
| oo_inline OODictionary & | operator= (const std::map< std::string, std::string > &map) |
| |
| oo_inline OODictionary & | operator= (id val) |
| | oo_inline operator int () const { return !*this ? 0 : (int)[[get() allKeys] count]; }
|
| |
| oo_inline OODictionary & | operator= (NSMutableDictionary *val) |
| |
| oo_inline OODictionary & | operator= (NSDictionary *val) |
| |
| oo_inline OODictionary & | operator= (int nilOrCapacity) |
| |
| oo_inline OODictionary & | operator= (long nilOrCapacity) |
| |
| oo_inline OODictionary & | operator= (const OODictionary &val) |
| |
| oo_inline OODictionary & | operator= (const OOArraySub< OOString > &val) |
| |
| oo_inline OODictionary & | operator= (const OODictionarySub< OOString > &val) |
| |
| oo_inline OODictionary & | operator= (const OOReference< NSMutableDictionary * > &val) |
| |
| oo_inline OODictionary & | operator= (const OOStringSearch &search) |
| |
| oo_inline OODictionary & | operator= (const OOReference< NSMutableArray * > &val) |
| |
| oo_inline OODictionary & | operator= (const char *val) |
| |
| oo_inline OODictionary & | operator= (const char **val) |
| |
| oo_inline | operator std::map< std::string, OOString > () |
| |
| oo_inline | operator std::map< std::string, std::string > () |
| |
| oo_inline BOOL | operator== (NSDictionary *val) const |
| |
| oo_inline BOOL | operator== (NSMutableDictionary *val) const |
| |
| oo_inline BOOL | operator== (const OODictionary &val) const |
| |
| oo_inline BOOL | operator!= (NSDictionary *val) const |
| |
| oo_inline BOOL | operator!= (NSMutableDictionary *val) const |
| |
| oo_inline BOOL | operator!= (const OODictionary &val) const |
| |
| oo_inline OODictionary & | operator-= (id val) |
| |
| oo_inline OODictionary & | operator-= (const OOReference< NSMutableArray * > &val) |
| |
| oo_inline OODictionary & | operator-= (const OOReference< NSMutableDictionary * > &val) |
| |
| oo_inline OODictionary & | operator*= (const OODictionary< OOString > &val) |
| |
| oo_inline OODictionary & | operator&= (const OODictionary &val) |
| |
| oo_inline OODictionary & | operator|= (const OODictionary &val) |
| |
| oo_inline OODictionary | operator| (const OODictionary &val) const |
| |
oo_inline OODictionarySub
< OOString > | operator[] (id sub) const |
| |
oo_inline OODictionarySub
< OOString > | operator[] (NSString *sub) const |
| |
oo_inline OODictionarySub
< OOString > | operator[] (cOOString sub) const |
| |
oo_inline OODictionarySub
< OOString > | operator[] (const OOArraySub< id > &sub) const |
| |
oo_inline OODictionarySub
< OOString > | operator[] (const OOArraySub< OOString > &sub) const |
| |
oo_inline OODictionarySub
< OOString > | operator[] (const OODictionarySub< OOString > &sub) const |
| |
oo_inline OODictionarySlice
< OOString > | operator[] (const OOReference< NSMutableArray * > &subs) const |
| |
Subclass of OODictionary<OOString> to manipulate XML documents. On parsing as XML document one OONode is created for each element in the document with the attribute values stored as a NSString under a key: "@attributeName". Children of an element, be they pure text or sub elements are accumulated in an NSMutableArray under the key ".children" as well as in an array with the elements tagName (element name) as the key. This allows simple xpath expressions such as document["root/child"] to be evaluated by breaking up the
path into the equivalent of document[@"root"][0][@"child"][0]. To gain efficient
access to the text inside an element it is also stores under the key @".nodeText" in it's parent element.
Definition at line 107 of file objxml.h.