#include <map_primitives.h>
Public Types | |
enum | BoundPosition { BoundPosition::Left, BoundPosition::Right, BoundPosition::Top, BoundPosition::Bot } |
Public Member Functions | |
CecumTextRasterMapPrimitive (int w, int h, BoundPosition bnd_pos=BoundPosition::Top) | |
std::vector< Rectangle > | free_space () const override |
int | height () const override |
int | width () const override |
Public Member Functions inherited from TextRasterMapPrimitive | |
std::istream & | to_stream () const override |
Protected Member Functions | |
std::string | text_raster () const override |
Private Member Functions | |
std::string | generate_horizontally_bounded_cecum (BoundPosition bnd_pos) |
std::string | generate_vertically_bounded_cecum (BoundPosition bnd_pos) |
Private Attributes | |
BoundPosition | _bnd_pos |
int | _height |
std::string | _raw_cecum |
int | _width |
Additional Inherited Members | |
Static Public Attributes inherited from TextRasterMapPrimitive | |
static constexpr char | Completely_Free_Marker = ' ' |
static constexpr char | Completely_Occupied_Marker = '+' |
static constexpr char | Row_End_Marker = '\n' |
Static Public Attributes inherited from MapPrimitive | |
static constexpr int | Unknown_Value = -1 |
Definition at line 64 of file map_primitives.h.
|
strong |
Enumerator | |
---|---|
Left | |
Right | |
Top | |
Bot |
Definition at line 66 of file map_primitives.h.
|
inline |
Definition at line 68 of file map_primitives.h.
|
inlineoverridevirtual |
Reimplemented from MapPrimitive.
Definition at line 84 of file map_primitives.h.
|
inlineprivate |
Definition at line 104 of file map_primitives.h.
|
inlineprivate |
Definition at line 126 of file map_primitives.h.
|
inlineoverridevirtual |
Reimplemented from MapPrimitive.
Definition at line 83 of file map_primitives.h.
|
inlineoverrideprotectedvirtual |
Implements TextRasterMapPrimitive.
Definition at line 102 of file map_primitives.h.
|
inlineoverridevirtual |
Reimplemented from MapPrimitive.
Definition at line 82 of file map_primitives.h.
|
private |
Definition at line 153 of file map_primitives.h.
|
private |
Definition at line 151 of file map_primitives.h.
|
private |
Definition at line 152 of file map_primitives.h.
|
private |
Definition at line 151 of file map_primitives.h.