GRE::LEGEND_POLYGON::ITEM Class Reference

Individual item in polygon legend. More...

#include <gre/legend.h>

Inheritance diagram for GRE::LEGEND_POLYGON::ITEM:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ITEM (LEGEND_POLYGON &legend, const RVC::ELEMENT &element, const MISTRING &label, const MISTRING &intlabel)
 ITEM (LEGEND_POLYGON &legend, const POLYSTYLE &style, const MISTRING &label, const MISTRING &intlabel)
virtual ~ITEM ()
const POLYSTYLEGetStyle () const
bool HasSameStyle (const POLYSTYLE &style) const

Detailed Description

Individual item in polygon legend.


Constructor & Destructor Documentation

GRE::LEGEND_POLYGON::ITEM::ITEM ( LEGEND_POLYGON legend,
const POLYSTYLE style,
const MISTRING label,
const MISTRING intlabel 
)

Constructor.

Parameters:
style Item style
label Label to place to right of sample
intlabel Label to place INSIDE sample (blank string for none)
GRE::LEGEND_POLYGON::ITEM::ITEM ( LEGEND_POLYGON legend,
const RVC::ELEMENT element,
const MISTRING label,
const MISTRING intlabel 
)

Constructor using element number and label.

Parameters:
element Element
label Label to place to right of sample
intlabel Label to place INSIDE sample (blank string for none)
virtual GRE::LEGEND_POLYGON::ITEM::~ITEM (  )  [virtual]

Destructor.


Member Function Documentation

const POLYSTYLE& GRE::LEGEND_POLYGON::ITEM::GetStyle (  )  const [inline]

Get style for item.

bool GRE::LEGEND_POLYGON::ITEM::HasSameStyle ( const POLYSTYLE style  )  const

Determine if this item has same style.

Parameters:
style Style to compare

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

Generated on Sun Oct 7 21:34:41 2012 for TNTsdk 2012 by  doxygen 1.6.1