Back to index

nordugrid-arc-nox  1.1.0~rc6
Functions
test.cpp File Reference
#include "XmlDatabase.h"

Go to the source code of this file.

Functions

int main (void)

Function Documentation

int main ( void  )

Definition at line 7 of file test.cpp.

{
    Arc::XmlDatabase db("db", "test");
    std::string content = "<?xml version=\"1.0\"?><foo>bar</foo>";
    db.put("1", content);
    Arc::XMLNode n;
    db.get("1", n);
    std::string s;
    n.GetDoc(s);
    std::cout << s << std::endl;
    db.del("1");
    return 0;
}

Here is the call graph for this function: