Sha256: bf7dd9eb23acf768f3788a8d09c7408a7f6eeafafd70079956bdc48e9ee9895e
Contents?: true
Size: 894 Bytes
Versions: 19
Compression:
Stored size: 894 Bytes
Contents
#pragma once #include "common/RhoStd.h" #include "common/RhoMutexLock.h" namespace rho{ namespace db{ class CDBAdapter; class CDBAttrManager { common::CMutex m_mxSrcAttrs; HashtablePtr< int, Hashtable<String,int>* > m_mapSrcAttrs; HashtablePtr< int, Hashtable<String,int>* > m_mapBlobAttrs; static void loadAttrs(CDBAdapter& db, HashtablePtr< int, Hashtable<String,int>* >& mapAttrs, String strDBAttr); public: void add( int nSrcID, const char* szAttr ); void remove( int nSrcID, const char* szAttr ); void save(CDBAdapter& db); void load(CDBAdapter& db); void reset(CDBAdapter& db); #ifndef RHO_NO_RUBY unsigned long getAttrsBySrc(int nSrcID); #endif //RHO_NO_RUBY boolean isBlobAttr(int nSrcID, const char* szAttr); boolean isOverwriteBlobFromServer(int nSrcID, const String& strAttr); void loadBlobAttrs(CDBAdapter& db); }; } }
Version data entries
19 entries across 19 versions & 1 rubygems