|
DCL 4.1
|
#include <MyConnection.h>
Public Member Functions | |
| MYSQL * | connHandle () const |
| bool | storeResult () const |
| void | setErrorStatus (SQL::Error _error, const wchar_t *_filename, int _line) |
| void | setErrorStatus (const ByteString &_message, const wchar_t *_filename, int _line) |
| MyConnection (const wchar_t *_serverTitle) | |
| virtual void | destroy () |
| virtual | ~MyConnection () |
| virtual bool | __open (const char *_pszConnString, size_t _n) |
| virtual bool | __close () |
| virtual bool | __execute (const char *pszSQL, size_t _n) |
| virtual bool | __startTrans () |
| virtual bool | __commitTrans () |
| virtual bool | __rollbackTrans () |
| virtual bool | __createQueryInstance (SQL::Query **_ppQuery) |
| virtual bool | __getErrorMessage (char *_buffer, size_t *_size) |
| virtual bool | __getServerInfo (char *_buffer, size_t *_size) |
| Public Member Functions inherited from SQL::Connection | |
| long | refCount () const |
| long | addRef () |
| long | release () |
| bool | open (const char *_connString, size_t _connlen) |
| bool | close () |
| bool | execute (const char *_sql, size_t _sqllen) |
| bool | startTrans () |
| bool | commitTrans () |
| bool | rollbackTrans () |
| bool | getErrorMessage (char *_pbuf, size_t *_pn) |
| bool | getServerInfo (char *_pbuf, size_t *_pn) |
| bool | createQueryInstance (Query **_queryHandleOut) |
| bool | destroyQueryInstance (Query *_queryHandle) |
| Error | errorCode () const |
| bool | canTransact () const |
| const wchar_t * | serverTitle () const |
| bool | inState (unsigned int uState) 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 | splitConnectionString (const char *_connString, size_t _strlen, ListedByteStringToByteStringMap &_map) |
| 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 18 of file MyConnection.h.
| MyConnection::MyConnection | ( | const wchar_t * | _serverTitle | ) |
|
virtual |
Definition at line 51 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 148 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 220 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 242 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 192 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 256 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 266 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 82 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 231 of file MyConnection.cpp.
|
virtual |
Implements SQL::Connection.
Definition at line 215 of file MyConnection.cpp.
|
inline |
Definition at line 50 of file MyConnection.h.
|
virtual |
파생클래스에서 new 연산자를 override했거나, 추가적인 행위가 필요하다면 이것도 override하라
Implements SQL::Connection.
Definition at line 59 of file MyConnection.cpp.
|
inline |
Definition at line 74 of file MyConnection.h.
|
inline |
Definition at line 60 of file MyConnection.h.
|
inline |
Definition at line 55 of file MyConnection.h.