casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
casa::VisVector Class Reference

#include <VisVector.h>

Public Types

enum  VisType {
  One,
  Two,
  Four
}
 

Public Member Functions

 VisVector (const VisType &len, const casacore::Bool &owner=false)
 Construct from length. More...
 
 ~VisVector ()
 Dtor. More...
 
VisVectoroperator= (const VisVector &vv)
 Assignment (data copy) More...
 
void setType (const VisVector::VisType &type)
 Set type id: More...
 
VisTypetype ()
 Return type id. More...
 
void sync (casacore::Complex &vis)
 Reassign origin. More...
 
void sync (casacore::Complex &vis, casacore::Bool &flag)
 Reassign origin. More...
 
void origin ()
 Go to origin. More...
 
void operator++ ()
 Increment to next vector (use function pointers in ctor to handle owner_ case?) More...
 
void operator++ (int)
 
void advance (const casacore::Int &step)
 Advance step vectors forward. More...
 
void polznMap ()
 Re-order elements. More...
 
void polznUnMap ()
 
void zero ()
 

Private Member Functions

 VisVector ()
 Default ctor private to avoid use. More...
 

Private Attributes

VisType vistype_
 VisVector length (4, 2, or 1) More...
 
casacore::Bool owner_
 Does the VisVector own the storage, or are we pointing to something external. More...
 
casacore::Complex * v0_
 Pointer to origin. More...
 
casacore::Boolf0_
 
casacore::Complex * v_
 Moving pointer. More...
 
casacore::Boolf_
 

Friends

class Mueller
 Give access to Mueller,Jones classes for application. More...
 
class MuellerDiag
 
class MuellerDiag2
 
class AddMuellerDiag
 
class AddMuellerDiag2
 
class MuellerScal
 
class Jones
 
class JonesGenLin
 
class JonesDiag
 
class JonesScal
 
std::ostream & operator<< (std::ostream &os, const VisVector &vec)
 Print it out. More...
 

Detailed Description

Definition at line 39 of file VisVector.h.

Member Enumeration Documentation

Enumerator
One 
Two 
Four 

Definition at line 43 of file VisVector.h.

Constructor & Destructor Documentation

casa::VisVector::VisVector ( const VisType len,
const casacore::Bool owner = false 
)

Construct from length.

casa::VisVector::~VisVector ( )

Dtor.

casa::VisVector::VisVector ( )
inlineprivate

Default ctor private to avoid use.

Definition at line 127 of file VisVector.h.

Member Function Documentation

void casa::VisVector::advance ( const casacore::Int step)
inline

Advance step vectors forward.

Definition at line 94 of file VisVector.h.

References f0_, f_, owner_, v_, and vistype_.

void casa::VisVector::operator++ ( )
inline

Increment to next vector (use function pointers in ctor to handle owner_ case?)

Definition at line 84 of file VisVector.h.

References f0_, f_, owner_, v_, and vistype_.

void casa::VisVector::operator++ ( int  )
inline

Definition at line 88 of file VisVector.h.

References f0_, f_, owner_, v_, and vistype_.

VisVector& casa::VisVector::operator= ( const VisVector vv)
inline

Assignment (data copy)

Definition at line 52 of file VisVector.h.

References f0_, f_, v_, and vistype_.

void casa::VisVector::origin ( )
inline

Go to origin.

Definition at line 80 of file VisVector.h.

References f0_, f_, v0_, and v_.

Referenced by sync().

void casa::VisVector::polznMap ( )

Re-order elements.

void casa::VisVector::polznUnMap ( )
void casa::VisVector::setType ( const VisVector::VisType type)

Set type id:

void casa::VisVector::sync ( casacore::Complex &  vis)
inline

Reassign origin.

Definition at line 67 of file VisVector.h.

References f0_, origin(), owner_, and v0_.

void casa::VisVector::sync ( casacore::Complex &  vis,
casacore::Bool flag 
)
inline

Reassign origin.

Definition at line 73 of file VisVector.h.

References f0_, origin(), owner_, and v0_.

VisType& casa::VisVector::type ( )
inline

Return type id.

Definition at line 64 of file VisVector.h.

References vistype_.

void casa::VisVector::zero ( )
inline

Definition at line 103 of file VisVector.h.

References f0_, f_, v_, and vistype_.

Friends And Related Function Documentation

friend class AddMuellerDiag
friend

Definition at line 114 of file VisVector.h.

friend class AddMuellerDiag2
friend

Definition at line 115 of file VisVector.h.

friend class Jones
friend

Definition at line 117 of file VisVector.h.

friend class JonesDiag
friend

Definition at line 119 of file VisVector.h.

friend class JonesGenLin
friend

Definition at line 118 of file VisVector.h.

friend class JonesScal
friend

Definition at line 120 of file VisVector.h.

friend class Mueller
friend

Give access to Mueller,Jones classes for application.

Definition at line 111 of file VisVector.h.

friend class MuellerDiag
friend

Definition at line 112 of file VisVector.h.

friend class MuellerDiag2
friend

Definition at line 113 of file VisVector.h.

friend class MuellerScal
friend

Definition at line 116 of file VisVector.h.

std::ostream& operator<< ( std::ostream &  os,
const VisVector vec 
)
friend

Print it out.

Member Data Documentation

casacore::Bool* casa::VisVector::f0_
private

Definition at line 138 of file VisVector.h.

Referenced by advance(), operator++(), operator=(), origin(), sync(), and zero().

casacore::Bool* casa::VisVector::f_
private

Definition at line 142 of file VisVector.h.

Referenced by advance(), operator++(), operator=(), origin(), and zero().

casacore::Bool casa::VisVector::owner_
private

Does the VisVector own the storage, or are we pointing to something external.

Definition at line 134 of file VisVector.h.

Referenced by advance(), operator++(), and sync().

casacore::Complex* casa::VisVector::v0_
private

Pointer to origin.

Definition at line 137 of file VisVector.h.

Referenced by origin(), and sync().

casacore::Complex* casa::VisVector::v_
private

Moving pointer.

Definition at line 141 of file VisVector.h.

Referenced by advance(), operator++(), operator=(), origin(), and zero().

VisType casa::VisVector::vistype_
private

VisVector length (4, 2, or 1)

Definition at line 127 of file VisVector.h.

Referenced by advance(), operator++(), operator=(), type(), and zero().


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