openstudio::Scale Struct Reference

`#include <Scale.hpp>`

## Public Attributes | |

std::string | abbr |

abbreviation, such as "k", as in kN = kilo-Newtons. More... | |

int | exponent |

base-10 exponent. For instance, 3 for kilo = 10^3. More... | |

std::string | name |

full name, i.e. kilo, mega, etc. More... | |

double | value |

full value of the scale. For instance, 1000 for kilo. More... | |

Structure for holding scale prefixes such as kilo and centi.

Logical operators and some other related typedefs and functions are declared in Scale.hpp. Scale arithmetic is declared in ScaleFactory.hpp, since openstudio::ScaleFactory is the object that makes such operations possible by keeping track of what scales are available.

std::string openstudio::Scale::abbr |

abbreviation, such as "k", as in kN = kilo-Newtons.

int openstudio::Scale::exponent |

base-10 exponent. For instance, 3 for kilo = 10^3.

std::string openstudio::Scale::name |

full name, i.e. kilo, mega, etc.

double openstudio::Scale::value |

full value of the scale. For instance, 1000 for kilo.

Generated on Mon Sep 28 2015 08:41:20 for OpenStudioCore:utilities by Doxygen 1.8.8