m_copy.h File Reference

Implementation of Copy. More...

#include "messages.h"
#include "mystring.h"
#include "workspace_ng.h"
#include "agenda_class.h"

Include dependency graph for m_copy.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T>
void Copy (T &out, const T &in)
 WORKSPACE METHOD: Copy.
void Copy (Workspace &ws, Agenda &out, const Agenda &in)


Detailed Description

Implementation of Copy.

Implementation of Select.

Author:
Stefan Buehler <sbuehler@ltu.se>
Date:
Fri Jun 14 17:09:05 2002
This file contains the implementation of the supergeneric method Copy.

Author:
Oliver Lemke <olemke@core-dump.info>
Date:
2008-08-27
This file contains the implementation of the supergeneric method Select.

Definition in file m_copy.h.


Function Documentation

void Copy ( Workspace ws,
Agenda out,
const Agenda in 
)

Definition at line 52 of file m_copy.h.

template<class T>
void Copy ( T &  gout1,
const T &  gin1 
) [inline]

WORKSPACE METHOD: Copy.

Copy a workspace variable.

This is a supergeneric method. It can copy any workspace variable to another workspace variable of the same group. (E.g., a Matrix to another Matrix.)

As allways, output comes first in the argument list!

Usage example:

Copy(f_grid,p_grid){}

Will copy the content of *p_grid* to *f_grid*. The size of *f_grid* is adjusted automatically (the normal behaviour for workspace methods).

Supergeneric output: <br> Any : The output variable.

Supergeneric input: <br> Any : The input variable.

Author:
Stefan Buehler
Parameters:
[out] gout1 Supergeneric output
[in] gin1 Generic Input

Definition at line 40 of file m_copy.h.

Referenced by Copy_sg_Agenda_g(), Copy_sg_ArrayOfArrayOfArrayOfArrayOfGridPos_g(), Copy_sg_ArrayOfArrayOfGField1_g(), Copy_sg_ArrayOfArrayOfGField3_g(), Copy_sg_ArrayOfArrayOfIndex_g(), Copy_sg_ArrayOfArrayOfLineRecord_g(), Copy_sg_ArrayOfArrayOfMatrix_g(), Copy_sg_ArrayOfArrayOfSpeciesTag_g(), Copy_sg_ArrayOfArrayOfTensor3_g(), Copy_sg_ArrayOfArrayOfTensor6_g(), Copy_sg_ArrayOfGField1_g(), Copy_sg_ArrayOfGField2_g(), Copy_sg_ArrayOfGField3_g(), Copy_sg_ArrayOfGField4_g(), Copy_sg_ArrayOfIndex_g(), Copy_sg_ArrayOfLineRecord_g(), Copy_sg_ArrayOfLineshapeSpec_g(), Copy_sg_ArrayOfMatrix_g(), Copy_sg_ArrayOfPpath_g(), Copy_sg_ArrayOfRetrievalQuantity_g(), Copy_sg_ArrayOfSingleScatteringData_g(), Copy_sg_ArrayOfString_g(), Copy_sg_ArrayOfTensor3_g(), Copy_sg_ArrayOfTensor4_g(), Copy_sg_ArrayOfTensor6_g(), Copy_sg_ArrayOfTensor7_g(), Copy_sg_ArrayOfVector_g(), Copy_sg_GasAbsLookup_g(), Copy_sg_GField1_g(), Copy_sg_GField2_g(), Copy_sg_GField3_g(), Copy_sg_GField4_g(), Copy_sg_GridPos_g(), Copy_sg_Index_g(), Copy_sg_Matrix_g(), Copy_sg_MCAntenna_g(), Copy_sg_Numeric_g(), Copy_sg_Ppath_g(), Copy_sg_SingleScatteringData_g(), Copy_sg_SLIData2_g(), Copy_sg_Sparse_g(), Copy_sg_String_g(), Copy_sg_Tensor3_g(), Copy_sg_Tensor4_g(), Copy_sg_Tensor5_g(), Copy_sg_Tensor6_g(), Copy_sg_Tensor7_g(), Copy_sg_Timer_g(), and Copy_sg_Vector_g().


Generated on Mon Mar 23 14:06:39 2009 for ARTS by  doxygen 1.5.6