Kea
1.9.9-git
|
Structure used to bind C++ input values to dynamic CQL parameters. More...
#include <cql_exchange.h>
Public Member Functions | |
void | add (const boost::any &value) |
Add a value at the end of the vector. More... | |
void | remove (const size_t &index) |
Remove the void pointer to the data value from a specified position inside the vector. More... | |
Structure used to bind C++ input values to dynamic CQL parameters.
The structure contains a vector which stores the input values. The vector is passed directly into the CQL execute call. Note that the data values are stored as pointers. These pointers need to be valid for the duration of the CQL statement execution. In other words, populating them with pointers that go out of scope before the statement is executed results in undefined behaviour.
Definition at line 50 of file cql_exchange.h.
void isc::db::AnyArray::add | ( | const boost::any & | value | ) |
Add a value at the end of the vector.
AnyArray method implementations.
Definition at line 165 of file cql_exchange.cc.
Referenced by isc::dhcp::CqlLease4Exchange::createBindForDelete(), isc::dhcp::CqlHostExchange::createBindForDelete(), isc::dhcp::CqlLease6Exchange::createBindForDelete(), isc::dhcp::CqlLease4Exchange::createBindForInsert(), isc::dhcp::CqlLease6Exchange::createBindForInsert(), isc::dhcp::CqlHostExchange::createBindForMutation(), isc::dhcp::CqlHostExchange::createBindForSelect(), isc::dhcp::CqlLease4Exchange::createBindForSelect(), isc::db::CqlVersionExchange::createBindForSelect(), isc::dhcp::CqlLease6Exchange::createBindForSelect(), isc::dhcp::CqlLeaseStatsQuery::createBindForSelect(), isc::dhcp::CqlLease4Exchange::createBindForUpdate(), isc::dhcp::CqlLease6Exchange::createBindForUpdate(), isc::dhcp::CqlLeaseMgr::deleteExpiredReclaimedLeases4(), isc::dhcp::CqlLeaseMgr::deleteExpiredReclaimedLeases6(), isc::db::CqlExchange::executeSelect(), isc::dhcp::CqlHostDataSourceImpl::get4(), isc::dhcp::CqlHostDataSourceImpl::get6(), isc::dhcp::CqlHostDataSourceImpl::getAll(), isc::dhcp::CqlHostDataSourceImpl::getAll4(), isc::dhcp::CqlHostDataSourceImpl::getAll6(), isc::dhcp::CqlHostDataSourceImpl::getAllbyHostname(), isc::dhcp::CqlHostDataSourceImpl::getAllbyHostname4(), isc::dhcp::CqlHostDataSourceImpl::getAllbyHostname6(), isc::dhcp::CqlLease4Exchange::getExpiredLeases(), isc::dhcp::CqlLease6Exchange::getExpiredLeases(), isc::dhcp::CqlHostDataSourceImpl::getHostByKey(), isc::dhcp::CqlHostDataSourceImpl::getHostKey(), isc::dhcp::CqlHostDataSourceImpl::getHostKey4(), isc::dhcp::CqlHostDataSourceImpl::getHostKey6(), isc::dhcp::CqlLeaseMgr::getLease4(), isc::dhcp::CqlLeaseMgr::getLease6(), isc::dhcp::CqlLeaseMgr::getLeases4(), isc::dhcp::CqlLeaseMgr::getLeases6(), isc::dhcp::CqlHostDataSourceImpl::getNextHostKey(), isc::dhcp::CqlHostDataSourceImpl::getNextHostKey4(), isc::dhcp::CqlHostDataSourceImpl::getNextHostKey6(), isc::dhcp::CqlLeaseStatsQuery::start(), and isc::db::CqlExchange::statementApplied().
void isc::db::AnyArray::remove | ( | const size_t & | index | ) |
Remove the void pointer to the data value from a specified position inside the vector.
Definition at line 170 of file cql_exchange.cc.
References isc_throw.