OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
QueryViewWrapper Class Reference

#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 QueryGetQuery () const
 
void SetFlags (QueryFlags flags)
 
QueryFlags GetFlags () const
 
EntityHandle GetEntity () const
 

Detailed Description

helper class to manage relationship between entity, query and view

Definition at line 33 of file query_view_wrapper.hh.

Constructor & Destructor Documentation

QueryViewWrapper ( const EntityHandle entity_handle)
explicit
QueryViewWrapper ( const EntityView entity_view)
explicit
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() 
)

Member Function Documentation

bool DependsOnQuery ( ) const

returns true if view will be recalculated from query

EntityHandle GetEntity ( ) const
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


The documentation for this class was generated from the following file: