Product
rP-XML
Add Persistence to
C++ Classes
    Download   Buy

    Synopsis

  • Supports Windows NT/2K/XP
  • Easily add persistence to your Visual C++* classes
  • Build applications to create, display, and edit XML data
  • Class data stored in XML format
  • Easy to use, flexible data mapping mechanism
  • Includes user guide and programming reference
  • Sample code with documentation
  • Easy installation
  • No-nonsense licensing
Overview

The rP-XML product allows you to add XML based persistence to your Visual C++* classes with ease.


Usage Examples

(1)  Simple Example
(2)  Complex Example


Class XML Mapping


Your class + rP-XML mapping = XML

class Employee : public XMLPersistent
{
public:
  int m_iEmpNum;
  int m_iDept;
  char *m_pszName;
DECLARE_XMLPERSIST_CLASS;
};

BEGIN_XMLPERSIST_CLASS(Employee,employee)

  XMLPERSIST_ITEM(m_iEmpNum,emp-nbr)
  XMLPERSIST_ITEM(m_iDept,dept)
  BEGIN_XMLPERSIST_CONTENTS
  XMLPERSIST_ITEM(m_pszName,name)

END_XMLPERSIST

<employee
 emp-nbr="101"
 dept="10">
John Smith
</employee>