CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <QueryHandler.hh>
Definition at line 23 of file QueryHandler.hh.
Public Types | |
typedef _DataObject | DataObject |
Public Member Functions | |
QueryHandler (const ProjectSettings &set) | |
DataFormatterDictionary< DataObject > & | dict () |
const DataFormatterDictionary< DataObject > & | dict () const |
void | set_selected (const DB::Selected< DataObject > &selection) |
Set the selection to be used for the 'selected' column. More... | |
void | set_selected (const DB::Selection< DataObject > &selection) |
Set the selection to be used for the 'selected' column. More... | |
void | add_alias (const std::string &alias_name, const std::string &alias_command) |
Add user-defined query alias. More... | |
const std::map< std::string, std::string > & | aliases () const |
const Access aliases map More... | |
std::unique_ptr< Cloneable > | clone () const |
std::unique_ptr< Cloneable > | move () |
Private Member Functions | |
std::map< std::string, std::string > & | _aliases () |
Access aliases map. More... | |
virtual Cloneable * | _clone () const =0 |
virtual Cloneable * | _move ()=0 |
Private Attributes | |
const ProjectSettings * | m_set |
std::map< std::string, std::string > | m_aliases |
notstd::cloneable_ptr< DataFormatterDictionary< DataObject > > | m_dict |
std::map< std::string, std::shared_ptr< RuntimeLibrary > > | m_lib |
typedef _DataObject CASM::QueryHandler< _DataObject >::DataObject |
Definition at line 26 of file QueryHandler.hh.
CASM::QueryHandler< DataObject >::QueryHandler | ( | const ProjectSettings & | set | ) |
Definition at line 16 of file QueryHandler_impl.hh.
|
inlineprivate |
Access aliases map.
Definition at line 60 of file QueryHandler.hh.
|
privatepure virtualinherited |
|
privatepure virtualinherited |
void CASM::QueryHandler< DataObject >::add_alias | ( | const std::string & | alias_name, |
const std::string & | alias_command | ||
) |
Add user-defined query alias.
Definition at line 72 of file QueryHandler_impl.hh.
|
inline |
const Access aliases map
Definition at line 51 of file QueryHandler.hh.
|
inlineinherited |
Definition at line 92 of file cloneable_ptr.hh.
DataFormatterDictionary< DataObject > & CASM::QueryHandler< DataObject >::dict |
Definition at line 34 of file QueryHandler_impl.hh.
const DataFormatterDictionary< DataObject > & CASM::QueryHandler< DataObject >::dict |
Definition at line 39 of file QueryHandler_impl.hh.
|
inlineinherited |
Definition at line 95 of file cloneable_ptr.hh.
void CASM::QueryHandler< DataObject >::set_selected | ( | const DB::Selected< DataObject > & | selection | ) |
Set the selection to be used for the 'selected' column.
Definition at line 48 of file QueryHandler_impl.hh.
void CASM::QueryHandler< DataObject >::set_selected | ( | const DB::Selection< DataObject > & | selection | ) |
Set the selection to be used for the 'selected' column.
Definition at line 62 of file QueryHandler_impl.hh.
|
private |
Definition at line 64 of file QueryHandler.hh.
|
private |
Definition at line 66 of file QueryHandler.hh.
|
private |
Definition at line 68 of file QueryHandler.hh.
|
private |
Definition at line 62 of file QueryHandler.hh.