CrawlStoreValue Class Reference

#include <store.h>

Collaboration diagram for CrawlStoreValue:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CrawlStoreValue ()
 CrawlStoreValue (const CrawlStoreValue &other)
 ~CrawlStoreValue ()
 CrawlStoreValue (const bool val)
 CrawlStoreValue (const char &val)
 CrawlStoreValue (const short &val)
 CrawlStoreValue (const int &val)
 CrawlStoreValue (const float &val)
 CrawlStoreValue (const std::string &val)
 CrawlStoreValue (const char *val)
 CrawlStoreValue (const coord_def &val)
 CrawlStoreValue (const item_def &val)
 CrawlStoreValue (const CrawlHashTable &val)
 CrawlStoreValue (const CrawlVector &val)
 CrawlStoreValue (const level_id &val)
 CrawlStoreValue (const level_pos &val)
 CrawlStoreValue (const monster &val)
 CrawlStoreValue (const dlua_chunk &val)
CrawlStoreValueoperator= (const CrawlStoreValue &other)
store_flags get_flags () const
store_flags set_flags (store_flags flags)
store_flags unset_flags (store_flags flags)
store_val_type get_type () const
CrawlHashTablenew_table ()
CrawlVectornew_vector (store_flags flags, vec_size max_size=VEC_MAX_SIZE)
CrawlVectornew_vector (store_val_type type, store_flags flags=0, vec_size max_size=VEC_MAX_SIZE)
bool & get_bool ()
char & get_byte ()
short & get_short ()
int & get_int ()
float & get_float ()
std::stringget_string ()
coord_defget_coord ()
CrawlHashTableget_table ()
CrawlVectorget_vector ()
item_defget_item ()
level_idget_level_id ()
level_posget_level_pos ()
monsterget_monster ()
dlua_chunkget_lua ()
bool get_bool () const
char get_byte () const
short get_short () const
int get_int () const
float get_float () const
std::string get_string () const
coord_def get_coord () const
level_id get_level_id () const
level_pos get_level_pos () const
const CrawlHashTableget_table () const
const CrawlVectorget_vector () const
const item_defget_item () const
const monsterget_monster () const
const dlua_chunkget_lua () const
CrawlStoreValueoperator[] (const std::string &key)
CrawlStoreValueoperator[] (const vec_size &index)
const CrawlStoreValueoperator[] (const std::string &key) const
const CrawlStoreValueoperator[] (const vec_size &index) const
 operator bool & ()
 operator char & ()
 operator short & ()
 operator int & ()
 operator float & ()
 operator std::string & ()
 operator coord_def & ()
 operator CrawlHashTable & ()
 operator CrawlVector & ()
 operator item_def & ()
 operator level_id & ()
 operator level_pos & ()
 operator monster & ()
 operator dlua_chunk & ()
 operator bool () const
 operator char () const
 operator short () const
 operator int () const
 operator float () const
 operator std::string () const
 operator coord_def () const
 operator level_id () const
 operator level_pos () const
CrawlStoreValueoperator= (const bool &val)
CrawlStoreValueoperator= (const char &val)
CrawlStoreValueoperator= (const short &val)
CrawlStoreValueoperator= (const int &val)
CrawlStoreValueoperator= (const float &val)
CrawlStoreValueoperator= (const std::string &val)
CrawlStoreValueoperator= (const char *val)
CrawlStoreValueoperator= (const coord_def &val)
CrawlStoreValueoperator= (const CrawlHashTable &val)
CrawlStoreValueoperator= (const CrawlVector &val)
CrawlStoreValueoperator= (const item_def &val)
CrawlStoreValueoperator= (const level_id &val)
CrawlStoreValueoperator= (const level_pos &val)
CrawlStoreValueoperator= (const monster &val)
CrawlStoreValueoperator= (const dlua_chunk &val)
std::stringoperator+= (const std::string &val)
int operator++ ()
int operator-- ()
int operator++ (int)
int operator-- (int)

Protected Member Functions

 CrawlStoreValue (const store_flags flags, const store_val_type type=SV_NONE)
void write (writer &) const
void read (reader &)
void unset (bool force=false)

Protected Attributes

store_val_type type
store_flags flags
StoreUnion val

Friends

class CrawlHashTable
class CrawlVector


Constructor & Destructor Documentation

CrawlStoreValue::CrawlStoreValue (  ) 

CrawlStoreValue::CrawlStoreValue ( const CrawlStoreValue other  ) 

Here is the call graph for this function:

CrawlStoreValue::~CrawlStoreValue (  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const bool  val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const char &  val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const short &  val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const int &  val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const float &  val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const std::string val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const char *  val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const coord_def val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const item_def val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const CrawlHashTable val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const CrawlVector val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const level_id val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const level_pos val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const monster val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const dlua_chunk val  ) 

Here is the call graph for this function:

CrawlStoreValue::CrawlStoreValue ( const store_flags  flags,
const store_val_type  type = SV_NONE 
) [protected]


Member Function Documentation

