Flow123d  JS_before_hm-2213-g29638ef6f
Public Member Functions | Public Attributes | List of all members
Factor Struct Reference

Store structure given by parser. More...

#include <unit_converter.hh>

Collaboration diagram for Factor:
Collaboration graph
[legend]

Public Member Functions

 Factor ()
 Constructor. More...
 
 Factor (std::string factor, int exponent, bool basic=true)
 

Public Attributes

std::string factor_
 string represantation of unit or user defined constant More...
 
int exponent_
 exponent More...
 
bool basic_
 unit is basic (strict defined in application) / derived (defined by user as formula) More...
 

Detailed Description

Store structure given by parser.

Definition at line 49 of file unit_converter.hh.

Constructor & Destructor Documentation

◆ Factor() [1/2]

Factor::Factor ( )
inline

Constructor.

Definition at line 51 of file unit_converter.hh.

◆ Factor() [2/2]

Factor::Factor ( std::string  factor,
int  exponent,
bool  basic = true 
)
inline

Definition at line 52 of file unit_converter.hh.

Member Data Documentation

◆ basic_

bool Factor::basic_

unit is basic (strict defined in application) / derived (defined by user as formula)

Definition at line 56 of file unit_converter.hh.

◆ exponent_

int Factor::exponent_

exponent

Definition at line 55 of file unit_converter.hh.

◆ factor_

std::string Factor::factor_

string represantation of unit or user defined constant

Definition at line 54 of file unit_converter.hh.


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