#include <TdkMediaPersistenceManager.h>
Static Public Member Functions | |
Medias | |
| static string | layerMediaTableName (TeDatabase *db, int layerId) |
| static bool | getMediaTables (TeDatabase *db, TdkMediaTableVector &tables) |
| static bool | mediaTablesTableExist (TeDatabase *db) |
| static bool | layerMediaTablesTableExist (TeDatabase *db) |
| static void | createMediaTablesTable (TeDatabase *db) |
| static void | createLayerMediaTablesTable (TeDatabase *db) |
| static bool | insertLayerMediaTable (TeDatabase *db, int layerId, const string &tname) |
| static int | insertMedia (TeDatabase *db, const string &mediaTableName, string fileName, const string &description, const string &type, bool blob) |
| static bool | insertMediaObjLayer (TeDatabase *db, TeLayer *layer, const string &objectId, const int media_id, const string &mediaTable) |
| static bool | insertMediaTable (TeDatabase *db, const string &tname) |
| static bool | deleteMediaObjLayer (TeDatabase *db, TeLayer *layer, const string &objectId, const int media_id, const string &mediaTable) |
Friends | |
| class | TdkCache |
| std::string TdkMediaPersistenceManager::layerMediaTableName | ( | TeDatabase * | db, | |
| int | layerId | |||
| ) | [static] |
| bool TdkMediaPersistenceManager::getMediaTables | ( | TeDatabase * | db, | |
| TdkMediaTableVector & | tables | |||
| ) | [static] |
| bool TdkMediaPersistenceManager::mediaTablesTableExist | ( | TeDatabase * | db | ) | [static] |
| bool TdkMediaPersistenceManager::layerMediaTablesTableExist | ( | TeDatabase * | db | ) | [static] |
| void TdkMediaPersistenceManager::createMediaTablesTable | ( | TeDatabase * | db | ) | [static] |
| void TdkMediaPersistenceManager::createLayerMediaTablesTable | ( | TeDatabase * | db | ) | [static] |
| bool TdkMediaPersistenceManager::insertLayerMediaTable | ( | TeDatabase * | db, | |
| int | layerId, | |||
| const string & | tname | |||
| ) | [static] |
| int TdkMediaPersistenceManager::insertMedia | ( | TeDatabase * | db, | |
| const string & | mediaTableName, | |||
| string | fileName, | |||
| const string & | description, | |||
| const string & | type, | |||
| bool | blob | |||
| ) | [static] |
| bool TdkMediaPersistenceManager::insertMediaObjLayer | ( | TeDatabase * | db, | |
| TeLayer * | layer, | |||
| const string & | objectId, | |||
| const int | media_id, | |||
| const string & | mediaTable | |||
| ) | [static] |
| bool TdkMediaPersistenceManager::insertMediaTable | ( | TeDatabase * | db, | |
| const string & | tname | |||
| ) | [static] |
| bool TdkMediaPersistenceManager::deleteMediaObjLayer | ( | TeDatabase * | db, | |
| TeLayer * | layer, | |||
| const string & | objectId, | |||
| const int | media_id, | |||
| const string & | mediaTable | |||
| ) | [static] |
friend class TdkCache [friend] |
1.5.2