Last change
on this file since 4190 was
4178,
checked in by bensch, 20 years ago
|
orxonox/branches/physics: merged the Trunk into the physics Branche again:
merged with command:
svn merge ../trunk physics -r 3953:HEAD
no important conflicts
|
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.