CASM  1.1.0
A Clusters Approach to Statistical Mechanics
APICommand.hh File Reference
#include <boost/program_options.hpp>
#include "casm/app/casm_functions.hh"

Go to the source code of this file.

Classes

class  CASM::APICommandBase
 
class  CASM::APICommand< _OptionType >
 

Namespaces

 CASM
 Main CASM namespace.
 

Functions

template<typename CommandType >
std::unique_ptr< CommandType > CASM::make_api_command (CommandArgs const &args, typename CommandType::OptionType &opt)
 Parse command line options and make API command. Throws for parsing errors. More...
 
template<typename CommandType >
std::unique_ptr< CommandType > CASM::make_api_command (std::string cli_str, PrimClex &primclex, typename CommandType::OptionType &opt)
 Parse command line options and make API command. Throws for parsing errors. More...
 
template<typename CommandType >
int CASM::run_api_command (const CommandArgs &args)
 Standardizes how 'casm X' api commands are executed and implemented. More...