|
BmnRoot
|
#include <ElogAttachment.h>
Public Member Functions | |
| virtual | ~ElogAttachment () |
| int | GetRecordId () |
| get record id of the current attachment | |
| int | GetAttachmentNumber () |
| get attachment number of the current attachment | |
| TString | GetFilePath () |
| get file path of the current attachment | |
| int | SetRecordId (int record_id) |
| set record id of the current attachment | |
| int | SetAttachmentNumber (int attachment_number) |
| set attachment number of the current attachment | |
| int | SetFilePath (TString file_path) |
| set file path of the current attachment | |
| void | Print () |
| print information about current attachment | |
| ClassDef (ElogAttachment, 1) | |
| virtual | ~ElogAttachment () |
| int | GetRecordId () |
| get record id of the current attachment | |
| int | GetAttachmentNumber () |
| get attachment number of the current attachment | |
| TString | GetFilePath () |
| get file path of the current attachment | |
| int | SetRecordId (int record_id) |
| set record id of the current attachment | |
| int | SetAttachmentNumber (int attachment_number) |
| set attachment number of the current attachment | |
| int | SetFilePath (TString file_path) |
| set file path of the current attachment | |
| void | Print () |
| print information about current attachment | |
| ClassDef (ElogAttachment, 1) | |
Static Public Member Functions | |
| static ElogAttachment * | CreateAttachment (int record_id, int attachment_number, TString file_path) |
| add new attachment to the database | |
| static ElogAttachment * | GetAttachment (int record_id, int attachment_number) |
| get attachment from the database | |
| static ElogAttachment * | GetAttachment (TString file_path) |
| get attachment from the database | |
| static int | CheckAttachmentExists (int record_id, int attachment_number) |
| check attachment exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | CheckAttachmentExists (TString file_path) |
| check attachment exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteAttachment (int record_id, int attachment_number) |
| delete attachment from the database | |
| static int | DeleteAttachment (TString file_path) |
| delete attachment from the database | |
| static int | PrintAll () |
| print all attachments | |
| static ElogAttachment * | CreateAttachment (int record_id, int attachment_number, TString file_path) |
| add new attachment to the database | |
| static ElogAttachment * | GetAttachment (int record_id, int attachment_number) |
| get attachment from the database | |
| static ElogAttachment * | GetAttachment (TString file_path) |
| get attachment from the database | |
| static int | CheckAttachmentExists (int record_id, int attachment_number) |
| check attachment exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | CheckAttachmentExists (TString file_path) |
| check attachment exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteAttachment (int record_id, int attachment_number) |
| delete attachment from the database | |
| static int | DeleteAttachment (TString file_path) |
| delete attachment from the database | |
| static int | PrintAll () |
| print all attachments | |
ElogAttachment.h Class for the table: attachment_
Definition at line 17 of file ElogAttachment.h.
|
virtual |
Definition at line 26 of file ElogAttachment.cxx.
|
virtual |
|
static |
check attachment exists in the database: 1- true, 0 - false, <0 - database operation error
Definition at line 167 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
check attachment exists in the database: 1- true, 0 - false, <0 - database operation error
|
static |
check attachment exists in the database: 1- true, 0 - false, <0 - database operation error
Definition at line 207 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
check attachment exists in the database: 1- true, 0 - false, <0 - database operation error
| ElogAttachment::ClassDef | ( | ElogAttachment | , |
| 1 | |||
| ) |
| ElogAttachment::ClassDef | ( | ElogAttachment | , |
| 1 | |||
| ) |
|
static |
add new attachment to the database
Definition at line 33 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
add new attachment to the database
|
static |
delete attachment from the database
Definition at line 247 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
delete attachment from the database
|
static |
delete attachment from the database
Definition at line 278 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
delete attachment from the database
|
static |
get attachment from the database
Definition at line 71 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
get attachment from the database
|
static |
get attachment from the database
Definition at line 119 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
get attachment from the database
|
inline |
get attachment number of the current attachment
Definition at line 61 of file ElogAttachment.h.
|
inline |
get attachment number of the current attachment
Definition at line 61 of file ElogAttachment.h.
|
inline |
get file path of the current attachment
Definition at line 63 of file ElogAttachment.h.
|
inline |
get file path of the current attachment
Definition at line 63 of file ElogAttachment.h.
|
inline |
get record id of the current attachment
Definition at line 59 of file ElogAttachment.h.
|
inline |
get record id of the current attachment
Definition at line 59 of file ElogAttachment.h.
| void ElogAttachment::Print | ( | ) |
print information about current attachment
Definition at line 451 of file ElogAttachment.cxx.
| void ElogAttachment::Print | ( | ) |
print information about current attachment
|
static |
print all attachments
Definition at line 308 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
print all attachments
| int ElogAttachment::SetAttachmentNumber | ( | int | attachment_number | ) |
set attachment number of the current attachment
Definition at line 384 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer().
| int ElogAttachment::SetAttachmentNumber | ( | int | attachment_number | ) |
set attachment number of the current attachment
| int ElogAttachment::SetFilePath | ( | TString | file_path | ) |
set file path of the current attachment
Definition at line 417 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer().
| int ElogAttachment::SetFilePath | ( | TString | file_path | ) |
set file path of the current attachment
| int ElogAttachment::SetRecordId | ( | int | record_id | ) |
set record id of the current attachment
Definition at line 351 of file ElogAttachment.cxx.
References ElogConnection::GetSQLServer().
| int ElogAttachment::SetRecordId | ( | int | record_id | ) |
set record id of the current attachment