Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/std/src/lib/util/helper_functions.h @ 7203

Last change on this file since 7203 was 7203, checked in by bensch, 18 years ago

orxonox/trunk: compiles again, BUT well…. i do not expect it to run anymore

File size: 697 bytes
Line 
1/*!
2 * @file helper_functions.h
3 * @brief Definition of some minor helper-functions
4*/
5
6#ifndef _HELPER_FUNCTIONS_H
7#define _HELPER_FUNCTIONS_H
8
9#include <string>
10
11// FORWARD DECLARATION
12
13/***********************
14*** HELPER FUNCTIONS ***
15***********************/
16bool          isBool(const char* BOOL, bool defaultValue);
17int           isInt(const char* INT, int defaultValue);
18float         isFloat(const char* FLOAT, float defaultValue);
19const char*   isCString(const char* STRING, const char* defaultValue);
20std::string   isString(const char* STRING, const std::string& defaultValue);
21
22
23int           nocase_cmp(const std::string& s1, const std::string& s2);
24
25
26#endif /* _HELPER_FUNCTIONS_H */
Note: See TracBrowser for help on using the repository browser.