44 #ifndef _CRT_SECURE_NO_WARNINGS 45 #define _CRT_SECURE_NO_WARNINGS 100 const char*
start = str;
102 if (sscanf(str,
"%lu:%ln",&sz,&rd) != 1)
111 if (sscanf(str,
"%li%ln",&auxInt,&rd) != 1)
131 written +=
sprintf(buf,
" %lu",static_cast<long unsigned>(
m_data[i]));
145 written =
sprintf(buf,
"%lu:",static_cast<long unsigned>(
m_count));
150 written +=
sprintf(buf,
" 0x%lX",static_cast<long unsigned>(
m_data[i]));
void addValue(int32_t value)
void BASE_IMPEXP memcpy(void *dest, size_t destSize, const void *src, size_t copyCount) MRPT_NO_THROWS
An OS and compiler independent version of "memcpy".
uint32_t m_count
The number of items currently in the list.
void setIncremental(const uint32_t start, const uint32_t end, const int32_t step)
int32_t readFromString(const char *str)
bool operator==(const IntList &lst)
int32_t serialize(char *buffer) const
uint32_t * m_data
The array containing the items.
void resize(uint32_t newSize)
Resizes the list to at least the given size.
int32_t writeToString(char *buffer) const
int32_t deserialize(const char *str)
uint32_t m_max
The current size of the data array.
int BASE_IMPEXP sprintf(char *buf, size_t bufSize, const char *format,...) MRPT_NO_THROWS MRPT_printf_format_check(3
An OS-independent version of sprintf (Notice the bufSize param, which may be ignored in some compiler...
The namespace of all Xsens software since 2006.
GLsizei const GLfloat * value
int32_t writeToStringHex(char *buffer) const
unsigned __int32 uint32_t