CASM  1.1.0
A Clusters Approach to Statistical Mechanics
DataFormatterDecl.hh
Go to the documentation of this file.
1 #ifndef CASM_DataFormatterDecl
2 #define CASM_DataFormatterDecl
3 
5 #include "casm/global/eigen.hh"
6 
7 namespace CASM {
8 
9 class DataStream;
10 
11 // --- DataFormatterTools ---
12 
13 template <typename DataObject>
14 class BaseDatumFormatter;
15 
16 template <typename _DataObject,
17  typename _DatumFormatterType = BaseDatumFormatter<_DataObject>>
18 class DataFormatterDictionary;
19 
20 template <typename _DataObject>
21 class DataFormatter;
22 
23 class FormattedPrintable;
24 
25 template <typename DataObject, typename DatumFormatterType>
26 struct DictionaryConverter;
27 
28 template <typename T>
29 bool always_true(const T &) {
30  return true;
31 };
32 
33 // --- DataFormatterTools ---
34 
35 template <typename ValueType, typename ArgType, typename DataObject>
36 class DataFormatterOperator;
37 
38 template <typename DataObject>
39 class DatumFormatterAlias;
40 
41 template <typename ValueType, typename DataObject>
42 class ConstantValueFormatter;
43 
44 template <typename ValueType, typename DataObject>
45 class BaseValueFormatter;
46 
47 template <typename ValueType, typename DataObject>
48 class GenericDatumFormatter;
49 
50 template <typename Container, typename DataObject>
51 class Base1DDatumFormatter;
52 
53 template <typename Container, typename DataObject>
54 class Generic1DDatumFormatter;
55 
56 template <typename Container, typename DataObject>
57 class Base2DDatumFormatter;
58 
59 template <typename Container, typename DataObject>
60 class Generic2DDatumFormatter;
61 
65 template <typename DataObject>
66 DataFormatterDictionary<DataObject> make_attribute_dictionary();
67 
72 template <typename DataObject>
74 
80 template <typename DataObject>
83 
89 template <typename DataObject>
91 
96 template <typename DataObject>
98 
104 template <typename DataObject>
107 
113 template <typename DataObject>
115 
120 template <typename DataObject>
122 
128 template <typename DataObject>
131 
137 template <typename DataObject>
139 
144 template <typename DataObject>
146 
152 template <typename DataObject>
155 
161 template <typename DataObject>
163 
168 template <typename DataObject>
170 
176 template <typename DataObject>
179 
185 template <typename DataObject>
187 
192 template <typename DataObject>
194 
200 template <typename DataObject>
203 
209 template <typename DataObject>
211 
216 template <typename DataObject>
218 
224 template <typename DataObject>
227 
233 template <typename DataObject>
235 
236 class jsonParser;
242 template <typename DataObject>
245 
246 } // namespace CASM
247 
248 #endif
Abstract base class for creating 1D DatumFormatter.
A DatumFormatter that returns a value of specified 2d container.
Base class for creating scalar DatumFormatter.
Parsing dictionary for constructing a DataFormatter<DataObject> object.
VectorXiAttributeDictionary< DataObject > make_vectorxi_dictionary()
Template to be specialized for constructing dictionaries for particular DataObject.
BooleanAttributeDictionary< DataObject > make_boolean_dictionary()
Template to be specialized for constructing dictionaries for particular DataObject.
IntegerAttributeDictionary< DataObject > make_integer_dictionary()
Template to be specialized for constructing dictionaries for particular DataObject.
ScalarAttributeDictionary< DataObject > make_scalar_dictionary()
Template to be specialized for constructing dictionaries for particular DataObject.
MatrixXdAttributeDictionary< DataObject > make_matrixxd_dictionary()
Template to be specialized for constructing dictionaries for particular DataObject.
DataFormatterDictionary< DataObject, BaseValueFormatter< jsonParser, DataObject > > make_json_dictionary()
Template to be specialized for constructing dictionaries for particular DataObject.
VectorXdAttributeDictionary< DataObject > make_vectorxd_dictionary()
Template to be specialized for constructing dictionaries for particular DataObject.
StringAttributeDictionary< DataObject > make_string_dictionary()
Template to be specialized for constructing dictionaries for particular DataObject.
Main CASM namespace.
Definition: APICommand.hh:8
bool always_true(const T &)
DataFormatterDictionary< DataObject > make_attribute_dictionary()
Dictionary of all AttributeFormatter (i.e. BaseValueFormatter<V, DataObject>)