Smithy Qt 0.1.0-pre
Internal development documentation
Loading...
Searching...
No Matches
shape.cpp File Reference

Defines the Shape and ShapePrivate classes. More...

#include <qtsmithy/shape.h>
#include "shape_p.h"
#include <QJsonArray>
Include dependency graph for shape.cpp:

Go to the source code of this file.

Functions

size_t qHash (const Shape::ShapeReference &key, size_t seed)
 
bool operator== (const Shape::ShapeReference &lhs, const Shape::ShapeReference &rhs)
 

Detailed Description

Defines the Shape and ShapePrivate classes.

Definition in file shape.cpp.

Function Documentation

◆ operator==()

bool operator== ( const Shape::ShapeReference & lhs,
const Shape::ShapeReference & rhs )

Definition at line 293 of file shape.cpp.

294{
295 return lhs.target == rhs.target;
296}

◆ qHash()

size_t qHash ( const Shape::ShapeReference & key,
size_t seed )

Definition at line 287 of file shape.cpp.

289{
290 return ::qHash(key.target, seed);
291}