IAccessorImpl 클래스
Provides an implementation of the IAccessor interface.
template <
class T,
class BindType = ATLBINDINGS,
class BindingVector = CAtlMap <
HACCESSOR hAccessor,
BindType* pBindingsStructure
>
>
class ATL_NO_VTABLE IAccessorImpl : public IAccessorImplBase<BindType>
매개 변수
T
Your rowset or command object class.BindType
Storage unit for binding information. The default is the ATLBINDINGS structure (see atldb.h).BindingVector
Storage unit for column information. The default is CAtlMap where the key element is an HACCESSOR value and the value element is a pointer to a BindType structure.
멤버
메서드
생성자입니다. |
Interface Methods
기존 접근자에 참조 횟수를 추가합니다. |
|
바인딩 집합에서 접근자를 만듭니다. |
|
접근자에 있는 바인딩을 반환합니다. |
|
접근자를 해제합니다. |
설명
This is mandatory on rowsets and commands. OLE DB requires providers to implement an HACCESSOR, which is a tag to an array of DBBINDING structures. HACCESSORs provided by IAccessorImpl are addresses of the BindType structures. By default, BindType is defined as an ATLBINDINGS in IAccessorImpl's template definition. BindType provides a mechanism used by IAccessorImpl to track the number of elements in its DBBINDING array as well as a reference count and accessor flags.
요구 사항
Header: atldb.h