tfel
Loading...
Searching...
No Matches
tfel::check::Column Struct Reference

Public Member Functions

 Column (int)
 Column (std::string)
 Column (Column &&) noexcept
 Column (const Column &)
Column & operator= (Column &&) noexcept
Column & operator= (const Column &)
std::string getName () const
 returns the name of the column used in file. If name hasn't been given, returns number instead
const std::vector< double > & getValues ()
 returns the column values
void clearValues ()
 clears the values vector
void resizeValues (std::vector< double >::size_type size)
 resize the values vector
void setValue (unsigned pos, double value)
 set the value at position i in the values vector
void setFilename (std::string)
 returns the filename
const std::string & getFilename () const
const std::vector< std::size_t > & getLineNumbers () const
std::shared_ptr< const tfel::utilities::TextData > getData () const
virtual ~Column ()
 destructor

Member Function Documentation

◆ getData()

std::shared_ptr< const tfel::utilities::TextData > tfel::check::Column::getData ( ) const
nodiscard
Returns
the TextData used to create column

◆ getFilename()

const std::string & tfel::check::Column::getFilename ( ) const
nodiscard
Returns
the filename

◆ getLineNumbers()

const std::vector< std::size_t > & tfel::check::Column::getLineNumbers ( ) const
nodiscard
Returns
the numbers of the lines of the file from which the values were read. This vector is empty if the values were not read in the file, for instance after an interpolation.

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