CASM  1.1.0
A Clusters Approach to Statistical Mechanics
DataFormatter.hh File Reference
#include <functional>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "casm/casm_io/FormatFlag.hh"
#include "casm/casm_io/dataformatter/DataFormatterDecl.hh"
#include "casm/casm_io/dataformatter/DataStream.hh"
#include "casm/casm_io/json/jsonParser.hh"
#include "casm/container/multivector.hh"
#include "casm/global/definitions.hh"
#include "casm/misc/CASM_math.hh"
#include "casm/misc/unique_cloneable_map.hh"

Go to the source code of this file.

Classes

class  CASM::DataFormatter< _DataObject >
 Extract data from objects of 'DataObject' class. More...
 
class  CASM::BaseDatumFormatter< _DataObject >
 Abstract base class from which all other DatumFormatter<DataObject> classes inherit. More...
 
class  CASM::FormattedPrintable
 Abstract base class to enable generic formatting. More...
 
class  CASM::DataFormatter< _DataObject >::FormattedIteratorPair< IteratorType >
 Implements generic formatting member functions for ranges of data objects. More...
 
class  CASM::DataFormatter< _DataObject >::FormattedObject
 Implements generic formatting member functions for individual data objects. More...
 
struct  CASM::DictionaryConverter< DataObject, DatumFormatterType >
 
class  CASM::DataFormatterDictionary< _DataObject, _DatumFormatterType >
 Parsing dictionary for constructing a DataFormatter<DataObject> object. More...
 

Namespaces

 CASM
 Main CASM namespace.
 

Enumerations

enum class  CASM::DatumFormatterClass { CASM::Property , CASM::Operator }
 

Functions

std::pair< std::vector< long >, std::vector< long > > CASM::index_expression_to_bounds (const std::string &_expr)
 
void CASM::split_formatter_expression (const std::string &input_expr, std::vector< std::string > &tag_names, std::vector< std::string > &sub_exprs)
 
template<typename DataObject >
DataFormatterDictionary< DataObject > CASM::make_attribute_dictionary ()
 Dictionary of all AttributeFormatter (i.e. BaseValueFormatter<V, DataObject>) More...
 
template<typename DataObject >
DataFormatterDictionary< DataObject > CASM::make_operator_dictionary ()
 Dictionary of all DatumFormatterOperator. More...
 
template<typename DataObject >
DataFormatterDictionary< DataObject > CASM::make_dictionary ()
 Template to can be specialized for constructing dictionaries for particular DataObject. More...
 
jsonParser & CASM::to_json (const FormattedPrintable &_obj, jsonParser &json)
 
std::ostream & CASM::operator<< (std::ostream &_stream, const FormattedPrintable &_formatted)
 
DataStream & CASM::operator<< (DataStream &_stream, const FormattedPrintable &_formatted)