Public Member Functions | Private Attributes | Static Private Attributes | List of all members
Directions Class Reference

#include <directions.h>

Public Member Functions

bool bot () const
 
int horz () const
 
bool left () const
 
bool right () const
 
Directionsset_bot ()
 
Directionsset_left ()
 
Directionsset_right ()
 
Directionsset_top ()
 
bool top () const
 
int vert () const
 

Private Attributes

int _data = 0
 

Static Private Attributes

static constexpr int Bot_Id = 1 << 3
 
static constexpr int Left_Id = 1 << 0
 
static constexpr int Right_Id = 1 << 1
 
static constexpr int Top_Id = 1 << 2
 

Detailed Description

Definition at line 4 of file directions.h.

Member Function Documentation

bool Directions::bot ( ) const
inline

Definition at line 19 of file directions.h.

int Directions::horz ( ) const
inline

Definition at line 20 of file directions.h.

bool Directions::left ( ) const
inline

Definition at line 16 of file directions.h.

bool Directions::right ( ) const
inline

Definition at line 17 of file directions.h.

Directions& Directions::set_bot ( )
inline

Definition at line 14 of file directions.h.

Directions& Directions::set_left ( )
inline

Definition at line 11 of file directions.h.

Directions& Directions::set_right ( )
inline

Definition at line 12 of file directions.h.

Directions& Directions::set_top ( )
inline

Definition at line 13 of file directions.h.

bool Directions::top ( ) const
inline

Definition at line 18 of file directions.h.

int Directions::vert ( ) const
inline

Definition at line 24 of file directions.h.

Member Data Documentation

int Directions::_data = 0
private

Definition at line 30 of file directions.h.

constexpr int Directions::Bot_Id = 1 << 3
staticprivate

Definition at line 9 of file directions.h.

constexpr int Directions::Left_Id = 1 << 0
staticprivate

Definition at line 6 of file directions.h.

constexpr int Directions::Right_Id = 1 << 1
staticprivate

Definition at line 7 of file directions.h.

constexpr int Directions::Top_Id = 1 << 2
staticprivate

Definition at line 8 of file directions.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26