BasicItem< Item > Class Template Reference

#include <ed_mapcomponent.h>

Inheritance diagram for BasicItem< Item >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BasicItem (const Item *i)
ASCString getName () const
virtual int displayWidth () const
virtual int displayHeight () const
virtual int getID () const

Static Public Member Functions

static int Width ()
static int Height ()

Protected Member Functions

SurfacegetClippingSurface () const

Protected Attributes

const Item * item

Static Protected Attributes

static Surface clippingSurface

Detailed Description

template<class Item>
class BasicItem< Item >

Definition at line 75 of file ed_mapcomponent.h.


Constructor & Destructor Documentation

template<class Item>
BasicItem< Item >::BasicItem ( const Item *  i  )  [inline]

Definition at line 81 of file ed_mapcomponent.h.


Member Function Documentation

template<class Item>
Surface& BasicItem< Item >::getClippingSurface (  )  const [inline, protected, virtual]

Implements MapComponent.

Definition at line 79 of file ed_mapcomponent.h.

template<class Item>
ASCString BasicItem< Item >::getName (  )  const [inline, virtual]

Reimplemented from MapComponent.

Definition at line 82 of file ed_mapcomponent.h.

template<class Item>
virtual int BasicItem< Item >::displayWidth (  )  const [inline, virtual]

Implements MapComponent.

Definition at line 83 of file ed_mapcomponent.h.

template<class Item>
static int BasicItem< Item >::Width (  )  [inline, static]

Definition at line 84 of file ed_mapcomponent.h.

Referenced by BasicItem< ObjectType >::displayWidth().

template<class Item>
virtual int BasicItem< Item >::displayHeight (  )  const [inline, virtual]

Implements MapComponent.

Definition at line 85 of file ed_mapcomponent.h.

template<class Item>
static int BasicItem< Item >::Height (  )  [inline, static]

Definition at line 86 of file ed_mapcomponent.h.

Referenced by BasicItem< ObjectType >::displayHeight().

template<class Item>
virtual int BasicItem< Item >::getID (  )  const [inline, virtual]

Definition at line 87 of file ed_mapcomponent.h.


Member Data Documentation

template<class Item>
const Item* BasicItem< Item >::item [protected]

Definition at line 77 of file ed_mapcomponent.h.

Referenced by BasicItem< ObjectType >::getID(), and BasicItem< ObjectType >::getName().

template<class Item>
Surface BasicItem< T >::clippingSurface [static, protected]

Definition at line 78 of file ed_mapcomponent.h.

Referenced by BasicItem< ObjectType >::getClippingSurface().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:23 2012 for Advanced Strategic Command by  doxygen 1.5.1