VirtualBox

Changeset 17417 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 5, 2009 4:39:39 PM (16 years ago)
Author:
vboxsync
Message:

OVF: more XML write and export.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/xml.h

    r17362 r17417  
    168168};
    169169
     170class VBOXXML_CLASS ENodeIsNotElement : public LogicError
     171{
     172public:
     173    ENodeIsNotElement(const char *aMsg = NULL) : LogicError(aMsg) {}
     174    ENodeIsNotElement(RT_SRC_POS_DECL) : LogicError(RT_SRC_POS_ARGS) {}
     175};
     176
    170177// Runtime errors
    171178//////////////////////////////////////////////////////////////////////////////
     
    420427};
    421428
    422 /*
     429/**
    423430 * Node:
    424  *  an XML node, which represents either an element or an attribute.
     431 *  an XML node, which represents either an element or text content
     432 *  or an attribute.
    425433 *
    426434 *  For elements, getName() returns the element name, and getValue()
     
    435443 *  --  xml::Document::createRootElement()
    436444 *  --  xml::Node::createChild()
     445 *  --  xml::Node::addContent()
    437446 *  --  xml::Node::setAttribute()
    438447 */
     
    467476
    468477    Node* createChild(const char *pcszElementName);
     478    Node* addContent(const char *pcszContent);
    469479    Node* setAttribute(const char *pcszName, const char *pcszValue);
    470480
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette