Changeset 400 for trunk/include
- Timestamp:
- Apr 9, 2006, 10:03:43 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/core/RpUnits.h
r388 r400 299 299 300 300 // retrieve a list of compatible units. 301 std::list<std::string> getCompatible( ) const;301 std::list<std::string> getCompatible(double expMultiplier=1.0) const; 302 302 303 303 … … 343 343 static const RpUnits* find(std::string key); 344 344 345 // validate is very similar to find, but it works better 346 // for seeing complex units can be interpreted. 347 // it validates that if the a certain units string is 348 // provided as a unit type, then all of the base components 349 // of that unit are available for conversions. 350 // returns 0 on success (units are valid) 351 // returns !0 on failure (units not valid) 352 static int validate(const std::string& inUnits, 353 std::string& type, 354 std::list<std::string>* compatList=NULL); 355 345 356 // user calls define to add a RpUnits object or to add a relation rule 346 357 //
Note: See TracChangeset
for help on using the changeset viewer.