#include <TdkMediaObj.h>
Public Member Functions | |
TdkMediaObj () | |
~TdkMediaObj () | |
void | setId (int id) |
int | getId () |
void | setName (std::string name) |
std::string | getName () |
void | setType (std::string type) |
std::string | getType () |
void | setDescription (std::string description) |
std::string | getDescription () |
void | setPath (std::string path) |
std::string | getPath () |
void | setTableOwner (std::string table) |
std::string | getTableOwner () |
void | setBlob (unsigned char *blob, long size) |
const unsigned char * | getBlob (bool reload=false) |
long | getBlobSize () |
bool | LoadBlob (TeDatabasePortal *portal) |
void | setDatabase (TeDatabase *db) |
TeDatabase * | getDatabase () |
Protected Attributes | |
int | id_ |
std::string | name_ |
std::string | type_ |
std::string | description_ |
std::string | path_ |
std::string | mediaTableOwner_ |
unsigned char * | blob_ |
long | blobSize_ |
TeDatabase * | db_ |
TdkMediaObj::TdkMediaObj | ( | ) |
TdkMediaObj::~TdkMediaObj | ( | ) |
void TdkMediaObj::setId | ( | int | id | ) |
int TdkMediaObj::getId | ( | ) |
void TdkMediaObj::setName | ( | std::string | name | ) |
string TdkMediaObj::getName | ( | ) |
void TdkMediaObj::setType | ( | std::string | type | ) |
string TdkMediaObj::getType | ( | ) |
void TdkMediaObj::setDescription | ( | std::string | description | ) |
string TdkMediaObj::getDescription | ( | ) |
void TdkMediaObj::setPath | ( | std::string | path | ) |
string TdkMediaObj::getPath | ( | ) |
void TdkMediaObj::setTableOwner | ( | std::string | table | ) |
string TdkMediaObj::getTableOwner | ( | ) |
void TdkMediaObj::setBlob | ( | unsigned char * | blob, | |
long | size | |||
) |
const unsigned char * TdkMediaObj::getBlob | ( | bool | reload = false |
) |
long TdkMediaObj::getBlobSize | ( | ) |
bool TdkMediaObj::LoadBlob | ( | TeDatabasePortal * | portal | ) |
void TdkMediaObj::setDatabase | ( | TeDatabase * | db | ) |
TeDatabase * TdkMediaObj::getDatabase | ( | ) |
int TdkMediaObj::id_ [protected] |
std::string TdkMediaObj::name_ [protected] |
std::string TdkMediaObj::type_ [protected] |
std::string TdkMediaObj::description_ [protected] |
std::string TdkMediaObj::path_ [protected] |
std::string TdkMediaObj::mediaTableOwner_ [protected] |
unsigned char* TdkMediaObj::blob_ [protected] |
long TdkMediaObj::blobSize_ [protected] |
TeDatabase* TdkMediaObj::db_ [protected] |