| 1 | // |
|---|---|
| 2 | // AbstractBinding.cpp |
| 3 | // |
| 4 | // Library: Data |
| 5 | // Package: DataCore |
| 6 | // Module: AbstractBinding |
| 7 | // |
| 8 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. |
| 9 | // and Contributors. |
| 10 | // |
| 11 | // SPDX-License-Identifier: BSL-1.0 |
| 12 | // |
| 13 | |
| 14 | |
| 15 | #include "Poco/Data/AbstractBinding.h" |
| 16 | |
| 17 | |
| 18 | namespace Poco { |
| 19 | namespace Data { |
| 20 | |
| 21 | |
| 22 | AbstractBinding::AbstractBinding(const std::string& rName, |
| 23 | Direction direction, |
| 24 | Poco::UInt32 bindingBulkSize): |
| 25 | _pBinder(0), |
| 26 | _name(rName), |
| 27 | _direction(direction), |
| 28 | _bulkSize(bindingBulkSize) |
| 29 | { |
| 30 | } |
| 31 | |
| 32 | |
| 33 | AbstractBinding::~AbstractBinding() |
| 34 | { |
| 35 | } |
| 36 | |
| 37 | |
| 38 | void AbstractBinding::setBinder(BinderPtr pBinder) |
| 39 | { |
| 40 | poco_check_ptr (pBinder); |
| 41 | _pBinder = pBinder; |
| 42 | } |
| 43 | |
| 44 | |
| 45 | } } // namespace Poco::Data |
| 46 |