level_range Struct Reference

#include <mapdef.h>

List of all members.

Public Member Functions

 level_range (const raw_range &range)
 level_range (branch_type br=BRANCH_MAIN_DUNGEON, int s=-1, int d=-1)
void set (int s, int d=-1)
void set (const std::string &branch, int s, int d) throw (std::string)
void reset ()
bool matches (const level_id &) const
bool matches (int depth) const
void write (writer &) const
void read (reader &)
bool valid () const
int span () const
std::string describe () const
std::string str_depth_range () const
bool operator== (const level_range &lr) const
 operator raw_range () const
 operator std::string () const

Static Public Member Functions

static level_range parse (std::string lr) throw (std::string)

Public Attributes

level_area_type level_type
branch_type branch
int shallowest
int deepest
bool deny


Constructor & Destructor Documentation

level_range::level_range ( const raw_range range  ) 

level_range::level_range ( branch_type  br = BRANCH_MAIN_DUNGEON,
int  s = -1,
int  d = -1 
)


Member Function Documentation

void level_range::set ( int  s,
int  d = -1 
)

void level_range::set ( const std::string branch,
int  s,
int  d 
) throw (std::string)

Here is the call graph for this function:

void level_range::reset (  ) 

bool level_range::matches ( const level_id lid  )  const

Here is the call graph for this function:

bool level_range::matches ( int  depth  )  const

void level_range::write ( writer outf  )  const

Here is the call graph for this function:

void level_range::read ( reader inf  ) 

Here is the call graph for this function:

bool level_range::valid (  )  const

int level_range::span (  )  const

level_range level_range::parse ( std::string  lr  )  throw (std::string) [static]

Here is the call graph for this function:

std::string level_range::describe (  )  const

Here is the call graph for this function:

std::string level_range::str_depth_range (  )  const

Here is the call graph for this function:

bool level_range::operator== ( const level_range lr  )  const

level_range::operator raw_range (  )  const

level_range::operator std::string (  )  const [inline]

Here is the call graph for this function:


Member Data Documentation


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

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