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

This class reads VLA archive records from the online computers. More...

#include <VLAOnlineInput.h>

Inheritance diagram for VLAOnlineInput:
VLAArchiveInput

List of all members.

Public Member Functions

 VLAOnlineInput (String &online, Int afiles=0)
 Create an object that reads its data from the vis-server disk An exception is thrown if a connection cannot be made.
virtual ~VLAOnlineInput ()
 The destructor closes the file.
virtual Bool read ()
 Reads the next logical record from specified IO source.

Private Member Functions

 VLAOnlineInput (const VLAOnlineInput &other)
VLAOnlineInputoperator= (const VLAOnlineInput &other)
String getTodaysFile (int relDay=0)
Int whatsToday ()

Private Attributes

Bool onlineFill
String visDir
Int oldDay
Int previousDay

Detailed Description

This class reads VLA archive records from the online computers.

Prerequisite

  1. The IO Module

Etymology

This class is designed to reads VLA archive records from a Disk file

Synopsis

Example

Motivation

Definition at line 69 of file VLAOnlineInput.h.


Constructor & Destructor Documentation

VLAOnlineInput::VLAOnlineInput ( String online,
Int  afiles = 0 
)

Create an object that reads its data from the vis-server disk An exception is thrown if a connection cannot be made.

virtual VLAOnlineInput::~VLAOnlineInput ( ) [virtual]

The destructor closes the file.

VLAOnlineInput::VLAOnlineInput ( const VLAOnlineInput other) [private]

Member Function Documentation

String VLAOnlineInput::getTodaysFile ( int  relDay = 0) [private]
VLAOnlineInput& VLAOnlineInput::operator= ( const VLAOnlineInput other) [private]
virtual Bool VLAOnlineInput::read ( ) [virtual]

Reads the next logical record from specified IO source.

Returns False if there was a problem assembling the next record ie., it returns the value of the hasData() member function.

Implements VLAArchiveInput.

Int VLAOnlineInput::whatsToday ( ) [private]

Member Data Documentation

Int VLAOnlineInput::oldDay [private]

Definition at line 94 of file VLAOnlineInput.h.

Definition at line 92 of file VLAOnlineInput.h.

Definition at line 95 of file VLAOnlineInput.h.

Definition at line 93 of file VLAOnlineInput.h.


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