Home
Roadside
Carputer
geoHist
software
FRC
Blog
Now you can download a copy of these docs so you can use them offline!
Download now
Main Page
Related Pages
Classes
Files
File List
networktables2
type
ArrayData.h
1
/*
2
* ArrayData.h
3
*
4
* Created on: Nov 14, 2012
5
* Author: Mitchell Wills
6
*/
7
8
#ifndef ARRAYDATA_H_
9
#define ARRAYDATA_H_
10
11
class
ArrayData
;
12
13
#include "networktables2/type/ArrayEntryType.h"
14
#include "networktables2/type/ComplexData.h"
15
#include "networktables2/NetworkTableEntry.h"
16
20
class
ArrayData
:
public
ComplexData
{
21
private
:
22
ArrayEntryType
& m_data_type;
23
unsigned
int
m_size;
24
EntryValue
* data;
25
public
:
32
ArrayData
(
ArrayEntryType
& type);
33
virtual
~
ArrayData
();
34
protected
:
40
EntryValue
_get
(
unsigned
int
index);
41
51
void
_set
(
unsigned
int
index,
EntryValue
value);
52
59
void
_add
(
EntryValue
value);
60
61
public
:
67
void
remove
(
unsigned
int
index);
68
74
void
setSize
(
unsigned
int
size
);
75
81
unsigned
int
size
();
82
83
friend
class
ArrayEntryType
;
84
};
85
86
87
88
#endif
/* ARRAYDATA_H_ */
ArrayEntryType
Definition:
ArrayEntryType.h:34
ArrayData::_get
EntryValue _get(unsigned int index)
Definition:
ArrayData.cpp:25
ArrayData::setSize
void setSize(unsigned int size)
Definition:
ArrayData.cpp:50
ArrayData::_set
void _set(unsigned int index, EntryValue value)
Definition:
ArrayData.cpp:29
ArrayData
Definition:
ArrayData.h:20
ArrayData::ArrayData
ArrayData(ArrayEntryType &type)
Definition:
ArrayData.cpp:17
ArrayData::_add
void _add(EntryValue value)
Definition:
ArrayData.cpp:34
ArrayData::size
unsigned int size()
Definition:
ArrayData.cpp:73
ComplexData
Definition:
ComplexData.h:21
EntryValue
Definition:
ITable.h:13
Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by
1.8.6
© 2006-2009 Dustin Spicuzza. All rights reserved.
Powered by Onnac
I do not condone or encourage graffiti. Please paint responsibly.