Stash Class Reference

#include <stash.h>

List of all members.

Public Member Functions

 Stash (int xp=-1, int yp=-1)
void update ()
void save (writer &) const
void load (reader &)
std::string description () const
std::string feature_description () const
std::vector< item_defget_items () const
bool show_menu (const level_pos &place, bool can_travel) const
bool pickup_eligible () const
bool unverified () const
bool matches_search (const std::string &prefix, const base_pattern &search, stash_search_result &res) const
void write (std::ostream &os, int refx=0, int refy=0, std::string place="", bool identify=false) const
bool empty () const
bool isAt (const coord_def &c) const
int abs_pos () const
int getX () const
int getY () const
bool is_verified () const

Static Public Member Functions

static bool is_boring_feature (dungeon_feature_type feat)
static void filter (object_class_type base_type, uint8_t sub_type)
static void filter (const std::string &filt)
static std::string stash_item_name (const item_def &item)
static bool is_filtered (const item_def &item)

Public Attributes

bool enabled

Friends

class LevelStashes
class ST_ItemIterator


Constructor & Destructor Documentation

Stash::Stash ( int  xp = -1,
int  yp = -1 
)

Here is the call graph for this function:


Member Function Documentation

bool Stash::is_boring_feature ( dungeon_feature_type  feat  )  [static]

Here is the call graph for this function:

void Stash::filter ( object_class_type  base_type,
uint8_t  sub_type 
) [static]

void Stash::filter ( const std::string filt  )  [static]

Here is the call graph for this function:

std::string Stash::stash_item_name ( const item_def item  )  [static]

Here is the call graph for this function:

void Stash::update (  ) 

Here is the call graph for this function:

void Stash::save ( writer outf  )  const

Here is the call graph for this function:

void Stash::load ( reader inf  ) 

Here is the call graph for this function:

std::string Stash::description (  )  const

Here is the call graph for this function:

std::string Stash::feature_description (  )  const

std::vector< item_def > Stash::get_items (  )  const

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

Here is the call graph for this function:

bool Stash::pickup_eligible (  )  const

Here is the call graph for this function:

bool Stash::unverified (  )  const

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

Here is the call graph for this function:

void Stash::write ( std::ostream &  os,
int  refx = 0,
int  refy = 0,
std::string  place = "",
bool  identify = false 
) const

Here is the call graph for this function:

bool Stash::empty (  )  const [inline]

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

int Stash::abs_pos (  )  const [inline]

int Stash::getX (  )  const [inline]

int Stash::getY (  )  const [inline]

bool Stash::is_verified (  )  const [inline]

bool Stash::is_filtered ( const item_def item  )  [static]

Here is the call graph for this function:


Friends And Related Function Documentation

friend class LevelStashes [friend]

friend class ST_ItemIterator [friend]


Member Data Documentation


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

Generated on Thu Jan 13 13:42:14 2011 by  doxygen 1.5.6