BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::CsvFile Class Reference

CSV reader for numeric data. More...

#include <cl_CsvFile.hpp>

Inheritance diagram for belfem::CsvFile:
[legend]
Collaboration diagram for belfem::CsvFile:
[legend]

Public Member Functions

 CsvFile (const string &aPath, const char aDelimiter=',')
const Matrix< real > & data () const
Matrix< real > & data ()
 ~CsvFile () override
Public Member Functions inherited from belfem::Ascii
 Ascii (const string &aPath, const enum FileMode &aMode)
virtual ~Ascii ()
bool save ()
void print (const std::string &aLine)
index_t length () const
 return the number of lines
stringline (const index_t aLineNumber)
const stringline (const index_t aLineNumber) const

Additional Inherited Members

Protected Attributes inherited from belfem::Ascii
string mPath
const FileMode mMode
Cell< stringmBuffer
bool mChangedSinceLastSave = false

Detailed Description

CSV reader for numeric data.

See also
BELFEM I/O Usage Guide

Constructor & Destructor Documentation

◆ CsvFile()

belfem::CsvFile::CsvFile ( const string & aPath,
const char aDelimiter = ',' )

◆ ~CsvFile()

belfem::CsvFile::~CsvFile ( )
override

Member Function Documentation

◆ data() [1/2]

Matrix< real > & belfem::CsvFile::data ( )
inline

◆ data() [2/2]

const Matrix< real > & belfem::CsvFile::data ( ) const
inline

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