[Liblas-commits] hg: 2 new changesets
liblas-commits at liblas.org
liblas-commits at liblas.org
Fri Jan 29 09:53:46 EST 2010
changeset 464b44fb9875 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=464b44fb9875
summary: don't have virtual ~ if we're the final subclass right now
changeset addf137144ca in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=addf137144ca
summary: a few comments
diffstat:
include/liblas/lasformat.hpp | 6 +-----
include/liblas/liblas.hpp | 5 +++--
2 files changed, 4 insertions(+), 7 deletions(-)
diffs (52 lines):
diff -r bd935dd337d1 -r addf137144ca include/liblas/lasformat.hpp
--- a/include/liblas/lasformat.hpp Thu Jan 28 11:42:57 2010 +0000
+++ b/include/liblas/lasformat.hpp Fri Jan 29 08:49:06 2010 -0600
@@ -55,7 +55,7 @@
public:
LASPointFormat(liblas::uint8_t major, liblas::uint8_t minor, liblas::PointSize size);
- virtual ~LASPointFormat();
+ // virtual ~LASPointFormat();
virtual liblas::PointSize GetByteSize() const = 0;
virtual void SetByteSize(liblas::PointSize& size) const = 0;
@@ -70,9 +70,6 @@
void Color(bool bColor) {m_hasColor = bColor; }
bool Time() const { return m_hasTime; }
void Time(bool bTime) {m_hasTime = bTime; }
-
-
-
protected:
@@ -92,7 +89,6 @@
};
-
} // namespace liblas
#endif // LIBLAS_FORMAT_HPP_INCLUDED
diff -r bd935dd337d1 -r addf137144ca include/liblas/liblas.hpp
--- a/include/liblas/liblas.hpp Thu Jan 28 11:42:57 2010 +0000
+++ b/include/liblas/liblas.hpp Fri Jan 29 08:49:06 2010 -0600
@@ -132,7 +132,8 @@
ePointFormat0 = 0, ///< Point Data Format \e 0
ePointFormat1 = 1, ///< Point Data Format \e 1
ePointFormat2 = 2, ///< Point Data Format \e 2
- ePointFormat3 = 3 ///< Point Data Format \e 3
+ ePointFormat3 = 3, ///< Point Data Format \e 3
+ ePointFormatUnknown = -99 ///< Point Data Format is unknown
};
/// Number of bytes of point record storage in particular format.
@@ -142,7 +143,7 @@
ePointSize1 = 28, ///< Size of point record in data format \e 1
ePointSize2 = 26, ///< Size of point record in data format \e 2
ePointSize3 = 34, ///< Size of point record in data format \e 3
- ePointSizeUnknown = -99
+ ePointSizeUnknown = -99 ///< Size of point record is unknown and may possibly be variable
};
} // namespace liblas
More information about the Liblas-commits
mailing list