62 if(
this != &a_rhs ) {
65 m_value = a_rhs.
value( );
66 m_unit = a_rhs.
unit( );
95 a_os << a_physicalQuantity.
value( ) <<
" " << a_physicalQuantity.
unit( );
void toXMLList(GUPI::WriteInfo &a_writeInfo, std::string const &a_indent="") const
std::string const & unit() const
PhysicalQuantity & operator=(PhysicalQuantity const &a_rhs)
PhysicalQuantity(HAPI::Node const &a_node, SetupInfo &a_setupInfo)
std::string const & moniker() const
void addNodeStarterEnder(std::string const &indent, std::string const &a_moniker, std::string const &a_attributes="")
std::string addAttribute(std::string const &a_name, std::string const &a_value) const
std::ostream & operator<<(std::ostream &a_os, PhysicalQuantity const &a_physicalQuantity)
std::string doubleToShortestString(double a_value, int a_significantDigits=15, int a_favorEFormBy=0)