casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
casa::VisVector Class Reference

#include <VisVector.h>

List of all members.

Public Types

enum  VisType {
  One,
  Two,
  Four
}

Public Member Functions

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

Private Member Functions

 VisVector ()
 Default ctor private to avoid use.

Private Attributes

VisType vistype_
 VisVector length (4, 2, or 1)
Bool owner_
Complex * v0_
 Pointer to origin.
Complex * v_
 Moving pointer.

Friends

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

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 Bool owner = False 
)

Construct from length.

Dtor.

casa::VisVector::VisVector ( ) [inline, private]

Default ctor private to avoid use.

Definition at line 116 of file VisVector.h.


Member Function Documentation

void casa::VisVector::advance ( const Int step) [inline]

Advance step vectors forward.

Definition at line 84 of file VisVector.h.

References 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 74 of file VisVector.h.

References owner_, v_, and vistype_.

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

Definition at line 78 of file VisVector.h.

References owner_, v_, and vistype_.

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

Assignment (data copy)

Definition at line 52 of file VisVector.h.

References v_, and vistype_.

void casa::VisVector::origin ( ) [inline]

Go to origin.

Definition at line 70 of file VisVector.h.

References v0_, and v_.

Referenced by sync().

Re-order elements.

Set type id:

void casa::VisVector::sync ( Complex &  vis) [inline]

Reassign origin.

Definition at line 64 of file VisVector.h.

References origin(), owner_, and v0_.

Return type id.

Definition at line 61 of file VisVector.h.

References vistype_.

void casa::VisVector::zero ( ) [inline]

Definition at line 94 of file VisVector.h.

References v_, and vistype_.


Friends And Related Function Documentation

friend class AddMuellerDiag [friend]

Definition at line 103 of file VisVector.h.

friend class AddMuellerDiag2 [friend]

Definition at line 104 of file VisVector.h.

friend class Jones [friend]

Definition at line 106 of file VisVector.h.

friend class JonesDiag [friend]

Definition at line 108 of file VisVector.h.

friend class JonesGenLin [friend]

Definition at line 107 of file VisVector.h.

friend class JonesScal [friend]

Definition at line 109 of file VisVector.h.

friend class Mueller [friend]

Give access to Mueller,Jones classes for application.

Definition at line 100 of file VisVector.h.

friend class MuellerDiag [friend]

Definition at line 101 of file VisVector.h.

friend class MuellerDiag2 [friend]

Definition at line 102 of file VisVector.h.

friend class MuellerScal [friend]

Definition at line 105 of file VisVector.h.

ostream& operator<< ( ostream &  os,
const VisVector vec 
) [friend]

Print it out.


Member Data Documentation

Definition at line 121 of file VisVector.h.

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

Complex* casa::VisVector::v0_ [private]

Pointer to origin.

Definition at line 124 of file VisVector.h.

Referenced by origin(), and sync().

Complex* casa::VisVector::v_ [private]

Moving pointer.

Definition at line 127 of file VisVector.h.

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

VisVector length (4, 2, or 1)

Definition at line 116 of file VisVector.h.

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


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