#include <vdbl_viewdbase.h>


Public Member Functions | |
| bool | has_view (const char *_C_i) const |
| viewbase * | get_view (const char *_C_i) const |
| viewbase * | get_view (const std::string &_C_i) const |
| viewdbase () | |
| viewdbase (const database &db, const userid &uid, const context &c, view_enum e=V_frozen) | |
| template<template< class _TC, class _TA > class _SqCtr, class _Al > | |
| viewdbase (const database &db, const userid &uid, const context &c, const _SqCtr< std::pair< tableid, rowid >, _Al > &__an, view_enum e=V_frozen) | |
| virtual | ~viewdbase () |
| bool | add_table_view (const _VDBL_tableid &__t, const std::string &__s, const _VDBL_context &__c) |
| template<template< class _TC, class _TA > class _SqCtr, class _Al > | |
| bool | add_table_view (const _VDBL_tableid &__t, const std::string &__s, const _VDBL_context &__c, const _SqCtr< std::pair< _VDBL_tableid, _VDBL_rowid >, _Al > &__an) |
| bool | add_table_view (const std::string &__s, const _VDBL_context &__c) |
| template<template< class _TC, class _TA > class _SqCtr, class _Al > | |
| bool | add_table_view (const std::string &__s, const _VDBL_context &__c, const _SqCtr< std::pair< _VDBL_tableid, _VDBL_rowid >, _Al > &__an) |
| template<template< class _TC, class _TA > class _SqCtr, class _Al > | |
| bool | add_visible (const _SqCtr< std::pair< _VDBL_tableid, _VDBL_rowid >, _Al > &__an) |
| template<template< class _TC, class _TA > class _SqCtr, class _Al > | |
| bool | rm_visible (const _SqCtr< std::pair< _VDBL_tableid, _VDBL_rowid >, _Al > &__an) |
| _VDBL_tableid | get_tableid (const std::string &_C_i) const |
| bool | has_view (const _VDBL_tableid &_C_i) const |
| bool | has_view (const std::string &_C_i) const |
| _VDBL_view * | get_view (const _VDBL_tableid &_C_i) const |
Definition at line 310 of file vdbl_viewdbase.h.
| viewdbase::viewdbase | ( | ) | [inline] |
standard constructor
Definition at line 338 of file vdbl_viewdbase.h.
| viewdbase::viewdbase | ( | const database & | db, | |
| const userid & | uid, | |||
| const context & | c, | |||
| const _SqCtr< std::pair< tableid, rowid >, _Al > & | __an, | |||
| view_enum | e = V_frozen | |||
| ) | [inline] |
constructor which builds a view to the database from
db -- the databasec -- the evaluation context for all viewsuid -- the user id of the user who owns the viewe -- the view type for all views The fourth argument is any sequential container of table,row pairs to which the view shall be restricted. Definition at line 360 of file vdbl_viewdbase.h.
| virtual viewdbase::~viewdbase | ( | ) | [inline, virtual] |
standard destructor
Definition at line 368 of file vdbl_viewdbase.h.
| bool viewdbase::add_table_view | ( | const std::string & | __s, | |
| const _VDBL_context & | __c, | |||
| const _SqCtr< std::pair< _VDBL_tableid, _VDBL_rowid >, _Al > & | __an | |||
| ) | [inline] |
This method adds another view to the viewdb. The table name is given by __s, and the context by __c. The sequential container of table,row pairs specifies additional table,row pairs which shall be visible in the view.
Reimplemented from _VDBL_viewdbase.
Definition at line 410 of file vdbl_viewdbase.h.
| bool viewdbase::add_table_view | ( | const std::string & | __s, | |
| const _VDBL_context & | __c | |||
| ) | [inline] |
This method adds another view to the viewdb. The table name is given by __s, and the context by __c.
Reimplemented from _VDBL_viewdbase.
Definition at line 398 of file vdbl_viewdbase.h.
| bool viewdbase::add_table_view | ( | const _VDBL_tableid & | __t, | |
| const std::string & | __s, | |||
| const _VDBL_context & | __c, | |||
| const _SqCtr< std::pair< _VDBL_tableid, _VDBL_rowid >, _Al > & | __an | |||
| ) | [inline] |
This method adds another view to the viewdb. The table id is given by __t, the table name by __s, and the context by __c. The sequential container of table,row pairs specifies additional table,row pairs which shall be visible in the view.
Reimplemented from _VDBL_viewdbase.
Definition at line 387 of file vdbl_viewdbase.h.
| bool viewdbase::add_table_view | ( | const _VDBL_tableid & | __t, | |
| const std::string & | __s, | |||
| const _VDBL_context & | __c | |||
| ) | [inline] |
This method adds another view to the viewdb. The table id is given by __t, the table name by __s, and the context by __c.
Reimplemented from _VDBL_viewdbase.
Definition at line 374 of file vdbl_viewdbase.h.
| bool viewdbase::add_visible | ( | const _SqCtr< std::pair< _VDBL_tableid, _VDBL_rowid >, _Al > & | __an | ) | [inline] |
The sequential container of table,row pairs specifies additional table,row pairs which shall be visible in the view.
Reimplemented from _VDBL_viewdbase.
Definition at line 421 of file vdbl_viewdbase.h.
| _VDBL_tableid _VDBL_viewdbase::get_tableid | ( | const std::string & | _C_i | ) | const [inline, inherited] |
return the table id (and view id) of table _C_i
Definition at line 73 of file vdbl_viewdbase.h.
| _VDBL_view* _VDBL_viewdbase::get_view | ( | const _VDBL_tableid & | _C_i | ) | const [inline, inherited] |
this method returns a pointer to the view associated to id _C_i.
Definition at line 115 of file vdbl_viewdbase.h.
| viewbase* viewdbase::get_view | ( | const std::string & | _C_i | ) | const [inline] |
this method returns a pointer to the view _C_i.
Reimplemented from _VDBL_viewdbase.
Definition at line 332 of file vdbl_viewdbase.h.
| viewbase* viewdbase::get_view | ( | const char * | _C_i | ) | const [inline] |
this method returns a pointer to the view _C_i.
Definition at line 327 of file vdbl_viewdbase.h.
| bool _VDBL_viewdbase::has_view | ( | const std::string & | _C_i | ) | const [inline, inherited] |
check whether the view _C_i exists
Definition at line 109 of file vdbl_viewdbase.h.
| bool _VDBL_viewdbase::has_view | ( | const _VDBL_tableid & | _C_i | ) | const [inline, inherited] |
check whether a given view (associated to table id _C_i) exists
Definition at line 92 of file vdbl_viewdbase.h.
| bool viewdbase::has_view | ( | const char * | _C_i | ) | const [inline] |
check whether the view _C_i exists
Definition at line 322 of file vdbl_viewdbase.h.
| bool viewdbase::rm_visible | ( | const _SqCtr< std::pair< _VDBL_tableid, _VDBL_rowid >, _Al > & | __an | ) | [inline] |
The sequential container of table,row pairs specifies table,row pairs which shall no longer be visible in the view.
Reimplemented from _VDBL_viewdbase.
Definition at line 431 of file vdbl_viewdbase.h.
1.5.8