Last change
on this file since 3525 was
3525,
checked in by chris, 19 years ago
|
orxonox/branches/levelloader: removed excess class usage adn messed with makefile definitions
|
File size:
296 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 | #include "stdincl.h" |
---|
7 | |
---|
8 | class SubString |
---|
9 | { |
---|
10 | public: |
---|
11 | |
---|
12 | SubString( char* string); |
---|
13 | ~SubString(); |
---|
14 | |
---|
15 | int getN(); |
---|
16 | const char* getString( int i); |
---|
17 | |
---|
18 | private: |
---|
19 | char** strings; |
---|
20 | int n; |
---|
21 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.