---
name: "Room"
section: "3"
platform: "linux"
package: "libcorelinux-dev"
version: "0.4.32-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/Room"
---

# Room(3)

Room is a concrete subclass of MapSite that defines a key relationship between components in the maze.

## NAME

Room - Room is a concrete subclass of **MapSite** that defines a key relationship between components in the maze.

## SYNOPSIS

`#include <Room.hpp>`

Inherits **MapSite**.

### Public Member Functions

**Room** (void)\
 *Default constructor.*  **Room** (RoomNumberCref aRoomNumber)\
 *Default with RoomNumber.*  **Room** (**RoomCref**)  throw ( corelinux::Assertion  )\
 *Copy constructor.*  virtual **~Room** (void)\
 *Virtual destructor.*  **RoomRef** **operator=** (**RoomCref** aRef)  throw ( corelinux::Assertion  )\
 *Assignment operator.*  bool **operator==** (**RoomCref** aRef) const \
 *Equality operator returns true if instances are the same.*  RoomNumberCref **getRoomNumber** (void) const \
 *Gets the room number.*  **MapSitePtr** **getSide** (Direction) const \
 *Retrieve the* **MapSite** *object given a direction.*  void **setRoomNumber** (RoomNumberCref aRef)\
 *Sets the room number.*  void **setSide** (Direction, **MapSitePtr**)\
 *Sets a object for the given direction side.*  virtual void **enter** (void)\
 *The one operation 'enter', the meaning depends on the derivation, or what it is you are entering.*

## Detailed Description

Room is a concrete subclass of **MapSite** that defines a key relationship between components in the maze.

It also contains a identifier for rooms in the maze RoomNumber. As rooms go, this one has four walls only.

## Author

Generated automatically by Doxygen for CoreLinux++ from the source code.
