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

#include <RegionInfo.h>

Inheritance diagram for casa::viewer::RegionInfo:
casa::viewer::ImageRegionInfo casa::viewer::MsRegionInfo casa::viewer::PVLineRegionInfo casa::viewer::SliceRegionInfo

Public Types

enum  InfoTypes {
  MsInfoType,
  ImageInfoType,
  SliceInfoType,
  PVLineInfoType,
  InvalidInfoType
}
 
typedef
casacore::ImageStatistics
< casacore::Float >::stat_list 
stats_t
 
typedef stats_t center_t
 typedef std::pair<casacore::String,String> center_element; typedef std::list<center_element> center_t; typedef std::list<std::pair<casacore::String,String> > center_t; More...
 

Public Member Functions

 RegionInfo ()
 
 RegionInfo (const RegionInfo &other)
 
virtual ~RegionInfo ()
 
std::shared_ptr< stats_t > & list ()
 
const std::string & label () const
 
const std::string & description () const
 
InfoTypes type () const
 

Protected Member Functions

 RegionInfo (const std::string &label, const std::string &desc, stats_t *si, InfoTypes t)
 

Private Attributes

std::shared_ptr< stats_tstat_list_
 
std::string label_
 
std::string description_
 
InfoTypes type_
 

Detailed Description

Definition at line 44 of file RegionInfo.h.

Member Typedef Documentation

typedef std::pair<casacore::String,String> center_element; typedef std::list<center_element> center_t; typedef std::list<std::pair<casacore::String,String> > center_t;

Definition at line 53 of file RegionInfo.h.

Definition at line 49 of file RegionInfo.h.

Member Enumeration Documentation

Enumerator
MsInfoType 
ImageInfoType 
SliceInfoType 
PVLineInfoType 
InvalidInfoType 

Definition at line 47 of file RegionInfo.h.

Constructor & Destructor Documentation

casa::viewer::RegionInfo::RegionInfo ( )
inline

Definition at line 55 of file RegionInfo.h.

casa::viewer::RegionInfo::RegionInfo ( const RegionInfo other)
inline

Definition at line 56 of file RegionInfo.h.

virtual casa::viewer::RegionInfo::~RegionInfo ( )
inlinevirtual

Definition at line 57 of file RegionInfo.h.

casa::viewer::RegionInfo::RegionInfo ( const std::string &  label,
const std::string &  desc,
stats_t si,
InfoTypes  t 
)
inlineprotected

Definition at line 73 of file RegionInfo.h.

Member Function Documentation

const std::string& casa::viewer::RegionInfo::description ( ) const
inline

Definition at line 65 of file RegionInfo.h.

References description_.

const std::string& casa::viewer::RegionInfo::label ( ) const
inline

Definition at line 62 of file RegionInfo.h.

References label_.

std::shared_ptr<stats_t>& casa::viewer::RegionInfo::list ( )
inline

Definition at line 59 of file RegionInfo.h.

References stat_list_.

InfoTypes casa::viewer::RegionInfo::type ( ) const
inline

Definition at line 68 of file RegionInfo.h.

References type_.

Member Data Documentation

std::string casa::viewer::RegionInfo::description_
private

Definition at line 78 of file RegionInfo.h.

Referenced by description().

std::string casa::viewer::RegionInfo::label_
private

Definition at line 77 of file RegionInfo.h.

Referenced by label().

std::shared_ptr<stats_t> casa::viewer::RegionInfo::stat_list_
private

Definition at line 76 of file RegionInfo.h.

Referenced by list().

InfoTypes casa::viewer::RegionInfo::type_
private

Definition at line 79 of file RegionInfo.h.

Referenced by type().


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