ShopInfo Class Reference

#include <stash.h>

List of all members.

Public Member Functions

 ShopInfo (int xp, int yp)
bool matches_search (const std::string &prefix, const base_pattern &search, stash_search_result &res) const
std::string description () const
void save (writer &) const
void load (reader &)
bool show_menu (const level_pos &place, bool can_travel) const
bool is_visited () const
void write (std::ostream &os, bool identify=false) const
void reset ()
void set_name (const std::string &s)
void add_item (const item_def &item, unsigned price)
bool isAt (const coord_def &c) const

Friends

class ST_ItemIterator

Classes

struct  shop_item


Constructor & Destructor Documentation

ShopInfo::ShopInfo ( int  xp,
int  yp 
)

Here is the call graph for this function:


Member Function Documentation

bool ShopInfo::matches_search ( const std::string prefix,
const base_pattern search,
stash_search_result res 
) const

Here is the call graph for this function:

std::string ShopInfo::description (  )  const

void ShopInfo::save ( writer outf  )  const

Here is the call graph for this function:

void ShopInfo::load ( reader inf  ) 

Here is the call graph for this function:

bool ShopInfo::show_menu ( const level_pos place,
bool  can_travel 
) const

Here is the call graph for this function:

bool ShopInfo::is_visited (  )  const [inline]

void ShopInfo::write ( std::ostream &  os,
bool  identify = false 
) const

Here is the call graph for this function:

void ShopInfo::reset (  )  [inline]

void ShopInfo::set_name ( const std::string s  )  [inline]

void ShopInfo::add_item ( const item_def item,
unsigned  price 
)

bool ShopInfo::isAt ( const coord_def c  )  const [inline]


Friends And Related Function Documentation

friend class ST_ItemIterator [friend]


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

Generated on Thu Jan 13 13:41:47 2011 by  doxygen 1.5.6