Poco::Data

template < class T >

class BulkBinding

File Information

Library: Data
Package: DataCore
Header: Poco/Data/BulkBinding.h

Description

A BulkBinding maps a value to a column. Bulk binding support is provided only for std::vector.

Inheritance

Direct Base Classes: AbstractBinding

All Base Classes: AbstractBinding

Member Summary

Member Functions: bind, canBind, numOfColumnsHandled, numOfRowsHandled, reset

Inherited Functions: bind, bulkSize, canBind, getBinder, getDirection, isBulk, name, numOfColumnsHandled, numOfRowsHandled, reset, setBinder

Constructors

BulkBinding inline

BulkBinding(
    const T & val,
    Poco::UInt32 bulkSize,
    const std::string & name = "",
    Direction direction = PD_IN
);

Creates the BulkBinding.

Destructor

~BulkBinding virtual inline

~BulkBinding();

Destroys the BulkBinding.

Member Functions

bind virtual inline

void bind(
    std::size_t pos
);

canBind virtual inline

bool canBind() const;

numOfColumnsHandled virtual inline

std::size_t numOfColumnsHandled() const;

numOfRowsHandled virtual inline

std::size_t numOfRowsHandled() const;

reset virtual inline

void reset();