Skip to content

Struct rayx::DatFile

ClassList > rayx > DatFile

More...

  • #include <DatFile.h>

Public Attributes

Type Name
std::vector< DatEntry > m_Lines
bool m_continuous
double m_end
uint32_t m_lineCount
double m_start
double m_step
std::string m_title
double m_weightSum

Public Functions

Type Name
std::string dump ()

Public Static Functions

Type Name
bool load (const std::filesystem::path & filename, DatFile * out)

Detailed Description

This struct represents the contents of a .DAT file.

Public Attributes Documentation

variable m_Lines

std::vector<DatEntry> rayx::DatFile::m_Lines;

variable m_continuous

bool rayx::DatFile::m_continuous;

variable m_end

double rayx::DatFile::m_end;

variable m_lineCount

uint32_t rayx::DatFile::m_lineCount;

variable m_start

double rayx::DatFile::m_start;

variable m_step

double rayx::DatFile::m_step;

variable m_title

std::string rayx::DatFile::m_title;

variable m_weightSum

double rayx::DatFile::m_weightSum;

Public Functions Documentation

function dump

std::string rayx::DatFile::dump () 

creates a valid .DAT file from this struct (may be used for testing)


Public Static Functions Documentation

function load

static bool rayx::DatFile::load (
    const std::filesystem::path & filename,
    DatFile * out
) 

loads the .DAT file filename and writes it's contents to out



The documentation for this class was generated from the following file Intern/rayx-core/src/Beamline/DatFile.h