Changeset 953

Show
Ignore:
Timestamp:
10/30/08 04:35:29 (2 months ago)
Author:
mloskot
Message:

Expose TODO entries in .c and .cpp files from doxygen comments in headers, to not to forget about them.

Location:
trunk
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/include/liblas/capi/liblas.h

    r888 r953  
    520520 *  @param value integer value to set the minor version to (only the values 1 or 0 are valid) 
    521521 *  @return LASError enum 
     522 * 
     523 *  @todo TODO: Maybe this should return fatal error if version out of range -- hobu 
    522524*/ 
    523525LAS_DLL LASError LASHeader_SetVersionMinor(LASHeaderH hHeader, uint8_t value); 
  • trunk/include/liblas/lasheader.hpp

    r875 r953  
    5858/// describing a family of ASPRS LAS files. The header is stored 
    5959/// at the beginning of every valid ASPRS LAS file. 
     60/// 
     61/// \todo  TODO (low-priority): replace static-size char arrays as data members 
     62///        with std::string and return const-reference to string object. 
     63/// 
    6064class LASHeader 
    6165{ 
     
    128132    /// \param v - should be set to a value between 1 and 65535. 
    129133    /// \exception No throw 
     134    /// 
     135    /// \todo TODO: Should we warn or throw about type overflow when user passes 65535 + 1 = 0 
    130136    void SetFileSourceId(uint16_t v); 
    131137 
    132138    /// Get value field reserved by the ASPRS LAS Specification. 
    133139    /// \note This field is always filled with 0. 
     140    /// 
     141    /// \todo TODO: Should we warn or throw about type overflow when user passes 65535 + 1 = 0 
    134142    uint16_t GetReserved() const; 
    135143 
     
    190198 
    191199    /// Get day of year of file creation date. 
    192     /// \todo Use full date structure instead of Julian date number. 
     200    /// \todo TODO: Use full date structure instead of Julian date number. 
    193201    uint16_t GetCreationDOY() const; 
    194202 
    195203    /// Set day of year of file creation date. 
    196204    /// \exception std::out_of_range - given value is higher than number 366. 
    197     /// \todo Use full date structure instead of Julian date number. 
     205    /// \todo TODO: Use full date structure instead of Julian date number. 
    198206    void SetCreationDOY(uint16_t v); 
    199207 
    200208    /// Set year of file creation date. 
    201     /// \todo Remove if full date structure is used. 
     209    /// \todo TODO: Remove if full date structure is used. 
    202210    uint16_t GetCreationYear() const; 
    203211 
    204212    /// Get year of file creation date. 
    205213    /// \exception std::out_of_range - given value is higher than number 9999. 
    206     /// \todo Remove if full date structure is used. 
     214    /// \todo TODO: Remove if full date structure is used. 
    207215    void SetCreationYear(uint16_t v); 
    208216 
  • trunk/include/liblas/laspoint.hpp

    r813 r953  
    5656/// 
    5757/// \todo TODO: Think about last 1-byte field in record Point Source ID (LAS 1.1) 
     58/// 
    5859class LASPoint 
    5960{ 
     
    143144    double const& operator[](std::size_t const& n) const; 
    144145 
     146    /// \todo TODO: Should we compare other data members, but not only coordinates? 
    145147    bool equal(LASPoint const& other) const; 
    146148 
  • trunk/include/liblas/lasreader.hpp

    r813 r953  
    8686 
    8787    void Init(); // throws on error 
     88 
     89    /// \todo TODO: Should we handle m_record.point_source_id ? 
    8890    void MakePoint(double const& time); 
    8991 
  • trunk/include/liblas/laswriter.hpp

    r813 r953  
    6565    std::size_t GetVersion() const; 
    6666    LASHeader const& GetHeader() const; 
     67 
     68    /// \todo TODO: Move point record composition deep into writer implementation. 
     69    /// \todo TODO: How to handle point_source_id in portable way, for LAS 1.0 and 1.1 
    6770    bool WritePoint(LASPoint const& point); 
    6871 
  • trunk/src/lasreader.cpp

    r813 r953  
    170170    m_point.SetUserData(m_record.user_data); 
    171171     
    172     // TODO: Are we going to handle m_record.point_source_id ? 
     172    // TODO: Should we handle m_record.point_source_id ? 
    173173 
    174174    m_point.SetTime(time); 
  • trunk/src/laswriter.cpp

    r813 r953  
    9191    m_record.scan_angle_rank = point.GetScanAngleRank(); 
    9292    m_record.user_data = point.GetUserData(); 
    93     m_record.point_source_id = 0; // TODO: How to handle this in portable way, for LAS 1.0 and 1.1 
     93    // TODO: How to handle this in portable way, for LAS 1.0 and 1.1 
     94    m_record.point_source_id = 0; 
    9495 
    9596