CrawlStoreValue & CrawlStoreValue::operator= ( const CrawlStoreValue other  ) 

store_flags CrawlStoreValue::get_flags (  )  const

store_flags CrawlStoreValue::set_flags ( store_flags  flags  ) 

store_flags CrawlStoreValue::unset_flags ( store_flags  flags  ) 

store_val_type CrawlStoreValue::get_type (  )  const

CrawlHashTable & CrawlStoreValue::new_table (  ) 

Here is the call graph for this function:

CrawlVector & CrawlStoreValue::new_vector ( store_flags  flags,
vec_size  max_size = VEC_MAX_SIZE 
)

CrawlVector & CrawlStoreValue::new_vector ( store_val_type  type,
store_flags  flags = 0,
vec_size  max_size = VEC_MAX_SIZE 
)

Here is the call graph for this function:

bool & CrawlStoreValue::get_bool (  ) 

char & CrawlStoreValue::get_byte (  ) 

short & CrawlStoreValue::get_short (  ) 

int & CrawlStoreValue::get_int (  ) 

float & CrawlStoreValue::get_float (  ) 

std::string & CrawlStoreValue::get_string (  ) 

coord_def & CrawlStoreValue::get_coord (  ) 

CrawlHashTable & CrawlStoreValue::get_table (  ) 

CrawlVector & CrawlStoreValue::get_vector (  ) 

item_def & CrawlStoreValue::get_item (  ) 

level_id & CrawlStoreValue::get_level_id (  ) 

level_pos & CrawlStoreValue::get_level_pos (  ) 

monster & CrawlStoreValue::get_monster (  ) 

dlua_chunk & CrawlStoreValue::get_lua (  ) 

bool CrawlStoreValue::get_bool (  )  const

char CrawlStoreValue::get_byte (  )  const

short CrawlStoreValue::get_short (  )  const

int CrawlStoreValue::get_int (  )  const

float CrawlStoreValue::get_float (  )  const

std::string CrawlStoreValue::get_string (  )  const

coord_def CrawlStoreValue::get_coord (  )  const

level_id CrawlStoreValue::get_level_id (  )  const

level_pos CrawlStoreValue::get_level_pos (  )  const

const CrawlHashTable & CrawlStoreValue::get_table (  )  const

const CrawlVector & CrawlStoreValue::get_vector (  )  const

const item_def & CrawlStoreValue::get_item (  )  const

const monster& CrawlStoreValue::get_monster (  )  const

const dlua_chunk& CrawlStoreValue::get_lua (  )  const

CrawlStoreValue & CrawlStoreValue::operator[] ( const std::string key  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator[] ( const vec_size index  ) 

Here is the call graph for this function:

const CrawlStoreValue & CrawlStoreValue::operator[] ( const std::string key  )  const

Here is the call graph for this function:

const CrawlStoreValue & CrawlStoreValue::operator[] ( const vec_size index  )  const

Here is the call graph for this function:

CrawlStoreValue::operator bool & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator char & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator short & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator int & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator float & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator std::string & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator coord_def & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator CrawlHashTable & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator CrawlVector & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator item_def & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator level_id & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator level_pos & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator monster & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator dlua_chunk & (  ) 

Here is the call graph for this function:

CrawlStoreValue::operator bool (  )  const

Here is the call graph for this function:

CrawlStoreValue::operator char (  )  const

CrawlStoreValue::operator short (  )  const

CrawlStoreValue::operator int (  )  const

CrawlStoreValue::operator float (  )  const

Here is the call graph for this function:

CrawlStoreValue::operator std::string (  )  const

Here is the call graph for this function:

CrawlStoreValue::operator coord_def (  )  const

Here is the call graph for this function:

CrawlStoreValue::operator level_id (  )  const

Here is the call graph for this function:

CrawlStoreValue::operator level_pos (  )  const

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const bool &  val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const char &  val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const short &  val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const int &  val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const float &  val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const std::string val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const char *  val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const coord_def val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const CrawlHashTable val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const CrawlVector val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const item_def val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const level_id val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const level_pos val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const monster val  ) 

Here is the call graph for this function:

CrawlStoreValue & CrawlStoreValue::operator= ( const dlua_chunk val  ) 

Here is the call graph for this function:

std::string & CrawlStoreValue::operator+= ( const std::string val  ) 

Here is the call graph for this function:

int CrawlStoreValue::operator++ (  ) 

int CrawlStoreValue::operator-- (  ) 

int CrawlStoreValue::operator++ ( int   ) 

int CrawlStoreValue::operator-- ( int   ) 

void CrawlStoreValue::write ( writer th  )  const [protected]

Here is the call graph for this function:

void CrawlStoreValue::read ( reader th  )  [protected]

Here is the call graph for this function:

void CrawlStoreValue::unset ( bool  force = false  )  [protected]

Here is the call graph for this function:


Friends And Related Function Documentation

friend class CrawlHashTable [friend]

friend class CrawlVector [friend]


Member Data Documentation


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

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