InvEntry Class Reference

#include <invent.h>

Inheritance diagram for InvEntry:

Inheritance graph
[legend]
Collaboration diagram for InvEntry:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 InvEntry (const item_def &i)
std::string get_text (const bool need_cursor=false) const
void set_show_glyph (bool doshow)
const std::stringget_basename () const
const std::stringget_qualname () const
const std::stringget_fullname () const
bool is_item_cursed () const
bool is_item_glowing () const
bool is_item_ego () const
bool is_item_art () const
bool is_item_equipped () const
int item_freshness () const
virtual int highlight_colour () const
virtual void select (int qty=-1)
virtual std::string get_filter_text () const

Static Public Member Functions

static void set_show_cursor (bool doshow)

Public Attributes

const item_defitem

Friends

class InvShowPrices


Constructor & Destructor Documentation

InvEntry::InvEntry ( const item_def i  ) 

Here is the call graph for this function:


Member Function Documentation

std::string InvEntry::get_text ( const bool  need_cursor = false  )  const [virtual]

Reimplemented from MenuEntry.

Reimplemented in DiscEntry, and ShopItemEntry.

Here is the call graph for this function:

void InvEntry::set_show_glyph ( bool  doshow  ) 

void InvEntry::set_show_cursor ( bool  doshow  )  [static]

const std::string & InvEntry::get_basename (  )  const

Here is the call graph for this function:

const std::string & InvEntry::get_qualname (  )  const

Here is the call graph for this function:

const std::string & InvEntry::get_fullname (  )  const

bool InvEntry::is_item_cursed (  )  const

Here is the call graph for this function:

bool InvEntry::is_item_glowing (  )  const

Here is the call graph for this function:

bool InvEntry::is_item_ego (  )  const

Here is the call graph for this function:

bool InvEntry::is_item_art (  )  const

Here is the call graph for this function:

bool InvEntry::is_item_equipped (  )  const

int InvEntry::item_freshness (  )  const

Here is the call graph for this function:

virtual int InvEntry::highlight_colour (  )  const [inline, virtual]

Reimplemented from MenuEntry.

Here is the call graph for this function:

void InvEntry::select ( int  qty = -1  )  [virtual]

Reimplemented from MenuEntry.

Here is the call graph for this function:

std::string InvEntry::get_filter_text (  )  const [virtual]

Reimplemented from MenuEntry.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class InvShowPrices [friend]


Member Data Documentation


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

Generated on Thu Jan 13 13:34:21 2011 by  doxygen 1.5.6