OpenStructure
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() [1/7]

QueryViewWrapper ( const EntityHandle entity_handle)
explicit

◆ QueryViewWrapper() [2/7]

QueryViewWrapper ( const EntityView entity_view)
explicit

◆ QueryViewWrapper() [3/7]

◆ QueryViewWrapper() [4/7]

QueryViewWrapper ( const Query query,
const EntityHandle handle 
)

◆ QueryViewWrapper() [5/7]

QueryViewWrapper ( const Query query,
const EntityView view = mol::EntityView() 
)

◆ QueryViewWrapper() [6/7]

QueryViewWrapper ( const Query query,
QueryFlags  flags,
const EntityHandle handle 
)

◆ QueryViewWrapper() [7/7]

QueryViewWrapper ( const Query query,
QueryFlags  flags,
const EntityView view = mol::EntityView() 
)

Member Function Documentation

◆ DependsOnQuery()

bool DependsOnQuery ( ) const

returns true if view will be recalculated from query

◆ GetEntity()

EntityHandle GetEntity ( ) const
inline

return underlying handle

Definition at line 61 of file query_view_wrapper.hh.

◆ GetEntityView()

EntityView GetEntityView ( ) const

regenerates current view based on internal state

◆ GetFlags()

QueryFlags GetFlags ( ) const

returns internally used query flags

◆ GetQuery()

const Query& GetQuery ( ) const

retrieve current query

◆ IsDataValid()

bool IsDataValid ( ) const

◆ SetFlags()

void SetFlags ( QueryFlags  flags)

set query flags to be used internally for the Select statement

◆ SetQuery()

void SetQuery ( const Query query)

explicitely sets current query


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