pelican/utility/src/Config.cpp
/**
 * @details
 * Create a child node under the \p parent with the \p tag and \p name attribute.
 */
@details
Create a child node under the \p parent with the \p tag and \p name attribute.
@details Create a child node under the \ p parent with the \ p tag and \ p name attribute .
void Config::_createChildNode(QDomElement &parent, const QString& tag, const QString& name)
{
    if (parent.isNull())
        throw QString("Config: Unable to create child node on null parent.");
    QDomElement e = _document.createElement(tag);
    if (!name.isEmpty())
        e.setAttribute(QString("name"), name);
    parent.appendChild(e);
}
void Config :: _createChildNode ( QDomElement & parent , const QString & tag , const QString & name ) { if ( parent . isNull ( ) ) throw QString ( " " ) ; QDomElement e = _document . createElement ( tag ) ; if ( ! name . isEmpty ( ) ) e . setAttribute ( QString ( " " ) , name ) ; parent . appendChild ( e ) ; }
@details
 Create a child node under the \p parent with the \p tag and \p name attribute.
@details Create a child node under the \ p parent with the \ p tag and \ p name attribute .