XmlData

API Ref

#include <DbXml.hpp>

class DbXml::XmlData { public: XmlData::XmlData() XmlData::XmlData(const Dbt &dbt) XmlData::XmlData(void *data, u_int32_t size) XmlData::XmlData(const XmlData &o) XmlData &operator = (const XmlData &o) virtual XmlData::~XmlData() ...

void *XmlData::get_data() const void XmlData::set_data(void *value)

u_int32_t XmlData::get_size() const void XmlData::set_size(u_int32_t size)

Dbt &XmlData::getDbt() const Dbt &XmlData::getDbt() const };


Description: XmlData

The XmlData class encapsulates a Berkeley DB Dbt, which is the fundamental storage object for the underlying DB databases.


Description: void *XmlData::get_data()

Returns the data buffer encapsulated by the underlying Dbt.


Description: void XmlData::set_data(void *value)

Sets the data array for the underlying Dbt to the specified value.

Parameters

value
An array of bytes to be used as the content for the underlying Dbt.

Description: u_int32_t XmlData::get_size()

Returns the size of the underlying data array.


Description: void XmlData::set_size(u_int32_t size)

Sets the size of the buffer that was set using XmlData::set_data().

Parameters

size
Specifies the size of the data array in bytes.

Description: Dbt &XmlData::getDbt()

Get a handle for the underlying Dbt.


APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.