Changeset 219 for osgVisual/trunk/include/util
- Timestamp:
- Feb 2, 2011, 9:59:08 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/include/util/visual_util.h
r218 r219 270 270 static std::string getAnimationPathFromXMLConfig(std::string configFilename); 271 271 272 /** 273 * \brief This function converts a string into a double. 274 * 275 * @param s : String to convert. 276 * @return : double representation of the string. 277 */ 272 278 static int strToDouble(std::string s); 279 280 /** 281 * \brief This function converts a string into an Integer. 282 * 283 * @param s : String to convert. 284 * @return : Integer representation of the string. 285 */ 273 286 static double strToInt(std::string s); 287 288 /** 289 * \brief This function converts a string into a bool. 290 * 291 * @param s : String to convert. 292 * @return : Bool representation of the string. Returns 'false' on error. 293 */ 274 294 static bool strToBool(std::string s); 275 295
Note: See TracChangeset
for help on using the changeset viewer.