unitSets Class Reference

Struct containing two unitSets for use in converting both the argument and the value of a Function1. More...

Collaboration diagram for unitSets:

Public Member Functions

 unitSets (std::initializer_list< unitSet >)
 Construct from initialiser list. More...
 
 unitSets (Istream &is)
 Construct from stream. More...
 
void read (Istream &is)
 Update from stream. More...
 

Public Attributes

unitSet x
 Unit conversion for x-axis values. More...
 
unitSet value
 Unit conversion for result values. More...
 

Detailed Description

Struct containing two unitSets for use in converting both the argument and the value of a Function1.

Source files

Definition at line 51 of file Function1UnitSets.H.

Constructor & Destructor Documentation

◆ unitSets() [1/2]

unitSets ( std::initializer_list< unitSet l)

Construct from initialiser list.

Definition at line 30 of file Function1UnitSets.C.

References unitSet::reset(), unitSets::value, and unitSets::x.

Here is the call graph for this function:

◆ unitSets() [2/2]

unitSets ( Istream is)

Construct from stream.

Definition at line 41 of file Function1UnitSets.C.

Member Function Documentation

◆ read()

void read ( Istream is)

Update from stream.

Definition at line 52 of file Function1UnitSets.C.

References Istream::readBegin(), Istream::readEnd(), and x.

Referenced by Embedded< Coordinate, Value >::read().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ x

◆ value


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