Labyrinth
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Types | Public Member Functions | List of all members
LxS::Game::ItemCatalogue Class Reference

catalogue of items More...

#include <item.hpp>

Collaboration diagram for LxS::Game::ItemCatalogue:
Collaboration graph

Public Types

typedef std::deque< Item * > ItemCatalogue_b
 
typedef ItemCatalogue_b::value_type value_type
 for container emulation
 
typedef ItemCatalogue_b::iterator iterator
 for container emulation
 
typedef
ItemCatalogue_b::const_iterator 
const_iterator
 for container emulation
 

Public Member Functions

ItemCatalogue_b::iterator begin ()
 for iteration and container based algorithms, including BOOST_FOREACH
 
ItemCatalogue_b::iterator end ()
 for iteration and container based algorithms, including BOOST_FOREACH
 
ItemCatalogue_b::const_iterator begin () const
 for iteration and container based algorithms, including BOOST_FOREACH
 
ItemCatalogue_b::const_iterator end () const
 for iteration and container based algorithms, including BOOST_FOREACH
 
void AddItem (Item *i)
 Add item to a database.
 
ItemGetItem (const std::string &itemname)
 Return pointer to an item posessed by character' SHOULDN'T IT BE CONST?
 
ItemGetItemCopy (const std::string &itemname)
 create new copy of an item and returns it - good for setting up character sheets
 

Detailed Description

catalogue of items

Member Typedef Documentation

internal data representation/ don't use it. it's made public only for container-manipulating functions


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