rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvPrintPointUnit Class Reference

Class for measurement system in points. More...

#include <ilviews/printing/units.h>

Inheritance diagram for IlvPrintPointUnit:
IlvPrintUnit

List of all members.

Public Member Functions

 IlvPrintPointUnit (double units)
 Conversion constructor from a double.
 IlvPrintPointUnit (IlvPrintUnit const &other)
 Conversion constructor from a double.
 IlvPrintPointUnit (IlvPrintPointUnit const &other)
 Copy constructor.
 IlvPrintPointUnit ()
 Default constructor.
virtual double getPoints () const
 Returns the value expressed in points.
virtual IlString getUnitName () const
 Returns a string that is the name of the unit (point).
virtual void setPoints (double points)
 Sets the value expressed in points.

Protected Member Functions

virtual IlString getUnitNamePlural () const
 Returns a string that is the plural name of the unit (points).

Detailed Description

Class for measurement system in points.

Library: ilvprint


Constructor & Destructor Documentation

IlvPrintPointUnit::IlvPrintPointUnit (  ) 

Default constructor.

It initializes the object in a coherent state.

IlvPrintPointUnit::IlvPrintPointUnit ( IlvPrintPointUnit const &  other  ) 

Copy constructor.

It creates an IlvPrintPointUnit from an IlvPrintPointUnit object.

Parameters:
other A const reference to an IlvPrintPointUnit.
IlvPrintPointUnit::IlvPrintPointUnit ( IlvPrintUnit const &  other  ) 

Conversion constructor from a double.

It creates an IlvPrintPointUnit from an IlvPrintUnit object.

Parameters:
other A const reference to an IlvPrintUnit.
IlvPrintPointUnit::IlvPrintPointUnit ( double  units  ) 

Conversion constructor from a double.

This constructor creates an IlvPrint from a double.

Parameters:
units A double, the number of units of the IlvPrintUnit.

Member Function Documentation

virtual double IlvPrintPointUnit::getPoints (  )  const [virtual]

Returns the value expressed in points.

In fact it is equivalent to getUnits for this class.

Returns:
A double, the value expressed in points.

Implements IlvPrintUnit.

virtual IlString IlvPrintPointUnit::getUnitName (  )  const [virtual]

Returns a string that is the name of the unit (point).

Returns:
An IlString, the name of the unit.

Implements IlvPrintUnit.

virtual IlString IlvPrintPointUnit::getUnitNamePlural (  )  const [protected, virtual]

Returns a string that is the plural name of the unit (points).

Returns:
An IlString, the plural name unit.

Implements IlvPrintUnit.

virtual void IlvPrintPointUnit::setPoints ( double  points  )  [virtual]

Sets the value expressed in points.

In fact it is equivalent to setUnits for this class.

Parameters:
points A double, the value expressed in points.

Implements IlvPrintUnit.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.