Smithy Qt 0.1.0-pre
Internal development documentation
Loading...
Searching...
No Matches
shapeid.h File Reference

Declares the ShapeId class. More...

#include "qtsmithy_global.h"
#include <QtGlobal>
#include <QCoreApplication>
#include <QHash>
Include dependency graph for shapeid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ShapeId
 The ShapeId class provides a Qt representation of a Smithy Shape ID. More...
 

Typedefs

typedef QHash< ShapeId, QString > ShapeIdStringMap
 

Functions

QTSMITHY_EXPORT size_t qHash (const ShapeId &key, size_t seed=0)
 

Detailed Description

Declares the ShapeId class.

Definition in file shapeid.h.

Typedef Documentation

◆ ShapeIdStringMap

typedef QHash<ShapeId, QString> ShapeIdStringMap

Definition at line 78 of file shapeid.h.

Function Documentation

◆ qHash()

QTSMITHY_EXPORT size_t qHash ( const ShapeId & key,
size_t seed = 0 )

Definition at line 318 of file shapeid.cpp.

320{
321 return ::qHash(key.toString(), seed);
322}
QString toString() const
Returns this object as an absolute Smithy Shape ID if this object has a namespace,...
Definition shapeid.cpp:214