Flow123d  release_3.0.0-1094-g626f1a1
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 43 of file unit_converter.hh.

Constructor & Destructor Documentation

Factor::Factor ( )
inline

Constructor.

Definition at line 45 of file unit_converter.hh.

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

Definition at line 46 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 50 of file unit_converter.hh.

int Factor::exponent_

exponent

Definition at line 49 of file unit_converter.hh.

std::string Factor::factor_

string represantation of unit or user defined constant

Definition at line 48 of file unit_converter.hh.


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