casa  $Rev:20696$
msplot_private.h
Go to the documentation of this file.
00001 // The Private declarations of the MsPlot component.
00002 
00003 // An instance of the CASA message logger.
00004 casa::LogIO *itsLog;
00005 
00006 // The MsPlot class that does all of the work.  The msplot class is the
00007 // interface to the plotter for measurement sets.
00008 casa::MsPlot *itsMsPlot;
00009 
00010 //private methods:
00011 
00012 // Converts the subplot integer into three digits representing
00013 // the nrows, ncols, and panel number that TablePlot uses.
00014 casa::Bool parseSubplot( const casa::Int threeDigits, 
00015         casa::Int& nrows, 
00016         casa::Int& ncols, 
00017         casa::Int& panel );
00018 
00019 // Generic function that handles all the calls to plotxy for the
00020 // specific plots handled by the msplot tool.
00021 casa::Bool
00022 plotter( const std::string& type,
00023         const std::string& column,
00024         const std::string& value,
00025         const std::vector<std::string>& iteration,
00026         casa::Bool checkOnly=casa::False );
00027 
00028 // A chunk of checks for the plotter parameters that makes sure that
00029 // that if something isn't supported by a certain plot type a warning
00030 // is generated.
00031 
00032 casa::Bool
00033 checkPlotParams( casa::String& type,
00034         casa::String &column, 
00035         casa::String &value,
00036         casa::Vector<casa::String>& iteration );
00037 
00038 
00039 // Safety method used to make sure the user has called open and we
00040 // have a measurment set to us.
00041 casa::Bool checkForOpenMS();
00042 
00043 // Couple of routines to add debuggin info. to every method.
00044 void debugFnEntry( casa::String Fn );
00045 void debugFnExit( casa::String Fn );
00046 
00047 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines