1 #ifndef CASM_DBInterface
2 #define CASM_DBInterface
19 template <
typename CommandType,
20 template <
typename>
class ImplType = CommandType::template Impl>
22 typedef typename CommandType::ImplBase
ImplBase;
23 template <
typename DataObject>
24 using Impl = ImplType<DataObject>;
26 ConstructImpl(std::unique_ptr<ImplBase> &_impl,
const CommandType &_cmd)
34 std::unique_ptr<ImplBase> &
impl;
35 const CommandType &
cmd;
38 template <
typename DataObject>
61 std::vector<std::unique_ptr<Selection<DataObject>>>
m_sel;
void _make_dict(const APICommandBase &cmd)
const DataFormatterDictionary< DataObject > * m_dict
std::unique_ptr< DataFormatterDictionary< DataObject > > m_standard_dict
const DataFormatterDictionary< DataObject > & dict() const
std::string sel_str() const
InterfaceData(const QueryCommand &cmd)
Selection< DataObject > & sel(Index i=0)
const Selection< DataObject > & sel(Index i=0) const
std::vector< std::unique_ptr< Selection< DataObject > > > m_sel
INDEX_TYPE Index
For long integer indexing:
std::unique_ptr< ImplBase > & impl
CommandType::ImplBase ImplBase
ConstructImpl(std::unique_ptr< ImplBase > &_impl, const CommandType &_cmd)
ImplType< DataObject > Impl