Changeset 4482 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Jun 2, 2005, 5:16:08 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/util/ini_parser.h
r4028 r4482 13 13 #include <stdlib.h> 14 14 15 #define PARSELINELENGHT 51215 #define PARSELINELENGHT 512 //!< how many chars to read at once 16 16 17 17 //! ini-file parser … … 20 20 */ 21 21 class IniParser { 22 private:23 FILE* stream;24 bool bInSection;25 char internbuf[PARSELINELENGHT];26 27 22 public: 28 23 IniParser (const char* filename); … … 33 28 int getSection( char* section); 34 29 int nextVar( char* name, char* value); 30 31 private: 32 FILE* stream; //!< A FileStream to be loaded 33 bool bInSection; //!< if the requested parameter is in the section. 34 char internbuf[PARSELINELENGHT]; //!< a buffer 35 36 35 37 }; 36 38 -
orxonox/trunk/src/lib/util/substring.h
r4220 r4482 7 7 #define _SUBSTRING_H 8 8 9 //! A class that can load one string and split it in multipe ones 9 10 class SubString 10 11 { 11 12 public: 12 13 SubString( const char* string); 13 SubString(const char* string); 14 14 ~SubString(); 15 15 … … 18 18 19 19 private: 20 char** strings;21 int n;20 char** strings; //!< strings produced from a single string splitted in multiple strings 21 int n; //!< how many splitted parts 22 22 }; 23 23
Note: See TracChangeset
for help on using the changeset viewer.