TBTK
Need a break? Support the development by playing Polarity Puzzles
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

◆ AmplitudeMode

Enum for indicating storage mode.

Member Function Documentation

◆ readModel()

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

Read Model from file.

◆ readParameterSet()

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

Read ParameterSet from file.

◆ writeModel()

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

Write Model to file.

◆ writeParameterSet()

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: