Main MRPT website > C++ reference for MRPT 1.5.9
xsintlist.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef XSINTLIST_H
10 #define XSINTLIST_H
11 
12 #include "xsintarray.h"
13 
14 #define XsIntList XsIntArray
15 
16 #ifndef __cplusplus
17 // obsolete:
18 #define XSINTLIST_INITIALIZER XsIntArray_INITIALIZER
19 #define XsIntList_construct(thisPtr, sz, src) XsIntArray_construct(thisPtr, sz, src)
20 #define XsIntList_assign(thisPtr, sz, src) XsArray_assign(thisPtr, sz, src)
21 #define XsIntList_destruct(thisPtr) XsArray_destruct(thisPtr)
22 #define XsIntList_copy(thisPtr, copy) XsArray_copy(copy, thisPtr)
23 #define XsIntList_append(thisPtr, other) XsArray_append(thisPtr, other)
24 #define XsIntList_popFront(thisPtr, count) XsArray_erase(thisPtr, 0, count)
25 #define XsIntList_popBack(thisPtr, count) XsArray_erase(thisPtr, (XsSize)-1, count)
26 #define XsIntList_swap(a, b) XsArray_swap(a, b)
27 #define XsIntList_erase(thisPtr, index, count) XsArray_erase(thisPtr, index, count)
28 #define XsIntList_find(thisPtr, needle) XsArray_find(thisPtr, needle)
29 
30 #endif
31 #endif // file guard



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020