Subversion Repositories public iLand

Rev

Rev 39 | Rev 47 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 39 Rev 40
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
    int addReaderStamp(Stamp *stamp, const float crown_radius_m);
22
    const Stamp* stamp(const float bhd_cm, const float height_m) const;
23
    const Stamp* stamp(const float bhd_cm, const float height_m) const;
-
 
24
    const Stamp* readerStamp(const float crown_radius_m) const; ///< retrieve reader-stamp. @param radius of crown in m. @return the appropriate stamp or NULL if not found.
23
    const int count() const { return m_stamps.count(); }
25
    const int count() const { return m_stamps.count(); }
24
    /// save the content of the StampContainer to the output stream (binary encoding)
26
    /// save the content of the StampContainer to the output stream (binary encoding)
25
    void save(QDataStream &out);
27
    void save(QDataStream &out);
26
    /// load the content of the StampContainer to the output stream (binary encoding)
28
    /// load the content of the StampContainer to the output stream (binary encoding)
27
    void load(QDataStream &in);
29
    void load(QDataStream &in);