Last change
on this file since 4253 was
4122,
checked in by bensch, 20 years ago
|
orxonox/branches/heightMap: merged the Trunk back into branches/heightMap:
merged with Command
svn merge -r 3918:HEAD trunk branches/heightMap
conflicts resolved in favor of the Trunk
|
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.