CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
TestConfigname.cc
Go to the documentation of this file.
1 #include "TestConfigname.hh"
3 
4 extern "C" {
6  return CASM::ConfigIO::test_configname().clone().release();
7  }
8 }
9 
10 namespace CASM {
11 
12  namespace ConfigIO {
13 
15  auto lambda = [](const Configuration & config)->std::string {
16  return config.name();
17  };
19  "test_configname",
20  "Configuration name, in the form 'SCEL#_#_#_#_#_#_#/#'",
21  lambda);
22  }
23 
24  }
25 }
Main CASM namespace.
Definition: complete.cpp:8
CASM::BaseDatumFormatter< CASM::Configuration > * make_TestConfigname_formatter()
Abstract base class from which all other DatumFormatter classes inherit.
GenericConfigFormatter< std::string > test_configname()
A DatumFormatter that returns a value of specified type, via functions that may be specified at runti...
A Configuration represents the values of all degrees of freedom in a Supercell.