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

This class encapsulates an enum with values corresponding to the various data components accessible via a VisBuffer. Its current usage is to specify the VisBuffer components to be prefetched when asynchronous I/O is in use or to specify the VisBuffer components that have been modified when a Visibility Processing Framework bucket-brigade is operating on a VisBuffer. This implementation should be replaced by a C++11 when the standard matures a bit. More...

#include <VisBufferComponents2.h>

Public Types

typedef std::set
< VisBufferComponent2
Set
 
typedef Set::const_iterator const_iterator
 

Public Member Functions

VisBufferComponents2 operator+ (const VisBufferComponents2 &other) const
 
VisBufferComponents2operator+= (const VisBufferComponents2 &other)
 
VisBufferComponents2operator+= (VisBufferComponent2 componentToAdd)
 
const_iterator begin () const
 
casacore::Bool contains (VisBufferComponent2 component) const
 
casacore::Bool empty () const
 
const_iterator end () const
 
casacore::String toString () const
 

Static Public Member Functions

static VisBufferComponents2 all ()
 
static VisBufferComponents2 exceptThese (std::initializer_list< VisBufferComponent2 > components)
 
static casacore::String name (VisBufferComponent2 id)
 
static VisBufferComponents2 none ()
 
static VisBufferComponents2 singleton (VisBufferComponent2 component)
 
static VisBufferComponents2 these (std::initializer_list< VisBufferComponent2 > components)
 

Static Private Member Functions

static VisBufferComponents2 initializeAll ()
 

Private Attributes

Set set_p
 

Static Private Attributes

static const VisBufferComponents2 all_p
 

Detailed Description

This class encapsulates an enum with values corresponding to the various data components accessible via a VisBuffer. Its current usage is to specify the VisBuffer components to be prefetched when asynchronous I/O is in use or to specify the VisBuffer components that have been modified when a Visibility Processing Framework bucket-brigade is operating on a VisBuffer. This implementation should be replaced by a C++11 when the standard matures a bit.

Prerequisite

Synopsis

Example

Definition at line 102 of file VisBufferComponents2.h.

Member Typedef Documentation

Definition at line 108 of file VisBufferComponents2.h.

Definition at line 107 of file VisBufferComponents2.h.

Member Function Documentation

static VisBufferComponents2 casa::vi::VisBufferComponents2::all ( )
static
const_iterator casa::vi::VisBufferComponents2::begin ( ) const
casacore::Bool casa::vi::VisBufferComponents2::contains ( VisBufferComponent2  component) const
casacore::Bool casa::vi::VisBufferComponents2::empty ( ) const
const_iterator casa::vi::VisBufferComponents2::end ( ) const
static VisBufferComponents2 casa::vi::VisBufferComponents2::exceptThese ( std::initializer_list< VisBufferComponent2 components)
static
  • exceptThese *: n.b., use the component "Unknown" as the last one in the list so that the variadic framework knows when to stop.
static VisBufferComponents2 casa::vi::VisBufferComponents2::initializeAll ( )
staticprivate
static casacore::String casa::vi::VisBufferComponents2::name ( VisBufferComponent2  id)
static
static VisBufferComponents2 casa::vi::VisBufferComponents2::none ( )
static
VisBufferComponents2 casa::vi::VisBufferComponents2::operator+ ( const VisBufferComponents2 other) const
VisBufferComponents2& casa::vi::VisBufferComponents2::operator+= ( const VisBufferComponents2 other)
VisBufferComponents2& casa::vi::VisBufferComponents2::operator+= ( VisBufferComponent2  componentToAdd)
static VisBufferComponents2 casa::vi::VisBufferComponents2::singleton ( VisBufferComponent2  component)
static
static VisBufferComponents2 casa::vi::VisBufferComponents2::these ( std::initializer_list< VisBufferComponent2 components)
static
  • these * : n.b., use the component "Unknown" as the last one in the list so that the variadic framework knows when to stop.
casacore::String casa::vi::VisBufferComponents2::toString ( ) const

Member Data Documentation

const VisBufferComponents2 casa::vi::VisBufferComponents2::all_p
staticprivate

Definition at line 142 of file VisBufferComponents2.h.

Set casa::vi::VisBufferComponents2::set_p
private

Definition at line 140 of file VisBufferComponents2.h.


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