Rev 38 | Rev 40 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 38 | Rev 39 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | ~StampContainer(); |
17 | ~StampContainer(); |
18 | void useLookup(const bool use) { m_useLookup = use; } |
18 | void useLookup(const bool use) { m_useLookup = use; } |
19 | /// addStamp() add a pre-allocated stamp @param stamp to internal collection. Caller must allocate stamp on the heap,
|
19 | /// addStamp() add a pre-allocated stamp @param stamp to internal collection. Caller must allocate stamp on the heap,
|
20 | /// freeing is done by this class.
|
20 | /// freeing is done by this class.
|
21 | int addStamp(Stamp* stamp, const float bhd, const float hd_value); |
21 | int addStamp(Stamp* stamp, const float bhd, const float hd_value); |
22 | const Stamp* stamp(const float bhd_cm, const float height_m); |
22 | const Stamp* stamp(const float bhd_cm, const float height_m) const; |
- | 23 | const int count() const { return m_stamps.count(); } |
|
23 | /// save the content of the StampContainer to the output stream (binary encoding)
|
24 | /// save the content of the StampContainer to the output stream (binary encoding)
|
24 | void save(QDataStream &out); |
25 | void save(QDataStream &out); |
25 | /// load the content of the StampContainer to the output stream (binary encoding)
|
26 | /// load the content of the StampContainer to the output stream (binary encoding)
|
26 | void load(QDataStream &in); |
27 | void load(QDataStream &in); |
27 | 28 |