Copy()

Contents
[ ]

Array::Copy(const ArrayPtr<SrcType>&, const ArrayPtr<DstType>&, int64_t) method

Copies the specified number of elements from the source array to the destination array.

template<typename SrcType,typename DstType> static void System::Array<T>::Copy(const ArrayPtr<SrcType> &srcArray, const ArrayPtr<DstType> &dstArray, int64_t count)

Arguments

ParameterTypeDescription
srcArrayconst ArrayPtr<SrcType>&Source array
dstArrayconst ArrayPtr<DstType>&Destination array
countint64_tThe number of elements to copy

Array::Copy(System::Details::ArrayView<SrcType>, const ArrayPtr<DstType>&, int64_t) method

Copies the specified number of elements from the source array view to the destination array.

template<typename SrcType,typename DstType> static void System::Array<T>::Copy(System::Details::ArrayView<SrcType> srcArray, const ArrayPtr<DstType> &dstArray, int64_t count)

Arguments

ParameterTypeDescription
srcArraySystem::Details::ArrayView<SrcType>Source array view
dstArrayconst ArrayPtr<DstType>&Destination array
countint64_tThe number of elements to copy

Array::Copy(const ArrayPtr<SrcType>&, System::Details::ArrayView<DstType>, int64_t) method

Copies the specified number of elements from the source array to the destination array view.

template<typename SrcType,typename DstType> static void System::Array<T>::Copy(const ArrayPtr<SrcType> &srcArray, System::Details::ArrayView<DstType> dstArray, int64_t count)

Arguments

ParameterTypeDescription
srcArrayconst ArrayPtr<SrcType>&Source array
dstArraySystem::Details::ArrayView<DstType>Destination array view
countint64_tThe number of elements to copy

Array::Copy(System::Details::ArrayView<SrcType>, System::Details::ArrayView<DstType>, int64_t) method

Copies the specified number of elements from the source array view to the destination array view.

template<typename SrcType,typename DstType> static void System::Array<T>::Copy(System::Details::ArrayView<SrcType> srcArray, System::Details::ArrayView<DstType> dstArray, int64_t count)

Arguments

ParameterTypeDescription
srcArraySystem::Details::ArrayView<SrcType>Source array view
dstArraySystem::Details::ArrayView<DstType>Destination array view
countint64_tThe number of elements to copy

Array::Copy(System::Details::StackArray<SrcType, N>&, const ArrayPtr<DstType>&, int64_t) method

Copies the specified number of elements from the source array on stack to the destination array.

template<typename SrcType,std::size_t,typename DstType> static void System::Array<T>::Copy(System::Details::StackArray<SrcType, N> &srcArray, const ArrayPtr<DstType> &dstArray, int64_t count)

Arguments

ParameterTypeDescription
srcArraySystem::Details::StackArray<SrcType, N>&Source array on stack
dstArrayconst ArrayPtr<DstType>&Destination array
countint64_tThe number of elements to copy

Array::Copy(const ArrayPtr<SrcType>&, System::Details::StackArray<DstType, N>&, int64_t) method

Copies the specified number of elements from the source array to the destination array on stack.

template<typename SrcType,typename DstType,std::size_t> static void System::Array<T>::Copy(const ArrayPtr<SrcType> &srcArray, System::Details::StackArray<DstType, N> &dstArray, int64_t count)

Arguments

ParameterTypeDescription
srcArrayconst ArrayPtr<SrcType>&Source array
dstArraySystem::Details::StackArray<DstType, N>&Destination array on stack
countint64_tThe number of elements to copy

Array::Copy(System::Details::StackArray<SrcType, NS>&, System::Details::StackArray<DstType, ND>&, int64_t) method

Copies the specified number of elements from the source array on stack to the destination array on stack.

template<typename SrcType,std::size_t,typename DstType,std::size_t> static void System::Array<T>::Copy(System::Details::StackArray<SrcType, NS> &srcArray, System::Details::StackArray<DstType, ND> &dstArray, int64_t count)

Arguments

