40 template<
class TableDesc>
47 static TableDesc* _ptable;
71 typedef object_cache<table_row_t, tuple_factory>
Cache;
80 return _cache.acquire();
93 #endif // __ROW_CACHE_H static table_row_t * init(table_row_t *t)
Definition: row_cache.h:65
Definition: row_cache.h:43
static void giveback(table_row_t *ptn)
Definition: row_cache.h:86
static void destroy(table_row_t *t)
Definition: row_cache.h:55
Definition: row_cache.h:41
virtual ~table_row_t()
Definition: row.cpp:138
void reset()
Definition: row.h:316
table_row_t * borrow()
Definition: row_cache.h:79
static TableDesc *& ptable()
Definition: row_cache.h:46
Cache _cache
Definition: row_cache.h:73
static void reset(table_row_t *t)
Definition: row_cache.h:59
object_cache< table_row_t, tuple_factory > Cache
Definition: row_cache.h:71
static table_row_t * construct(void *ptr)
Definition: row_cache.h:51
: Base class for records (rows) of tables in Shore