source:
orxonox.OLD/orxonox/trunk/src/lib/util/substring.h
@
4336
Last change on this file since 4336 was 4220, checked in by bensch, 20 years ago | |
---|---|
File size: 347 bytes |
Rev | Line | |
---|---|---|
[3941] | 1 | /*! |
[4220] | 2 | \file substring.h |
3 | \brief a small class to get the parts of a string separated by commas | |
4 | */ | |
[3941] | 5 | |
6 | #ifndef _SUBSTRING_H | |
7 | #define _SUBSTRING_H | |
[4220] | 8 | |
[3941] | 9 | class SubString |
10 | { | |
[4220] | 11 | public: |
[3941] | 12 | |
[4220] | 13 | SubString( const char* string); |
14 | ~SubString(); | |
[3941] | 15 | |
[4220] | 16 | int getCount(); |
17 | const char* getString( int i); | |
[3941] | 18 | |
[4220] | 19 | private: |
20 | char** strings; | |
21 | int n; | |
[3941] | 22 | }; |
23 | ||
24 | #endif /* _SUBSTRING_H */ |
Note: See TracBrowser
for help on using the repository browser.