VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes | Private Member Functions
DtSdcBarAttributeTemplateObject Class Reference

A Value Bar Attribute Template. More...

Inheritance diagram for DtSdcBarAttributeTemplateObject:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSdcBarAttributeTemplateObject (const DtGlobalObjectDesignator &templateId, const DtString &name, double minRange, double maxRange)
 Construct the Value Bar Attribute Group Template.
virtual ~DtSdcBarAttributeTemplateObject ()
 DtSdcBarAttributeTemplateObject (const DtSdcBarAttributeTemplateObject &orig)
 Copy constructor.
DtSdcBarAttributeTemplateObjectoperator= (const DtSdcBarAttributeTemplateObject &rhs)
 Assignment operator.
virtual double minRange () const
 minRange accessor
virtual double maxRange () const
 maxRange accessor

Protected Attributes

double myMinRange
double myMaxRange

Private Member Functions

 DtSdcBarAttributeTemplateObject ()
 Default constructor.

Detailed Description

A Value Bar Attribute Template.

DtSdcBarAttributeTemplateObject represents a template that defines an attribute type in an Attribute Group that displays a horizontal value bar; a range (min and max) is specified, and then the bar is drawn showing what portion of the range is covered by the attribute value set.


Constructor & Destructor Documentation

DtSdcBarAttributeTemplateObject::DtSdcBarAttributeTemplateObject ( const DtGlobalObjectDesignator &  templateId,
const DtString name,
double  minRange,
double  maxRange 
)

Construct the Value Bar Attribute Group Template.

Parameters:
idPassed to DtSdcAtteibuteTemplate3Object base (see)
templateIdPassed to DtSdcAtteibuteTemplate3Object base (see)
name
minRangeThe minimum value for the range of values represented
maxRangeThe maximum value for the range of values represented

Copy constructor.

Default constructor.

Private and not implemented - you must supply all parameters to create a value bar attribute template


Member Function Documentation

DtSdcBarAttributeTemplateObject& DtSdcBarAttributeTemplateObject::operator= ( const DtSdcBarAttributeTemplateObject rhs)

Assignment operator.

virtual double DtSdcBarAttributeTemplateObject::minRange ( ) const [virtual]

minRange accessor

Get the minimum value for the range represented

Returns:
double, minimum range
virtual double DtSdcBarAttributeTemplateObject::maxRange ( ) const [virtual]

maxRange accessor

Get the maximum value for the range represented

Returns:
double, maximum range

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)