USGS

Isis 3.0 Developer's Reference (API)

Home

Isis::DefaultCopy< T > Struct Template Reference

(Default) Policy for copying map elements More...

#include <CollectorMap.h>

List of all members.

Protected Member Functions

const T & copy (const T &src) const
 Returns a copy of the input.

Detailed Description

template<typename T>
struct Isis::DefaultCopy< T >

(Default) Policy for copying map elements

Defines a method to copy simple elements from an existing map to a destination map. This policy just makes a direct copy of the element to the destination.

This policy assumes the assignment operator handles the proper copying of each element T in the collection.


Member Function Documentation

template<typename T >
const T& Isis::DefaultCopy< T >::copy ( const T &  src  )  const [inline, protected]

Returns a copy of the input.

Parameters:
src The map element to be copied
Returns:
const T& The copy of the input

The documentation for this struct was generated from the following file: