CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
DataFormatter.hh File Reference
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <functional>
#include "casm/external/boost.hh"
#include "casm/CASM_global_definitions.hh"
#include "casm/container/multivector.hh"
#include "casm/misc/CASM_math.hh"
#include "casm/misc/unique_cloneable_map.hh"
#include "casm/casm_io/jsonParser.hh"
#include "casm/casm_io/DataStream.hh"
#include "casm/casm_io/FormatFlag.hh"
#include "casm/casm_io/DataFormatter_impl.hh"

Go to the source code of this file.

Classes

class  CASM::BaseDatumFormatter< _DataObject >
 Abstract base class from which all other DatumFormatter<DataObject> classes inherit. More...
 
class  CASM::DataFormatterDictionary< _DataObject, _DatumFormatterType >
 Parsing dictionary for constructing a DataFormatter<DataObject> object. More...
 
singleton  CASM::DataFormatter< _DataObject >
 Extract data from objects of 'DataObject' class. More...
 
class  CASM::DataFormatter< _DataObject >::FormattedIteratorPair< IteratorType >
 Implements generic formatting member functions for ranges of data objects. 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 >
 
struct  CASM::DictionaryConverter< DataObject, BaseDatumFormatter< DataObject > >
 
class  CASM::DataFormatterDictionary< _DataObject, _DatumFormatterType >
 Parsing dictionary for constructing a DataFormatter<DataObject> object. More...
 

Namespaces

 CASM
 Main CASM namespace.
 

Functions

void CASM::split_formatter_expression (const std::string &input_expr, std::vector< std::string > &tag_names, std::vector< std::string > &sub_exprs)
 
template<typename T >
bool CASM::always_true (const T &)
 
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)