WPILibC++  trunk
StringArray.h
1 /*
2  * StringArray.h
3  *
4  * Created on: Nov 16, 2012
5  * Author: Mitchell Wills
6  */
7 
8 #ifndef STRINGARRAY_H_
9 #define STRINGARRAY_H_
10 
11 
12 #include "networktables2/type/ArrayData.h"
13 #include "networktables2/type/ArrayEntryType.h"
14 
15 //TODO: StringArray appears unused; replace with namespace?
16 class StringArray : public ArrayData{
17 
18 public:
19  static const TypeId STRING_ARRAY_RAW_ID;
20  static ArrayEntryType TYPE;
21 
22 
23  StringArray();
24 
25  std::string get(int index);
26  void set(int index, std::string value);
27  void add(std::string value);
28 };
29 
30 #endif /* STRINGARRAY_H_ */