ParameterTypeDescription
srcArraySystem::Details::StackArray<SrcType, NS>&Source array on stack
dstArraySystem::Details::StackArray<DstType, ND>&Destination array on stack
countint64_tThe number of elements to copy

Array::Copy(const ArrayPtr<SrcType>&, int64_t, const ArrayPtr<DstType>&, int64_t, int64_t) method

Copies a specified number of elements from the source array starting at the specified index to the specified position in destination array.

template<typename SrcType,typename DstType> static void System::Array<T>::Copy(const ArrayPtr<SrcType> &srcArray, int64_t srcIndex, const ArrayPtr<DstType> &dstArray, int64_t dstIndex, int64_t count)

Template parameters

ParameterDescription
SrcTypeType of elements in source array
DstTypeType of elements in destination array

Arguments

ParameterTypeDescription
srcArrayconst ArrayPtr<SrcType>&Source array
srcIndexint64_tIndex in the source array designating the beginning of the range of items to copy
dstArrayconst ArrayPtr<DstType>&Destination array
dstIndexint64_tIndex in destination array to start inserting copied items at
countint64_tThe number of elements to copy

Array::Copy(System::Details::ArrayView<SrcType>, int64_t, const ArrayPtr<DstType>&, int64_t, int64_t) method

Copies a specified number of elements from the source array view starting at the specified index to the specified position in destination array.

template<typename SrcType,typename DstType> static void System::Array<T>::Copy(System::Details::ArrayView<SrcType> srcArray, int64_t srcIndex, const ArrayPtr<DstType> &dstArray, int64_t dstIndex, int64_t count)

Template parameters

ParameterDescription
SrcTypeType of elements in source array view
DstTypeType of elements in destination array

Arguments

ParameterTypeDescription
srcArraySystem::Details::ArrayView<SrcType>Source array view
srcIndexint64_tIndex in the source array view designating the beginning of the range of items to copy
dstArrayconst ArrayPtr<DstType>&Destination array
dstIndexint64_tIndex in destination array to start inserting copied items at
countint64_tThe number of elements to copy

Array::Copy(const ArrayPtr<SrcType>&, int64_t, System::Details::ArrayView<DstType>, int64_t, int64_t) method

Copies a specified number of elements from the source array starting at the specified index to the specified position in destination array view.

template<typename SrcType,typename DstType> static void System::Array<T>::Copy(const ArrayPtr<SrcType> &srcArray, int64_t srcIndex, System::Details::ArrayView<DstType> dstArray, int64_t dstIndex, int64_t count)

Template parameters

ParameterDescription
SrcTypeType of elements in source array
DstTypeType of elements in destination array view

Arguments

ParameterTypeDescription
srcArrayconst ArrayPtr<SrcType>&Source array
srcIndexint64_tIndex in the source array designating the beginning of the range of items to copy
dstArraySystem::Details::ArrayView<DstType>Destination array view
dstIndexint64_tIndex in destination array view to start inserting copied items at
countint64_tThe number of elements to copy

Array::Copy(System::Details::ArrayView<SrcType>, int64_t, System::Details::ArrayView<DstType>, int64_t, int64_t) method

Copies a specified number of elements from the source array view starting at the specified index to the specified position in destination array view.

template<typename SrcType,typename DstType> static void System::Array<T>::Copy(System::Details::ArrayView<SrcType> srcArray, int64_t srcIndex, System::Details::ArrayView<DstType> dstArray, int64_t dstIndex, int64_t count)

Template parameters

ParameterDescription
SrcTypeType of elements in source array view
DstTypeType of elements in destination array view

Arguments

ParameterTypeDescription
srcArraySystem::Details::ArrayView<SrcType>Source array view
srcIndexint64_tIndex in the source array view designating the beginning of the range of items to copy
dstArraySystem::Details::ArrayView<DstType>Destination array view
dstIndexint64_tIndex in destination array view to start inserting copied items at
countint64_tThe number of elements to copy

