Subversion Repositories HomeAutomation

Rev

Rev 1309 | Rev 1314 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1309 Rev 1310
Line 31... Line 31...
31
    typedef std::vector<Node> nodeList;
31
    typedef std::vector<Node> nodeList;
32
 
32
 
33
    Node();
33
    Node();
34
    Node(string filename);
34
    Node(string filename);
35
    Node(string filename, string xmlData);
35
    Node(string filename, string xmlData);
-
 
36
 
-
 
37
    void load(string filename);
-
 
38
    void parse(string filename, string xmlData);
36
 
39
 
37
    string tagName();
40
    string tagName();
38
    attributeList & attributes();
41
    attributeList & attributes();
39
 
42
 
40
    string operator [](string attributeName);
43
    string operator [](string attributeName);
41
 
44
 
42
    Node selectFirst();
45
    Node selectFirst();
43
    Node selectFirst(string tagName);
46
    Node selectFirst(string tagName);
44
    Node selectFirst(string tagName, attributeList attributes);
47
    Node selectFirst(string tagName, attributeList attributes);
45
    Node selectFirst(string tagName, attributePair pair1);
48
    Node selectFirst(string tagName, attributePair pair1);
46
    Node selectFirst(string tagName, attributePair pair1, attributePair pair2);
49
    Node selectFirst(string tagName, attributePair pair1, attributePair pair2);
Line 65... Line 68...
65
    bool myIsEmpty;
68
    bool myIsEmpty;
66
    string myTagName;
69
    string myTagName;
67
    attributeList myAttributes;
70
    attributeList myAttributes;
68
    nodeList myChildren;
71
    nodeList myChildren;
69
 
72
 
70
    void parse(string filename, string xmlData);
-
 
71
    int parseTag(string filename, string xmlData, unsigned int position);
73
    int parseTag(string filename, string xmlData, unsigned int position);
72
};
74
};
73
 
75
 
74
}
76
}
75
}
77
}