30 #ifndef Factory4MapList_H 31 #define Factory4MapList_H 44 static const int maxNameLength = 255;
52 _data =
new char*[_size];
53 for (
size_t i = 0; i < _size; i++)
55 _data[i] =
new char[maxNameLength];
66 _data =
new char*[_size];
67 for (
int i = 0; i < _size; ++i)
69 _data[i] =
new char[maxNameLength];
70 strncpy(_data[i], other._data[i], maxNameLength);
82 for (
size_t i = 0; i < _size; i++)
91 const unsigned int size()
const 113 _data =
new char*[_size];
114 for (
int i = 0; i < _size; ++i)
116 _data[i] =
new char[maxNameLength];
117 strncpy(_data[i], other._data[i], maxNameLength);
131 #endif // Factory4MapList_H Definition: Factory4MapList.h:41
const char * operator[](int index) const
Enables access via index.
Definition: Factory4MapList.h:97
Definition: AnalogInput.h:36