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 AbstractBinding(const std::string & name,Direction direction,Poco::UInt32 bulkSize)22AbstractBinding::AbstractBinding(const std::string& name, 23 Direction direction, 24 Poco::UInt32 bulkSize): 25 _pBinder(0), 26 _name(name), 27 _direction(direction), 28 _bulkSize(bulkSize) 29 { 30 } 31 32 ~AbstractBinding()33AbstractBinding::~AbstractBinding() 34 { 35 } 36 37 setBinder(BinderPtr pBinder)38void AbstractBinding::setBinder(BinderPtr pBinder) 39 { 40 poco_check_ptr (pBinder); 41 _pBinder = pBinder; 42 } 43 44 45 } } // namespace Poco::Data 46