CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::DB::Remove< Supercell > Class Reference

#include <RemoveSupercell.hh>

Detailed Description

Definition at line 22 of file RemoveSupercell.hh.

Public Member Functions

 Remove (const PrimClex &primclex, std::string report_dir)
 
void erase (const DB::Selection< Supercell > &selection, bool dry_run)
 Erase all enumerated configs that have no data; if no data, erase supercell. More...
 
void erase_data (const DB::Selection< Supercell > &selection, bool dry_run)
 Erase data and files (permanently), but not configs / supercells. More...
 
void erase_all (const DB::Selection< Supercell > &selection, bool dry_run)
 Removes supercell, including all configurations, data, and files (permanently) More...
 
const PrimClexprimclex () const
 
std::string report_dir () const
 

Static Public Member Functions

static std::string desc ()
 
static int run (const PrimClex &primclex, const Completer::RmOption &opt)
 

Private Attributes

const PrimClexm_primclex
 
std::string m_report_dir
 

Constructor & Destructor Documentation

◆ Remove()

CASM::DB::Remove< Supercell >::Remove ( const PrimClex primclex,
std::string  report_dir 
)

Definition at line 12 of file RemoveSupercell.cc.

Member Function Documentation

◆ desc()

std::string CASM::DB::Remove< Supercell >::desc ( )
static

Definition at line 15 of file RemoveSupercell.cc.

◆ erase()

void CASM::DB::Remove< Supercell >::erase ( const DB::Selection< Supercell > &  selection,
bool  dry_run 
)

Erase all enumerated configs that have no data; if no data, erase supercell.

Definition at line 135 of file RemoveSupercell.cc.

◆ erase_all()

void CASM::DB::Remove< Supercell >::erase_all ( const DB::Selection< Supercell > &  selection,
bool  dry_run 
)

Removes supercell, including all configurations, data, and files (permanently)

Erase all enumerated configs that have no data; if no data, erase supercell.

Definition at line 179 of file RemoveSupercell.cc.

◆ erase_data()

void CASM::DB::Remove< Supercell >::erase_data ( const DB::Selection< Supercell > &  selection,
bool  dry_run 
)

Erase data and files (permanently), but not configs / supercells.

Erase all enumerated configs that have no data; if no data, erase supercell.

Definition at line 166 of file RemoveSupercell.cc.

◆ primclex()

const PrimClex & CASM::DB::Remove< Supercell >::primclex ( ) const

Definition at line 237 of file RemoveSupercell.cc.

◆ report_dir()

std::string CASM::DB::Remove< Supercell >::report_dir ( ) const

Definition at line 239 of file RemoveSupercell.cc.

◆ run()

int CASM::DB::Remove< Supercell >::run ( const PrimClex primclex,
const Completer::RmOption opt 
)
static

Definition at line 205 of file RemoveSupercell.cc.

Member Data Documentation

◆ m_primclex

const PrimClex& CASM::DB::Remove< Supercell >::m_primclex
private

Definition at line 45 of file RemoveSupercell.hh.

◆ m_report_dir

std::string CASM::DB::Remove< Supercell >::m_report_dir
private

Definition at line 46 of file RemoveSupercell.hh.


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