Flow123d  release_2.2.0-914-gf1a3a4f
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 41 of file unit_converter.hh.

Constructor & Destructor Documentation

Factor::Factor ( )
inline

Constructor.

Definition at line 43 of file unit_converter.hh.

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

Definition at line 44 of file unit_converter.hh.

Member Data Documentation

bool Factor::basic_

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

Definition at line 48 of file unit_converter.hh.

int Factor::exponent_

exponent

Definition at line 47 of file unit_converter.hh.

std::string Factor::factor_

string represantation of unit or user defined constant

Definition at line 46 of file unit_converter.hh.


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