rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gantt Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGanttLine Class Reference

Gantt chart line class. More...

Inheritance diagram for IlvGanttLine:
IlvGanttAbstractObject

List of all members.

Public Member Functions

 IlvGanttLine (const char *name, IlUShort capacity=1, IlBoolean copy=IlTrue, IlvGraphic *graphic=0)
 Constructor.
 ~IlvGanttLine ()
 Destructor.
IlUShort getCapacity () const
 Gets the capacity of the Gantt line.
void setCapacity (IlUShort capacity)
 Sets the capacity of the Gantt line to capacity.

Detailed Description

Gantt chart line class.

Library: ilvgantt

An IlvGanttLine object describes a Gantt resource.

See also:
IlvGanttChart.

Constructor & Destructor Documentation

IlvGanttLine::IlvGanttLine ( const char *  name,
IlUShort  capacity = 1,
IlBoolean  copy = IlTrue,
IlvGraphic graphic = 0 
)

Constructor.

The constructor initializes a new instance of IlvGanttLine with the parameters you provide. The object stores a copy of the string name if copy is IlTrue, and the string name itself if copy is IlFalse. You can set the graphic parameter to an IlvGraphic object to have a specific representation for this Gantt line.

Parameters:
name The name of the Gantt line. This name must be unique in the scope of the Gantt chart.
capacity Indicates the capacity of this Gantt line.
copy Indicates whether the object stores a copy of name or the string name itself.
graphic The IlvGraphic that represents the line.
IlvGanttLine::~IlvGanttLine (  ) 

Destructor.

The destructor deletes the graphic object and the string name stored in this Gantt line.


Member Function Documentation

IlUShort IlvGanttLine::getCapacity (  )  const

Gets the capacity of the Gantt line.

Returns the capacity of the Gantt line.

Returns:
The capacity of the Gantt line.
void IlvGanttLine::setCapacity ( IlUShort  capacity  ) 

Sets the capacity of the Gantt line to capacity.

Parameters:
capacity The capacity of the line.
 All Classes Files Functions Variables Typedefs Enumerations Friends

© 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.