qHexWalker 0.0.1
Hexagonal Grid Pathfinding & Maze Visualization on Interactive Maps
Loading...
Searching...
No Matches
IH3Data Class Reference

#include <iH3Data.h>

+ Inheritance diagram for IH3Data:
+ Collaboration diagram for IH3Data:

Public Member Functions

 IH3Data (QObject *parent=nullptr)
 
 ~IH3Data () override
 
quint8 res () const noexcept
 
quint64 index () const noexcept
 
QColor color () const noexcept
 
QVariantList path () const
 
void setRes (quint8 res)
 
void setIndex (quint64 index)
 
void setColor (const QColor &color)
 
void setPath (const QVariantList &path)
 
public::void resChanged ()
 
void indexChanged ()
 
void colorChanged ()
 
void pathChanged ()
 

Private Attributes

quint8 res_ {}
 
quint64 index_ {}
 
QColor color_ {}
 
QVariantList path_
 

Detailed Description

Definition at line 4 of file iH3Data.h.

Constructor & Destructor Documentation

◆ IH3Data()

IH3Data::IH3Data ( QObject *  parent = nullptr)
explicit

Definition at line 3 of file iH3Data.cpp.

◆ ~IH3Data()

IH3Data::~IH3Data ( )
overridedefault

Member Function Documentation

◆ color()

QColor IH3Data::color ( ) const
noexcept

Definition at line 9 of file iH3Data.cpp.

References color_.

Referenced by setColor().

+ Here is the caller graph for this function:

◆ colorChanged()

void IH3Data::colorChanged ( )

Referenced by setColor().

+ Here is the caller graph for this function:

◆ index()

quint64 IH3Data::index ( ) const
noexcept

Definition at line 8 of file iH3Data.cpp.

References index_.

Referenced by setIndex().

+ Here is the caller graph for this function:

◆ indexChanged()

void IH3Data::indexChanged ( )

Referenced by setIndex().

+ Here is the caller graph for this function:

◆ path()

QVariantList IH3Data::path ( ) const

Definition at line 10 of file iH3Data.cpp.

References path_.

Referenced by setPath().

+ Here is the caller graph for this function:

◆ pathChanged()

void IH3Data::pathChanged ( )

Referenced by setPath().

+ Here is the caller graph for this function:

◆ res()

quint8 IH3Data::res ( ) const
noexcept

Definition at line 7 of file iH3Data.cpp.

References res_.

Referenced by setRes().

+ Here is the caller graph for this function:

◆ resChanged()

public::void IH3Data::resChanged ( )

Referenced by setRes().

+ Here is the caller graph for this function:

◆ setColor()

void IH3Data::setColor ( const QColor &  color)

Definition at line 25 of file iH3Data.cpp.

References color(), color_, and colorChanged().

+ Here is the call graph for this function:

◆ setIndex()

void IH3Data::setIndex ( quint64  index)

Definition at line 19 of file iH3Data.cpp.

References index(), index_, and indexChanged().

+ Here is the call graph for this function:

◆ setPath()

void IH3Data::setPath ( const QVariantList &  path)

Definition at line 32 of file iH3Data.cpp.

References path(), path_, and pathChanged().

+ Here is the call graph for this function:

◆ setRes()

void IH3Data::setRes ( quint8  res)

Definition at line 12 of file iH3Data.cpp.

References res(), res_, and resChanged().

+ Here is the call graph for this function:

Member Data Documentation

◆ color_

QColor IH3Data::color_ {}
private

Definition at line 36 of file iH3Data.h.

Referenced by color(), and setColor().

◆ index_

quint64 IH3Data::index_ {}
private

Definition at line 35 of file iH3Data.h.

Referenced by index(), and setIndex().

◆ path_

QVariantList IH3Data::path_
private

Definition at line 37 of file iH3Data.h.

Referenced by path(), and setPath().

◆ res_

quint8 IH3Data::res_ {}
private

Definition at line 34 of file iH3Data.h.

Referenced by res(), and setRes().


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