Struct TMCell

Inheritance Relationships

Base Types

Struct Documentation

struct TMCell : public Orientable, public gamer::TMCellProperties

Cell data.

Public Functions

TMCell()

Default constructor.

TMCell(int marker, bool selected)

Constructor overload initializes marker and selection.

Parameters
  • [in] marker: Marker value

  • [in] selected: Selection status

TMCell(int orient, int marker, bool selected)

Constructor overload initializes orientation, marker, and selectino.

Parameters
  • [in] orient: Orientation of the cell

  • [in] marker: Marker value

  • [in] selected: Selection status

TMCell(Orientable orient, TMCellProperties prop)

Operator overload.

Parameters
  • [in] orient: Orientation

  • [in] prop: Cell properties

std::string to_string() const

Returns a string representation of the object.

Return

String representation of the object.

Friends

std::ostream &operator<<(std::ostream &output, const TMCell &c)

Print operator overload.

Return

Output

Parameters
  • output: The output

  • [in] c: Cell of interest