#include "xmlutils.h"
#include <cassert>
Include dependency graph for xmlutils.cpp:
Go to the source code of this file.
Functions | |
string | getChildContent (xmlpp::Node *node) |
return the content from the specified node | |
xmlpp::Node * | getFirstChild (xmlpp::Node *node, const std::string &name) |
return the first child matching name | |
bool | getChildContent (xmlpp::Node *node, const std::string &name, std::string &val) |
get the contents of a named node | |
std::string | getPropValue (xmlpp::Node *node, const std::string &name) |
get the specified property | |
xmlpp::Node * | addChild (xmlpp::Node *parent, xmlpp::Node *child) |
add a new child to parent (only need this because #%! libxml has a poor interface) |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Definition in file xmlutils.cpp.
|
add a new child to parent (only need this because #%! libxml has a poor interface)
Definition at line 112 of file xmlutils.cpp. Referenced by PlayListConverter::copy_format_name(). |
|
get the contents of a named node
Definition at line 67 of file xmlutils.cpp. References getFirstChild(). Referenced by PlayListConverter::get_formats(), EmpParser::get_session_info(), EmpParser::get_track_info(), and PlayListConverter::load_format(). |
|
return the content from the specified node
Definition at line 34 of file xmlutils.cpp. Referenced by PlayListConverter::load_format(). |
|
return the first child matching name
Definition at line 49 of file xmlutils.cpp. Referenced by EmpParser::get_session_info(), EmpParser::get_track_info(), getChildContent(), and PlayListConverter::load_config(). |
|
get the specified property
Definition at line 88 of file xmlutils.cpp. Referenced by PlayListConverter::get_formats(), PlayListConverter::load_config(), and PlayListConverter::load_format(). |