|
Last change
on this file since 3753 was
3530,
checked in by chris, 21 years ago
|
|
orxonox/branches/levelloader: Got the system to compile, the basic backbone now runs. What remains to be done is implementing all necessary functions to load all vital classes into a world
|
|
File size:
373 bytes
|
| Line | |
|---|
| 1 | /*! |
|---|
| 2 | \file substring.h |
|---|
| 3 | \brief a small class to get the parts of a string separated by commas |
|---|
| 4 | */ |
|---|
| 5 | |
|---|
| 6 | #ifndef _SUBSTRING_H |
|---|
| 7 | #define _SUBSTRING_H |
|---|
| 8 | |
|---|
| 9 | #include "stdincl.h" |
|---|
| 10 | |
|---|
| 11 | class SubString |
|---|
| 12 | { |
|---|
| 13 | public: |
|---|
| 14 | |
|---|
| 15 | SubString( const char* string); |
|---|
| 16 | ~SubString(); |
|---|
| 17 | |
|---|
| 18 | int getN(); |
|---|
| 19 | const char* getString( int i); |
|---|
| 20 | |
|---|
| 21 | private: |
|---|
| 22 | char** strings; |
|---|
| 23 | int n; |
|---|
| 24 | }; |
|---|
| 25 | |
|---|
| 26 | #endif /* _SUBSTRING_H */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.