Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/util/substring.h @ 4381

Last change on this file since 4381 was 4220, checked in by bensch, 20 years ago

orxonox/trunk: TrackManager prepared for loading. added new overloaded functions that read in join and fork from one single string
thanks to chris, this was pretty easy… the hard part was finding the substring class :)

File size: 347 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
9class SubString
10{
11 public:
12       
13  SubString( const char* string);
14  ~SubString();
15               
16  int getCount();
17  const char* getString( int i);
18               
19 private:
20  char** strings;
21  int n;
22};
23
24#endif /* _SUBSTRING_H */
Note: See TracBrowser for help on using the repository browser.