Views
Data Access Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IliDbGanttInfo Class Reference

Information class. More...

#include <ilviews/dataccess/gadgets/dbgantt/dbgantt.h>

Public Member Functions

 IliDbGanttInfo (IliDbGantt *gantt=0)
 This constructor initializes an empty object. More...
 
const char * getActIdentifier () const
 Returns the activity identifier. More...
 
const char * getBackground () const
 Returns the background color name for the constraint. More...
 
IlvColorgetBackground (IlvDisplay *) const
 Returns the background color for the constraint. More...
 
const char * getBrkIdentifier () const
 Returns the break identifier. More...
 
IlInt getCapacity () const
 Returns the capacity of the constraint or the work-load-curve item. More...
 
const char * getCntIdentifier () const
 Returns the constraint identifier. More...
 
IlInt getDelay () const
 Returns the precedence delay. More...
 
IlInt getEndMax () const
 Returns the end maximum value for the constraint. More...
 
IlInt getEndMin () const
 Returns the end minimum value for the constraint. More...
 
const char * getForeground () const
 Returns the foreground color for the constraint or the precedence color. More...
 
IlvColorgetForeground (IlvDisplay *) const
 Returns the foreground color for the constraint or the precedence color. More...
 
IlInt getFrom () const
 Returns the source of the work-load-curve item or the break. More...
 
const char * getFromName () const
 Returns the precedence source. More...
 
const char * getLabel (IlInt=0) const
 Returns the constraint label. More...
 
IlvGanttLinegetLine () const
 Returns the object that corresponds to the object resource line. More...
 
IlInt getMaxLoad () const
 Returns the maximum value of all work-load-curve items. More...
 
IlvGanttNodegetNodeFrom () const
 Returns the object that corresponds to the precedence source. More...
 
IlvGanttNodegetNodeTo () const
 Returns the object that corresponds to the precedence destination. More...
 
const char * getResIdentifier () const
 Returns the resource identifier. More...
 
IlInt getStartMax () const
 Returns the start maximum value for the constraint. More...
 
IlInt getStartMin () const
 Returns the start minimum value for the constraint. More...
 
IlInt getTo () const
 Returns the destination the work-load-curve item or the break. More...
 
const char * getToName () const
 Returns the precedence destination. More...
 
IlInt getType () const
 Returns the precedence type. More...
 
IlBoolean isValidPrecedence () const
 Returns IlTrue if the precedence information is valid. More...
 

Detailed Description

Information class.

Library: dbgantt

The IliDbGanttInfo class provides information about the object (constraint, precedence, break, or work-load-curve item) that will be created, replaced, or deleted when you define a callback (see IliDbGanttCallback) or it redefines the virtual function. The getCallbackInformation() member function of the IliDbGantt class is used to get this information.

See also
IliDbGantt, IliDbGanttCallbackName.

Constructor & Destructor Documentation

◆ IliDbGanttInfo()

IliDbGanttInfo::IliDbGanttInfo ( IliDbGantt gantt = 0)

This constructor initializes an empty object.

Parameters
ganttThe IliDbGantt object which uses this object.

Member Function Documentation

◆ getActIdentifier()

const char* IliDbGanttInfo::getActIdentifier ( ) const

Returns the activity identifier.

Returns
The activity identifier.

◆ getBackground() [1/2]

const char* IliDbGanttInfo::getBackground ( ) const

Returns the background color name for the constraint.

Returns
The background color name for the constraint.

◆ getBackground() [2/2]

IlvColor* IliDbGanttInfo::getBackground ( IlvDisplay ) const

Returns the background color for the constraint.

Returns
The background color for the constraint.

◆ getBrkIdentifier()

const char* IliDbGanttInfo::getBrkIdentifier ( ) const

Returns the break identifier.

Returns
The break identifier.

◆ getCapacity()

IlInt IliDbGanttInfo::getCapacity ( ) const

Returns the capacity of the constraint or the work-load-curve item.

Returns
The capacity of the constraint or the work-load-curve item.

◆ getCntIdentifier()

const char* IliDbGanttInfo::getCntIdentifier ( ) const

Returns the constraint identifier.

Returns
The constraint identifier.

◆ getDelay()

IlInt IliDbGanttInfo::getDelay ( ) const

Returns the precedence delay.

Returns
The precedence delay.

◆ getEndMax()

IlInt IliDbGanttInfo::getEndMax ( ) const

Returns the end maximum value for the constraint.

Returns
The end maximum value for the constraint.

◆ getEndMin()

IlInt IliDbGanttInfo::getEndMin ( ) const

Returns the end minimum value for the constraint.

Returns
The end minimum value for the constraint.

◆ getForeground() [1/2]

const char* IliDbGanttInfo::getForeground ( ) const

Returns the foreground color for the constraint or the precedence color.

Returns
The foreground color for the constraint or the precedence color.

◆ getForeground() [2/2]

IlvColor* IliDbGanttInfo::getForeground ( IlvDisplay ) const

Returns the foreground color for the constraint or the precedence color.

Returns
The foreground color for the constraint or the precedence color.

◆ getFrom()

IlInt IliDbGanttInfo::getFrom ( ) const

Returns the source of the work-load-curve item or the break.

Returns
The source of the work-load-curve item or the break.

◆ getFromName()

const char* IliDbGanttInfo::getFromName ( ) const

Returns the precedence source.

Returns
The precedence source.

◆ getLabel()

const char* IliDbGanttInfo::getLabel ( IlInt  = 0) const

Returns the constraint label.

Returns
The constraint label.

◆ getLine()

IlvGanttLine* IliDbGanttInfo::getLine ( ) const

Returns the object that corresponds to the object resource line.

Returns
The object that corresponds to the object resource line.

◆ getMaxLoad()

IlInt IliDbGanttInfo::getMaxLoad ( ) const

Returns the maximum value of all work-load-curve items.

Returns
The maximum value of all work-load-curve items.

◆ getNodeFrom()

IlvGanttNode* IliDbGanttInfo::getNodeFrom ( ) const

Returns the object that corresponds to the precedence source.

Returns
The object that corresponds to the precedence source.

◆ getNodeTo()

IlvGanttNode* IliDbGanttInfo::getNodeTo ( ) const

Returns the object that corresponds to the precedence destination.

Returns
The object that corresponds to the precedence destination.

◆ getResIdentifier()

const char* IliDbGanttInfo::getResIdentifier ( ) const

Returns the resource identifier.

Returns
The resource identifier.

◆ getStartMax()

IlInt IliDbGanttInfo::getStartMax ( ) const

Returns the start maximum value for the constraint.

Returns
The start maximum value for the constraint.

◆ getStartMin()

IlInt IliDbGanttInfo::getStartMin ( ) const

Returns the start minimum value for the constraint.

Returns
The start minimum value for the constraint.

◆ getTo()

IlInt IliDbGanttInfo::getTo ( ) const

Returns the destination the work-load-curve item or the break.

Returns
The destination the work-load-curve item or the break.

◆ getToName()

const char* IliDbGanttInfo::getToName ( ) const

Returns the precedence destination.

Returns
The precedence destination.

◆ getType()

IlInt IliDbGanttInfo::getType ( ) const

Returns the precedence type.

Returns
The precedence type.

◆ isValidPrecedence()

IlBoolean IliDbGanttInfo::isValidPrecedence ( ) const

Returns IlTrue if the precedence information is valid.

Returns
IlTrue if the precedence information is valid.