Skip to content

Commit

Permalink
untabify
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgerlek committed Mar 13, 2012
1 parent 897f0ac commit dd95d7d
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
10 changes: 5 additions & 5 deletions include/pdal/Options.hpp
Expand Up @@ -279,11 +279,11 @@ class PDAL_DLL Options

if (&rhs != this)
{
map_t::const_iterator i;
for (i = rhs.m_options.begin(); i != rhs.m_options.end(); ++i)
{
m_options.insert(std::pair<std::string, Option>(i->first, i->second));
}
map_t::const_iterator i;
for (i = rhs.m_options.begin(); i != rhs.m_options.end(); ++i)
{
m_options.insert(std::pair<std::string, Option>(i->first, i->second));
}

}
return *this;
Expand Down
2 changes: 1 addition & 1 deletion include/pdal/drivers/las/Header.hpp
Expand Up @@ -137,7 +137,7 @@ class PDAL_DLL LasHeader

/// Get project identifier.
/// \return Global Unique Identifier as an instance of liblas::guid class.
boost::uuids::uuid GetProjectId() const;
boost::uuids::uuid GetProjectId() const;

/// Set project identifier.
void SetProjectId(boost::uuids::uuid const& v);
Expand Down
14 changes: 7 additions & 7 deletions include/pdal/drivers/text/Writer.hpp
Expand Up @@ -91,13 +91,13 @@ class PDAL_DLL Writer : public pdal::Writer
Writer& operator=(const Writer&); // not implemented
Writer(const Writer&); // not implemented

std::string getStringRepresentation( PointBuffer const& data,
Dimension const& d,
std::size_t pointIndex) const;
void WriteHeader(pdal::Schema const& schema);
FileStreamPtr m_stream;
bool m_wrote_header;
std::string getStringRepresentation( PointBuffer const& data,
Dimension const& d,
std::size_t pointIndex) const;
void WriteHeader(pdal::Schema const& schema);
FileStreamPtr m_stream;
bool m_wrote_header;
};

} } } // namespaces
Expand Down
2 changes: 1 addition & 1 deletion src/Schema.cpp
Expand Up @@ -386,7 +386,7 @@ int Schema::getDimensionIndex(const Dimension& dim) const

const Dimension& Schema::getDimension(dimension::id const& t) const
{
schema::index_by_uid::const_iterator it = m_index.get<schema::uid>().find(t);
schema::index_by_uid::const_iterator it = m_index.get<schema::uid>().find(t);

if (it != m_index.get<schema::uid>().end())
{
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/las/LasHeaderReader.hpp
Expand Up @@ -49,7 +49,7 @@

namespace pdal {
class Schema;
class Stage;
class Stage;
}

namespace pdal { namespace drivers { namespace las {
Expand Down
4 changes: 2 additions & 2 deletions src/drivers/oci/Writer.cpp
Expand Up @@ -829,8 +829,8 @@ oss << "declare\n"

try
{
Option& pc_id = getOptions().getOptionByRef("pc_id");
pc_id.setValue(m_pc_id);
Option& pc_id = getOptions().getOptionByRef("pc_id");
pc_id.setValue(m_pc_id);
}
catch (pdal::option_not_found&)
{
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/oci/oci_wrapper.cpp
Expand Up @@ -1800,7 +1800,7 @@ char* OWStatement::ReadCLob( OCILobLocator* phLocator )

pszBuffer[nAmont] = '\0';

return pszBuffer;
return pszBuffer;
}

void OWStatement::BindName( const char* pszName, int* pnData )
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/pipeline/Reader.cpp
Expand Up @@ -77,7 +77,7 @@ void Reader::initialize()
setNumPoints(m_stage->getNumPoints());
setPointCountType(m_stage->getPointCountType());
setBounds(m_stage->getBounds());
setSpatialReference(m_stage->getSpatialReference());
setSpatialReference(m_stage->getSpatialReference());

return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/filters/Scaling.cpp
Expand Up @@ -187,7 +187,7 @@ void Scaling::alterSchema(PointBuffer& buffer)
std::pair<dimension::id, dimension::id> p(from_dimension->getUUID(), to_dimension.getUUID());
m_scalingFilter.log()->get(logDEBUG4) << "scale map size was " << m_scale_map.size() << std::endl;
m_scale_map.insert(p);
m_scalingFilter.log()->get(logDEBUG3) << "scale map size is: " << m_scale_map.size() << std::endl;
m_scalingFilter.log()->get(logDEBUG3) << "scale map size is: " << m_scale_map.size() << std::endl;
schema.appendDimension(to_dimension);
}
}
Expand Down
20 changes: 10 additions & 10 deletions test/unit/TerraSolidTest.cpp
Expand Up @@ -63,10 +63,10 @@ void Check_Point(const pdal::PointBuffer& data,
{
const ::pdal::Schema& schema = data.getSchema();

pdal::Dimension const& dimX = schema.getDimension("X");
pdal::Dimension const& dimY = schema.getDimension("Y");
pdal::Dimension const& dimZ = schema.getDimension("Z");
pdal::Dimension const& dimTime = schema.getDimension("Time");
pdal::Dimension const& dimX = schema.getDimension("X");
pdal::Dimension const& dimY = schema.getDimension("Y");
pdal::Dimension const& dimZ = schema.getDimension("Z");
pdal::Dimension const& dimTime = schema.getDimension("Time");

boost::int32_t x = data.getField<boost::int32_t>(dimX, index);
boost::int32_t y = data.getField<boost::int32_t>(dimY, index);
Expand Down Expand Up @@ -99,12 +99,12 @@ BOOST_AUTO_TEST_CASE(test_tsolid)

pdal::Option fname("filename", filename, "filename to read");
pdal::Options options;
// pdal::Option debug("debug", true, "");
// pdal::Option verbose("verbose", 4);
// pdal::Option log("log", "tsolid.log");
// options.add(log);
// options.add(debug);
// options.add(verbose);
// pdal::Option debug("debug", true, "");
// pdal::Option verbose("verbose", 4);
// pdal::Option log("log", "tsolid.log");
// options.add(log);
// options.add(debug);
// options.add(verbose);
options.add(fname);
pdal::drivers::terrasolid::Reader reader(options);
reader.initialize();
Expand Down

0 comments on commit dd95d7d

Please sign in to comment.