Public Member Functions | Public Attributes | Private Attributes | Friends
Stg::Cell Class Reference

#include <region.hh>

List of all members.

Public Member Functions

void AddBlock (Block *b, unsigned int index)
 Cell ()
const std::vector< Block * > & GetBlocks (unsigned int index)
void RemoveBlock (Block *b, unsigned int index)

Public Attributes

Regionregion

Private Attributes

std::vector< Block * > blocks [2]

Friends

class SuperRegion
class World

Detailed Description

Definition at line 34 of file region.hh.


Constructor & Destructor Documentation

Stg::Cell::Cell ( ) [inline]

Definition at line 43 of file region.hh.


Member Function Documentation

void Stg::Cell::AddBlock ( Block b,
unsigned int  index 
)

Definition at line 267 of file region.cc.

const std::vector<Block*>& Stg::Cell::GetBlocks ( unsigned int  index) [inline]

Definition at line 51 of file region.hh.

void Stg::Cell::RemoveBlock ( Block b,
unsigned int  index 
)

Definition at line 274 of file region.cc.


Friends And Related Function Documentation

friend class SuperRegion [friend]

Definition at line 36 of file region.hh.

friend class World [friend]

Definition at line 37 of file region.hh.


Member Data Documentation

std::vector<Block*> Stg::Cell::blocks[2] [private]

Definition at line 40 of file region.hh.

Definition at line 54 of file region.hh.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Thu Aug 27 2015 15:20:57