/usr/include/fixstation.h is in libdewalls-dev 1.0.0+ds1-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | #ifndef DEWALLS_FIXSTATION_H
#define DEWALLS_FIXSTATION_H
#include "unitizeddouble.h"
#include "length.h"
#include "angle.h"
#include "varianceoverride.h"
#include <QSharedData>
#include <QSharedDataPointer>
#include <QSharedPointer>
#include <QString>
#include <QDate>
#include "wallsunits.h"
#include "dewallsexport.h"
namespace dewalls {
class FixStationData : public QSharedData
{
public:
typedef UnitizedDouble<Length> ULength;
typedef UnitizedDouble<Angle> UAngle;
typedef QSharedPointer<VarianceOverride> VarianceOverridePtr;
inline FixStationData()
: QSharedData(),
name(),
north(),
east(),
rectUp(),
latitude(),
longitude(),
horizVariance(),
vertVariance(),
note(),
segment(),
comment(),
date(),
units() { }
QString name;
ULength north;
ULength east;
ULength rectUp;
UAngle latitude;
UAngle longitude;
VarianceOverridePtr horizVariance;
VarianceOverridePtr vertVariance;
QString note;
QStringList segment;
QString comment;
QDate date;
WallsUnits units;
};
class DEWALLS_LIB_EXPORT FixStation
{
public:
typedef UnitizedDouble<Length> ULength;
typedef UnitizedDouble<Angle> UAngle;
typedef QSharedPointer<VarianceOverride> VarianceOverridePtr;
inline FixStation() { d = new FixStationData; }
inline FixStation(const FixStation& other)
: d(other.d) { }
inline QString name() { return d->name; }
inline ULength north() { return d->north; }
inline ULength east() { return d->east; }
inline ULength rectUp() { return d->rectUp; }
inline UAngle latitude() { return d->latitude; }
inline UAngle longitude() { return d->longitude; }
inline VarianceOverridePtr horizVariance() { return d->horizVariance; }
inline VarianceOverridePtr vertVariance() { return d->vertVariance; }
inline QString note() { return d->note; }
inline QStringList segment() { return d->segment; }
inline QString comment() { return d->comment; }
inline QDate date() const { return d->date; }
inline WallsUnits units() const { return d->units; }
inline void setName(QString name) { d->name = name; }
inline void setNorth(ULength north) { d->north = north; }
inline void setEast(ULength east) { d->east = east; }
inline void setRectUp(ULength rectUp) { d->rectUp = rectUp; }
inline void setLatitude(UAngle latitude) { d->latitude = latitude; }
inline void setLongitude(UAngle longitude) { d->longitude = longitude; }
inline void setHorizVariance(VarianceOverridePtr horizVariance) { d->horizVariance = horizVariance; }
inline void setVertVariance(VarianceOverridePtr vertVariance) { d->vertVariance = vertVariance; }
inline void setNote(QString note) { d->note = note; }
inline void setSegment(QStringList segment) { d->segment = segment; }
inline void setComment(QString comment) { d->comment = comment; }
inline void setDate(QDate date) { d->date = date; }
inline void setUnits(WallsUnits units) { d->units = units; }
private:
QSharedDataPointer<FixStationData> d;
};
} // namespace dewalls
#endif // DEWALLS_FIXSTATION_H
|