VirtualBox

Changeset 33056 in vbox for trunk/include


Ignore:
Timestamp:
Oct 12, 2010 12:09:42 PM (14 years ago)
Author:
vboxsync
Message:

Main-XML: add a xml memory writer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/xml.h

    r32565 r33056  
    567567    friend class XmlMemParser;
    568568    friend class XmlFileParser;
     569    friend class XmlMemWriter;
    569570    friend class XmlFileWriter;
    570571
     
    624625    static int ReadCallback(void *aCtxt, char *aBuf, int aLen);
    625626    static int CloseCallback (void *aCtxt);
     627};
     628
     629/*
     630 * XmlMemParser
     631 *
     632 */
     633
     634class RT_DECL_CLASS XmlMemWriter
     635{
     636public:
     637    XmlMemWriter();
     638    ~XmlMemWriter();
     639
     640    void write(const Document &doc, void** ppvBuf, size_t *pcbSize);
    626641};
    627642
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