![]() |
fb-cpp 0.0.2
A modern C++ wrapper for the Firebird database API
|
Represents options used when creating an Attachment object. More...
#include <Attachment.h>
Public Member Functions | |
| const std::optional< std::string > & | getConnectionCharSet () const |
| Returns the character set which will be used for the connection. | |
| AttachmentOptions & | setConnectionCharSet (const std::string &value) |
| Sets the character set which will be used for the connection. | |
| const std::optional< std::string > & | getUserName () const |
| Returns the user name which will be used to connect to the database. | |
| AttachmentOptions & | setUserName (const std::string &value) |
| Sets the user name which will be used to connect to the database. | |
| const std::optional< std::string > & | getPassword () const |
| Returns the password which will be used to connect to the database. | |
| AttachmentOptions & | setPassword (const std::string &value) |
| Sets the password which will be used to connect to the database. | |
| const std::optional< std::string > & | getRole () const |
| Returns the role which will be used to connect to the database. | |
| AttachmentOptions & | setRole (const std::string &value) |
| Sets the role which will be used to connect to the database. | |
| const std::optional< std::uint32_t > & | getSqlDialect () const |
| Returns the SQL dialect which will be used to connect to the database. | |
| AttachmentOptions & | setSqlDialect (std::uint32_t value) |
| Sets the SQL dialect which will be used to connect to the database. | |
| const std::vector< std::uint8_t > & | getDpb () const |
| Returns the DPB (Database Parameter Block) which will be used to connect to the database. | |
| AttachmentOptions & | setDpb (const std::vector< std::uint8_t > &value) |
| Sets the DPB (Database Parameter Block) which will be used to connect to the database. | |
| AttachmentOptions & | setDpb (std::vector< std::uint8_t > &&value) |
| Sets the DPB (Database Parameter Block) which will be used to connect to the database. | |
| bool | getCreateDatabase () const |
| Returns whether the database should be created instead of connected to. | |
| AttachmentOptions & | setCreateDatabase (bool value) |
| Sets whether the database should be created instead of connected to. | |
| const std::optional< bool > & | getForcedWrites () const |
| Returns whether forced writes should be enabled when creating the database. | |
| AttachmentOptions & | setForcedWrites (bool value) |
| Sets whether forced writes should be enabled when creating the database. | |
Represents options used when creating an Attachment object.
Definition at line 53 of file Attachment.h.
|
inline |
Returns the character set which will be used for the connection.
Definition at line 59 of file Attachment.h.
|
inline |
Returns whether the database should be created instead of connected to.
Definition at line 170 of file Attachment.h.
|
inline |
Returns the DPB (Database Parameter Block) which will be used to connect to the database.
Definition at line 144 of file Attachment.h.
|
inline |
Returns whether forced writes should be enabled when creating the database.
Definition at line 187 of file Attachment.h.
|
inline |
Returns the password which will be used to connect to the database.
Definition at line 93 of file Attachment.h.
|
inline |
Returns the role which will be used to connect to the database.
Definition at line 110 of file Attachment.h.
|
inline |
Returns the SQL dialect which will be used to connect to the database.
Definition at line 127 of file Attachment.h.
|
inline |
Returns the user name which will be used to connect to the database.
Definition at line 76 of file Attachment.h.
|
inline |
Sets the character set which will be used for the connection.
Definition at line 67 of file Attachment.h.
|
inline |
Sets whether the database should be created instead of connected to.
Definition at line 178 of file Attachment.h.
|
inline |
Sets the DPB (Database Parameter Block) which will be used to connect to the database.
Definition at line 152 of file Attachment.h.
|
inline |
Sets the DPB (Database Parameter Block) which will be used to connect to the database.
Definition at line 161 of file Attachment.h.
|
inline |
Sets whether forced writes should be enabled when creating the database.
Definition at line 195 of file Attachment.h.
|
inline |
Sets the password which will be used to connect to the database.
Definition at line 101 of file Attachment.h.
|
inline |
Sets the role which will be used to connect to the database.
Definition at line 118 of file Attachment.h.
|
inline |
Sets the SQL dialect which will be used to connect to the database.
Definition at line 135 of file Attachment.h.
|
inline |
Sets the user name which will be used to connect to the database.
Definition at line 84 of file Attachment.h.