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>

List of all members.

Public Member Functions

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

Private Attributes

String for_
String title_
String creator_
String comment_
float lm_
float rm_
float tm_
float bm_
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

const String& casa::PSDriver::PSInfo::Comment (  )  const [inline]

Definition at line 184 of file PSDriver.h.

References comment_.

void casa::PSDriver::PSInfo::Comment ( const char *   ) 
void casa::PSDriver::PSInfo::Comment ( const String &   ) 
const String& casa::PSDriver::PSInfo::Creator (  )  const [inline]

Definition at line 169 of file PSDriver.h.

References creator_.

void casa::PSDriver::PSInfo::Creator ( const String &   ) 
void casa::PSDriver::PSInfo::Creator ( const char *   ) 
const String& casa::PSDriver::PSInfo::For (  )  const [inline]

Definition at line 174 of file PSDriver.h.

References for_.

void casa::PSDriver::PSInfo::For ( const String &   ) 
void casa::PSDriver::PSInfo::For ( const char *   ) 
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 
)
const String& casa::PSDriver::PSInfo::Title (  )  const [inline]

Definition at line 179 of file PSDriver.h.

References title_.

void casa::PSDriver::PSInfo::Title ( const String &   ) 
void casa::PSDriver::PSInfo::Title ( const char *   ) 

Member Data Documentation

float casa::PSDriver::PSInfo::bm_ [private]

Definition at line 201 of file PSDriver.h.

Definition at line 200 of file PSDriver.h.

Referenced by Comment().

Definition at line 199 of file PSDriver.h.

Referenced by Creator().

String casa::PSDriver::PSInfo::for_ [private]

Definition at line 197 of file PSDriver.h.

Referenced by For().

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.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1