OpenStructure
|
#include <query_view_wrapper.hh>
Public Member Functions | |
QueryViewWrapper (const EntityHandle &entity_handle) | |
QueryViewWrapper (const EntityView &entity_view) | |
QueryViewWrapper () | |
QueryViewWrapper (const Query &query, const EntityHandle &handle) | |
QueryViewWrapper (const Query &query, const EntityView &view=mol::EntityView()) | |
QueryViewWrapper (const Query &query, QueryFlags flags, const EntityHandle &handle) | |
QueryViewWrapper (const Query &query, QueryFlags flags, const EntityView &view=mol::EntityView()) | |
bool | DependsOnQuery () const |
bool | IsDataValid () const |
EntityView | GetEntityView () const |
void | SetQuery (const Query &query) |
const Query & | GetQuery () const |
void | SetFlags (QueryFlags flags) |
QueryFlags | GetFlags () const |
EntityHandle | GetEntity () const |
helper class to manage relationship between entity, query and view
Definition at line 33 of file query_view_wrapper.hh.
|
explicit |
|
explicit |
QueryViewWrapper | ( | ) |
QueryViewWrapper | ( | const Query & | query, |
const EntityHandle & | handle | ||
) |
QueryViewWrapper | ( | const Query & | query, |
const EntityView & | view = mol::EntityView() |
||
) |
QueryViewWrapper | ( | const Query & | query, |
QueryFlags | flags, | ||
const EntityHandle & | handle | ||
) |
QueryViewWrapper | ( | const Query & | query, |
QueryFlags | flags, | ||
const EntityView & | view = mol::EntityView() |
||
) |
bool DependsOnQuery | ( | ) | const |
returns true if view will be recalculated from query
|
inline |
return underlying handle
Definition at line 61 of file query_view_wrapper.hh.
EntityView GetEntityView | ( | ) | const |
regenerates current view based on internal state
QueryFlags GetFlags | ( | ) | const |
returns internally used query flags
const Query& GetQuery | ( | ) | const |
retrieve current query
bool IsDataValid | ( | ) | const |
void SetFlags | ( | QueryFlags | flags | ) |
set query flags to be used internally for the Select statement
void SetQuery | ( | const Query & | query | ) |
explicitely sets current query