Struct TMCell

Inheritance Relationships

Base Types

Struct Documentation

struct gamer::TMCell : public Orientable, public gamer::TMCellProperties

Cell data.

Public Functions

inline TMCell()

Default constructor.

inline TMCell(int marker, bool selected)

Constructor overload initializes marker and selection.

Parameters
  • marker[in] Marker value

  • selected[in] Selection status

inline TMCell(int orient, int marker, bool selected)

Constructor overload initializes orientation, marker, and selectino.

Parameters
  • orient[in] Orientation of the cell

  • marker[in] Marker value

  • selected[in] Selection status

inline TMCell(Orientable orient, TMCellProperties prop)

Operator overload.

Parameters
  • orient[in] Orientation

  • prop[in] Cell properties

inline std::string to_string() const

Returns a string representation of the object.

Returns

String representation of the object.

Friends

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

Print operator overload.

Parameters
  • output – The output

  • c[in] Cell of interest

Returns

Output