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

PSInfo is used to supply comment fields for the PostScript header and other information that needs to be available when the PSDriver object is created. More...

#include <PSDriver.h>

Public Member Functions

 PSInfo ()
 
 ~PSInfo ()
 
void Creator (const char *)
 
void Creator (const casacore::String &)
 
const casacore::StringCreator () const
 
void For (const char *)
 
void For (const casacore::String &)
 
const casacore::StringFor () const
 
void Title (const char *)
 
void Title (const casacore::String &)
 
const casacore::StringTitle () const
 
void Comment (const casacore::String &)
 
void Comment (const char *)
 
const casacore::StringComment () const
 
void setMargins (const float lm, const float rm, const float tm, const float bm, const Dimension dim=PSDriver::INCHES)
 
casacore::Bool getMargins (float &lm, float &rm, float &tm, float &bm)
 If setMargins has been called, returns true and the margin values. More...
 

Private Attributes

casacore::String for_
 
casacore::String title_
 
casacore::String creator_
 
casacore::String comment_
 
float lm_
 
float rm_
 
float tm_
 
float bm_
 
casacore::Bool haveMargins_
 

Detailed Description

PSInfo is used to supply comment fields for the PostScript header and other information that needs to be available when the PSDriver object is created.

Its use is optional.

Definition at line 163 of file PSDriver.h.

Constructor & Destructor Documentation

casa::PSDriver::PSInfo::PSInfo ( )
casa::PSDriver::PSInfo::~PSInfo ( )

Member Function Documentation

void casa::PSDriver::PSInfo::Comment ( const casacore::String )
void casa::PSDriver::PSInfo::Comment ( const char *  )
const casacore::String& casa::PSDriver::PSInfo::Comment ( ) const
inline

Definition at line 184 of file PSDriver.h.

References comment_.

void casa::PSDriver::PSInfo::Creator ( const char *  )
void casa::PSDriver::PSInfo::Creator ( const casacore::String )
const casacore::String& casa::PSDriver::PSInfo::Creator ( ) const
inline

Definition at line 169 of file PSDriver.h.

References creator_.

void casa::PSDriver::PSInfo::For ( const char *  )
void casa::PSDriver::PSInfo::For ( const casacore::String )
const casacore::String& casa::PSDriver::PSInfo::For ( ) const
inline

Definition at line 174 of file PSDriver.h.

References for_.

casacore::Bool casa::PSDriver::PSInfo::getMargins ( float &  lm,
float &  rm,
float &  tm,
float &  bm 
)

If setMargins has been called, returns true and the margin values.

Otherwise, returns false and does not change the arguments.

void casa::PSDriver::PSInfo::setMargins ( const float  lm,
const float  rm,
const float  tm,
const float  bm,
const Dimension  dim = PSDriver::INCHES 
)
void casa::PSDriver::PSInfo::Title ( const char *  )
void casa::PSDriver::PSInfo::Title ( const casacore::String )
const casacore::String& casa::PSDriver::PSInfo::Title ( ) const
inline

Definition at line 179 of file PSDriver.h.

References title_.

Member Data Documentation

float casa::PSDriver::PSInfo::bm_
private

Definition at line 201 of file PSDriver.h.

casacore::String casa::PSDriver::PSInfo::comment_
private

Definition at line 200 of file PSDriver.h.

Referenced by Comment().

casacore::String casa::PSDriver::PSInfo::creator_
private

Definition at line 199 of file PSDriver.h.

Referenced by Creator().

casacore::String casa::PSDriver::PSInfo::for_
private

Definition at line 197 of file PSDriver.h.

Referenced by For().

casacore::Bool casa::PSDriver::PSInfo::haveMargins_
private

Definition at line 202 of file PSDriver.h.

float casa::PSDriver::PSInfo::lm_
private

Definition at line 201 of file PSDriver.h.

float casa::PSDriver::PSInfo::rm_
private

Definition at line 201 of file PSDriver.h.

casacore::String casa::PSDriver::PSInfo::title_
private

Definition at line 198 of file PSDriver.h.

Referenced by Title().

float casa::PSDriver::PSInfo::tm_
private

Definition at line 201 of file PSDriver.h.


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