CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::UpdateCommandImpl< DataObject > Class Template Reference
+ Inheritance diagram for CASM::UpdateCommandImpl< DataObject >:

Detailed Description

template<typename DataObject>
class CASM::UpdateCommandImpl< DataObject >

'casm query' implementation, templated by type

This:

  • holds a DB::InterfaceData object which stores dictionaries and selections
  • provides the implementation for 'help' (i.e. print allowed import options)
  • provides the implementation for 'run' (i.e. perform query)

Definition at line 98 of file update.cc.

Public Member Functions

 UpdateCommandImpl (const UpdateCommand &cmd)
 
int help () const override
 
int desc () const override
 
int run () const override
 

Protected Attributes

const UpdateCommandm_cmd
 

Constructor & Destructor Documentation

◆ UpdateCommandImpl()

template<typename DataObject >
CASM::UpdateCommandImpl< DataObject >::UpdateCommandImpl ( const UpdateCommand cmd)
inline

Definition at line 100 of file update.cc.

Member Function Documentation

◆ desc()

template<typename DataObject >
int CASM::UpdateCommandImpl< DataObject >::desc
overridevirtual

Reimplemented from CASM::UpdateCommandImplBase.

Definition at line 121 of file update.cc.

◆ help()

template<typename DataObject >
int CASM::UpdateCommandImpl< DataObject >::help
overridevirtual

Reimplemented from CASM::UpdateCommandImplBase.

Definition at line 110 of file update.cc.

◆ run()

template<typename DataObject >
int CASM::UpdateCommandImpl< DataObject >::run
overridevirtual

Reimplemented from CASM::UpdateCommandImplBase.

Definition at line 127 of file update.cc.

Member Data Documentation

◆ m_cmd

const UpdateCommand& CASM::UpdateCommandImplBase::m_cmd
protectedinherited

Definition at line 53 of file update.cc.


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