TBTK
TBTK::FileParser Class Reference

#include <FileParser.h>

Public Types

enum  AmplitudeMode { ALL, ALL_EXCEPT_HC, UNIT_CELL, UNIT_CELL_EXCEPT_HC }
 

Static Public Member Functions

static void writeModel (Model *model, std::string fileName, AmplitudeMode amplitudeMode, std::string description)
 
static ModelreadModel (std::string fileName)
 
static void writeParameterSet (const ParameterSet &parameterSet, std::string fileName)
 
static ParameterSet readParameterSet (std::string fileName)
 

Detailed Description

Reads and write

Member Enumeration Documentation

Enum for indicating storage mode.

Member Function Documentation

static Model* TBTK::FileParser::readModel ( std::string  fileName)
static

Read Model from file.

static ParameterSet TBTK::FileParser::readParameterSet ( std::string  fileName)
static

Read ParameterSet from file.

static void TBTK::FileParser::writeModel ( Model model,
std::string  fileName,
AmplitudeMode  amplitudeMode,
std::string  description 
)
static

Write Model to file.

static void TBTK::FileParser::writeParameterSet ( const ParameterSet parameterSet,
std::string  fileName 
)
static

Write ParameterSet to file.


The documentation for this class was generated from the following file: