[Liblas-commits] hg: typo variable name
liblas-commits at liblas.org
liblas-commits at liblas.org
Sat Aug 28 23:26:40 EDT 2010
changeset 3a3b6dc77e12 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=3a3b6dc77e12
summary: typo variable name
diffstat:
apps/las2oci.cpp | 2 +-
include/liblas/lasschema.hpp | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r e3275d58439e -r 3a3b6dc77e12 apps/las2oci.cpp
--- a/apps/las2oci.cpp Fri Aug 27 10:58:20 2010 -0500
+++ b/apps/las2oci.cpp Sat Aug 28 22:26:29 2010 -0500
@@ -50,7 +50,7 @@
void SetGDALErrorHandler(bool debug)
{
CPLPopErrorHandler();
- if (verbose)
+ if (debug)
CPLPushErrorHandler(OCIGDALDebugErrorHandler);
else
CPLPushErrorHandler(OCIGDALErrorHandler);
diff -r e3275d58439e -r 3a3b6dc77e12 include/liblas/lasschema.hpp
--- a/include/liblas/lasschema.hpp Fri Aug 27 10:58:20 2010 -0500
+++ b/include/liblas/lasschema.hpp Sat Aug 28 22:26:29 2010 -0500
@@ -104,7 +104,7 @@
class Dimension
{
public:
- Dimension(std::string const& name) : m_name(name) {};
+ Dimension(std::string const& name, uint32_t size_in_bits) : m_name(name), m_bitsize(size_in_bits) {};
std::string const& GetName() { return m_name; }
@@ -113,9 +113,14 @@
/// bytes, physical/serialisation size of record
virtual std::size_t GetByteSize() const = 0;
+
+ virtual bool IsRequired() const = 0;
+
+ virtual void IsRequired(bool bRequired) = 0;
private:
std::string m_name;
+ boost::uint32_t m_bitsize;
};
template <typename T>
More information about the Liblas-commits
mailing list