Array::Copy(System::Details::StackArray<SrcType, N>&, int64_t, const ArrayPtr<DstType>&, int64_t, int64_t) method

Copies a specified number of elements from the source array on stack starting at the specified index to the specified position in destination array.

template<typename SrcType,std::size_t,typename DstType> static void System::Array<T>::Copy(System::Details::StackArray<SrcType, N> &srcArray, int64_t srcIndex, const ArrayPtr<DstType> &dstArray, int64_t dstIndex, int64_t count)

Template parameters

ParameterDescription
SrcTypeType of elements in source array on stack
DstTypeType of elements in destination array

Arguments

ParameterTypeDescription
srcArraySystem::Details::StackArray<SrcType, N>&Source array on stack
srcIndexint64_tIndex in the source array on stack designating the beginning of the range of items to copy
dstArrayconst ArrayPtr<DstType>&Destination array
dstIndexint64_tIndex in destination array to start inserting copied items at
countint64_tThe number of elements to copy

Array::Copy(const ArrayPtr<SrcType>&, int64_t, System::Details::StackArray<DstType, N>&, int64_t, int64_t) method

Copies a specified number of elements from the source array starting at the specified index to the specified position in destination array on stack.

template<typename SrcType,typename DstType,std::size_t> static void System::Array<T>::Copy(const ArrayPtr<SrcType> &srcArray, int64_t srcIndex, System::Details::StackArray<DstType, N> &dstArray, int64_t dstIndex, int64_t count)

Template parameters

ParameterDescription
SrcTypeType of elements in source array
DstTypeType of elements in destination array on stack

Arguments

ParameterTypeDescription
srcArrayconst ArrayPtr<SrcType>&Source array
srcIndexint64_tIndex in the source array designating the beginning of the range of items to copy
dstArraySystem::Details::StackArray<DstType, N>&Destination array on stack
dstIndexint64_tIndex in destination array on stack to start inserting copied items at
countint64_tThe number of elements to copy

Array::Copy(System::Details::StackArray<SrcType, NS>&, int64_t, System::Details::StackArray<DstType, ND>&, int64_t, int64_t) method

Copies a specified number of elements from the source array on stack starting at the specified index to the specified position in destination array on stack.

template<typename SrcType,std::size_t,typename DstType,std::size_t> static void System::Array<T>::Copy(System::Details::StackArray<SrcType, NS> &srcArray, int64_t srcIndex, System::Details::StackArray<DstType, ND> &dstArray, int64_t dstIndex, int64_t count)

Template parameters

ParameterDescription
SrcTypeType of elements in source array on stack
DstTypeType of elements in destination array on stack

Arguments

ParameterTypeDescription
srcArraySystem::Details::StackArray<SrcType, NS>&Source array on stack
srcIndexint64_tIndex in the source array on stack designating the beginning of the range of items to copy
dstArraySystem::Details::StackArray<DstType, ND>&Destination array on stack
dstIndexint64_tIndex in destination array on stack to start inserting copied items at
countint64_tThe number of elements to copy

Array::Copy(System::Details::ArrayView<SrcType>&, int64_t, System::Details::StackArray<DstType, ND>&, int64_t, int64_t) method

Copies a specified number of elements from the source array view starting at the specified index to the specified position in destination array on stack.

template<typename SrcType,typename DstType,std::size_t> static void System::Array<T>::Copy(System::Details::ArrayView<SrcType> &srcArray, int64_t srcIndex, System::Details::StackArray<DstType, ND> &dstArray, int64_t dstIndex, int64_t count)

Template parameters

ParameterDescription
SrcTypeType of elements in source array on stack
DstTypeType of elements in destination array on stack

Arguments

ParameterTypeDescription
srcArraySystem::Details::ArrayView<SrcType>&Source array view
srcIndexint64_tIndex in the source array view designating the beginning of the range of items to copy
dstArraySystem::Details::StackArray<DstType, ND>&Destination array on stack
dstIndexint64_tIndex in destination array on stack to start inserting copied items at
countint64_tThe number of elements to copy

See Also