|
DCL 3.7.4
|
#include <MyConnection.h>
Public Member Functions | |
| MYSQL * | connHandle () const |
| bool | storeResult () const |
| void | setErrorHandle (SQL::Error _error, const wchar_t *_filename, int _line) |
| void | setErrorMessage (const ByteString &_message, const wchar_t *_filename, int _line) |
| MyConnection (const wchar_t *_serverTitle) | |
| virtual void | destroy () |
| virtual | ~MyConnection () |
| virtual bool | __open (const char *_conns, size_t _connslen) |
| virtual bool | __close () |
| virtual bool | __execute (const char *_sql, size_t _sqllen) |
| virtual bool | __startTrans () |
| virtual bool | __commitTrans () |
| virtual bool | __rollbackTrans () |
| virtual bool | __createQueryInstance (SQL::Query **_queryHandleOut) |
| virtual bool | __getErrorMessage (char *_buf, size_t *_buflen) |
| virtual bool | __getServerInfo (char *_buf, size_t *_buflen) |
| Public Member Functions inherited from SQL::Connection | |
| long | refCount () const |
| long | addRef () |
| long | release () |
| bool | open (const char *_conn, size_t _connlen) |
| bool | close () |
| bool | execute (const char *_sql, size_t _sqllen) |
| bool | startTrans () |
| bool | commitTrans () |
| bool | rollbackTrans () |
| bool | getErrorMessage (char *_buf, size_t *_buflen) |
| bool | getServerInfo (char *_buf, size_t *_buflen) |
| bool | createQueryInstance (Query **_queryHandle) |
| bool | destroyQueryInstance (Query *_queryHandle) |
| Error | errorCode () const |
| bool | canTransact () const |
| const wchar_t * | serverTitle () const |
| bool | inState (unsigned int _state) const |
| Public Member Functions inherited from Object | |
| virtual String | toString () const |
| String | className () const |
| bool | isInstanceOf (const std::type_info &typeinfo) const |
| virtual const std::type_info & | typeInfo () const |
Additional Inherited Members | |
| Public Types inherited from SQL::Connection | |
| enum | State { stClosed = 0x0001 , stOpenned = 0x0002 , stInTransaction = 0x0004 } |
| Static Public Member Functions inherited from SQL::Connection | |
| static size_t | splitConnStr (const char *_connstr, size_t _strlen, ListedByteStringToByteStringMap &_results) |
| Public Attributes inherited from SQL::Connection | |
| _PROTECTED | : void setErrorStatus( Error _errorCode |
| _PROTECTED const wchar_t * | _filename |
| _PROTECTED const wchar_t int | _line |
| Protected Member Functions inherited from SQL::Connection | |
| Connection (const wchar_t *_serverTitle) | |
| virtual | ~Connection () |
| Protected Member Functions inherited from Object | |
| virtual | ~Object () |
| Object () | |
| Protected Attributes inherited from SQL::Connection | |
| bool | __canTransact |
| const wchar_t * | __serverTitle |
| Error | __errorCode |
| const wchar_t * | __errorFileName |
| int | __errorLine |
| unsigned int | __states |
Definition at line 8 of file MyConnection.h.
| MyConnection::MyConnection | ( | const wchar_t * | _serverTitle | ) |
|
virtual |
Definition at line 56 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 154 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 227 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 251 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 198 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 265 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 275 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 87 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 239 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 222 of file MyConnection.cpp.
|
inline |
Definition at line 47 of file MyConnection.h.
|
virtual |
파생클래스에서 new 연산자를 override했거나, 추가적인 행위가 필요하다면 이것도 override하라
Implements SQL::Connection.
Definition at line 64 of file MyConnection.cpp.
|
inline |
Definition at line 57 of file MyConnection.h.
|
inline |
Definition at line 71 of file MyConnection.h.
|
inline |
Definition at line 52 of file MyConnection.h.