nanodbc
A small C++ wrapper for the native C ODBC API
Loading...
Searching...
No Matches
nanodbc::connection::attribute Class Reference
Inheritance diagram for nanodbc::connection::attribute:
Collaboration diagram for nanodbc::connection::attribute:

Public Member Functions

 attribute (long const &attribute, long const &string_length, variant const &resource) noexcept
 
- Public Member Functions inherited from nanodbc::attribute
attributeoperator= (attribute const &)=delete
 
 attribute (attribute const &other) noexcept
 Copy constructor.
 
 attribute (long const &attribute, long const &string_length, variant const &resource) noexcept
 Creates an attribute from the three arguments the ODBC call takes.
 

Additional Inherited Members

- Public Types inherited from nanodbc::attribute
using variant = std::variant< std::vector< uint8_t >, string, std::intptr_t, std::uintptr_t >
 
- Protected Member Functions inherited from nanodbc::attribute
void extractValuePtr () noexcept
 Points value_ptr_ at the resource, according to which type it holds.
 
- Protected Attributes inherited from nanodbc::attribute
long attribute_
 The Attribute argument of the ODBC call.
 
long string_length_
 The StringLength argument of the ODBC call.
 
variant resource_
 Owns the value that value_ptr_ refers to.
 
void * value_ptr_
 The ValuePtr argument of the ODBC call.
 

The documentation for this class was generated from the following file: