| Last change
                  on this file since 7169 was
                  5141,
                  checked in by bensch, 20 years ago | 
        
          | 
orxonox/trunk: moved helper-functions to helper-functions.cc
 | 
        | File size:
            525 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 | // FORWARD DECLARATION | 
|---|
| 10 |  | 
|---|
| 11 | /*********************** | 
|---|
| 12 | *** HELPER FUNCTIONS *** | 
|---|
| 13 | ***********************/ | 
|---|
| 14 | bool          isBool(const char* BOOL, bool defaultValue); | 
|---|
| 15 | int           isInt(const char* INT, int defaultValue); | 
|---|
| 16 | float         isFloat(const char* FLOAT, float defaultValue); | 
|---|
| 17 | const char*   isString(const char* STRING, const char* defaultValue); | 
|---|
| 18 |  | 
|---|
| 19 | #endif /* _HELPER_FUNCTIONS_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.