|
template<typename T > |
void | om::util::swap (T &a, T &b) |
| Swap the locations of two values of the templated type. More...
|
|
template<typename T , typename SizeType > |
void | om::util::swap (T *a, T *b, SizeType number) |
| Swap the contents of two arrays of the templated type. More...
|
|
template<typename T , typename SizeType > |
void | om::util::copy (T *destination, const T *source, SizeType number) |
| Copy the specified number of objects from the source pointer to the destination pointer. More...
|
|
template<typename SizeType > |
void | om::util::copy (unsigned char *destination, const unsigned char *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (char *destination, const char *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (unsigned short *destination, const unsigned short *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (short *destination, const short *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (unsigned int *destination, const unsigned int *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (int *destination, const int *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (unsigned long *destination, const unsigned long *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (long *destination, const long *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (unsigned long long *destination, const unsigned long long *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (long long *destination, const long long *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (float *destination, const float *source, SizeType number) |
|
template<typename SizeType > |
void | om::util::copy (double *destination, const double *source, SizeType number) |
|
template<typename T > |
void | om::util::copyPOD (T *destination, const T *source, Size number) |
| Copy the specified number of POD-type (plain-old-data) objects from the source pointer to the destination pointer. More...
|
|
template<typename T , typename U > |
void | om::util::convert (T *destination, const U *source, Size number) |
| Copy the specified number of objects from the source pointer to the destination pointer, converting object type. More...
|
|
template<typename T > |
void | om::util::set (T *destination, T value, Size number) |
| Set the specified number of objects at the destination pointer to the given value. More...
|
|
template<> |
void | om::util::set (unsigned char *destination, unsigned char value, Size number) |
|
template<typename T > |
void | om::util::zero (T *destination, Size number) |
| Set the specified number of objects at the destination pointer to zero. More...
|
|
template<> |
void | om::util::zero (unsigned char *destination, Size number) |
|
template<> |
void | om::util::zero (char *destination, Size number) |
|
template<> |
void | om::util::zero (unsigned short *destination, Size number) |
|
template<> |
void | om::util::zero (short *destination, Size number) |
|
template<> |
void | om::util::zero (unsigned int *destination, Size number) |
|
template<> |
void | om::util::zero (int *destination, Size number) |
|
template<> |
void | om::util::zero (unsigned long *destination, Size number) |
|
template<> |
void | om::util::zero (long *destination, Size number) |
|
template<> |
void | om::util::zero (unsigned long long *destination, Size number) |
|
template<> |
void | om::util::zero (long long *destination, Size number) |
|
template<> |
void | om::util::zero (float *destination, Size number) |
|
template<> |
void | om::util::zero (double *destination, Size number) |
|
template<typename T > |
void | om::util::zeroPOD (T *destination, Size number) |
| Set the specified number of POD-type (plain-old-data) objects from the source pointer to all zeros. More...
|
|