1 #ifndef CASM_enumerator_io_json_DoFSpace
2 #define CASM_enumerator_io_json_DoFSpace
19 struct jsonConstructor;
26 void from_json(DoFSpace &dofspace, jsonParser
const &json,
27 std::shared_ptr<Structure const>
const &
shared_prim);
30 DoFSpace
const &dofspace, jsonParser &json,
31 std::optional<std::string>
const &identifier = std::nullopt,
32 std::optional<ConfigEnumInput>
const &input_state = std::nullopt,
33 std::optional<VectorSpaceSymReport>
const &sym_report = std::nullopt);
36 DoFSpace
const &dofspace, jsonParser &json,
37 std::optional<std::string>
const &identifier,
38 std::optional<ConfigEnumInput>
const &input_state,
39 std::optional<SymRepTools_v2::VectorSpaceSymReport>
const &sym_report);
45 std::shared_ptr<Structure const>
const &
shared_prim);
52 std::shared_ptr<Structure const>
const &
shared_prim);
std::shared_ptr< Structure const > shared_prim
jsonParser & to_json(const ClexDescription &desc, jsonParser &json)
void from_json(ClexDescription &desc, const jsonParser &json)
INDEX_TYPE Index
For long integer indexing:
void parse(InputParser< ConfigEnumOptions > &parser, std::string method_name, PrimClex const &primclex, DataFormatterDictionary< Configuration > const &dict)
Data structure used for continuous DoF enumeration IO.
Eigen::VectorXd inc_vector
Eigen::VectorXd min_vector
Eigen::VectorXd max_vector
Helper struct for constructing objects that need additional data.
static ReturnType from_json(const jsonParser &json)
Default from_json is equivalent to.
Helper struct for constructing objects that need additional data.
static std::unique_ptr< ValueType > make_from_json(const jsonParser &json)
Default make_from_json is equivalent to.