WPILibC++
trunk
Main Page
Related Pages
Classes
Files
File List
networktables2
type
NumberArray.h
1
/*
2
* NumberArray.h
3
*
4
* Created on: Nov 16, 2012
5
* Author: Mitchell Wills
6
*/
7
8
#ifndef NUMBERARRAY_H_
9
#define NUMBERARRAY_H_
10
11
#include "networktables2/type/ArrayData.h"
12
#include "networktables2/type/ArrayEntryType.h"
13
14
//TODO: NumberArray appears unused; replace with namespace?
15
class
NumberArray
:
public
ArrayData
{
16
17
public
:
18
static
const
TypeId NUMBER_ARRAY_RAW_ID;
19
static
ArrayEntryType
TYPE;
20
21
22
NumberArray
();
23
24
double
get
(
int
index);
25
void
set(
int
index,
double
value);
26
void
add(
double
value);
27
};
28
29
30
31
#endif
/* NUMBERARRAY_H_ */
ArrayEntryType
Definition:
ArrayEntryType.h:34
ArrayData
Definition:
ArrayData.h:20
NumberArray
Definition:
NumberArray.h:15
Generated on Sat Apr 26 2014 12:26:59 for WPILibC++ by
1.8.6