Skip to content

Commit

Permalink
Remove StageIterator.
Browse files Browse the repository at this point in the history
Remove iterator use from reader.
  • Loading branch information
abellgithub committed Sep 9, 2014
1 parent 936a911 commit 417c10a
Show file tree
Hide file tree
Showing 31 changed files with 8 additions and 798 deletions.
14 changes: 1 addition & 13 deletions include/pdal/Reader.hpp
Expand Up @@ -36,18 +36,10 @@

#include <pdal/Stage.hpp>
#include <pdal/Options.hpp>
#include <pdal/StageIterator.hpp>

namespace pdal
{

//
// supported options:
// <uint32>id
// <bool>debug
// <uint32>verbose
//

class PDAL_DLL Reader : public Stage
{
public:
Expand All @@ -64,11 +56,7 @@ class PDAL_DLL Reader : public Stage
{
PointBufferSet pbSet;

StageSequentialIterator *it = createSequentialIterator();
if (it)
it->read(*buffer);
else
read(*buffer, m_count);
read(*buffer, m_count);
pbSet.insert(buffer);
return pbSet;
}
Expand Down
165 changes: 0 additions & 165 deletions include/pdal/StageIterator.hpp

This file was deleted.

97 changes: 0 additions & 97 deletions include/pdal/drivers/bpf/BpfSeqIterator.hpp

This file was deleted.

1 change: 0 additions & 1 deletion include/pdal/drivers/faux/Reader.hpp
Expand Up @@ -35,7 +35,6 @@
#pragma once

#include <pdal/Reader.hpp>
#include <pdal/StageIterator.hpp>

namespace pdal
{
Expand Down
1 change: 0 additions & 1 deletion include/pdal/drivers/icebridge/Reader.hpp
Expand Up @@ -35,7 +35,6 @@
#pragma once

#include <pdal/Reader.hpp>
#include <pdal/StageIterator.hpp>
#include <pdal/Options.hpp>
#include <pdal/Hdf5Handler.hpp>

Expand Down
1 change: 0 additions & 1 deletion include/pdal/drivers/las/Reader.hpp
Expand Up @@ -36,7 +36,6 @@

#include <pdal/Reader.hpp>

#include <pdal/StageIterator.hpp>
#include <pdal/StreamFactory.hpp>
#include <pdal/drivers/las/Support.hpp>
#include <pdal/drivers/las/Header.hpp>
Expand Down
1 change: 0 additions & 1 deletion include/pdal/drivers/pcd/Reader.hpp
Expand Up @@ -36,7 +36,6 @@

#include <pdal/PointBuffer.hpp>
#include <pdal/Reader.hpp>
#include <pdal/StageIterator.hpp>
#include <pdal/drivers/pcd/Common.hpp>

namespace pdal
Expand Down
1 change: 0 additions & 1 deletion include/pdal/drivers/qfit/Reader.hpp
Expand Up @@ -39,7 +39,6 @@
#include <boost/detail/endian.hpp>

#include <pdal/Reader.hpp>
#include <pdal/StageIterator.hpp>
#include <pdal/Options.hpp>

#ifdef BOOST_LITTLE_ENDIAN
Expand Down
1 change: 0 additions & 1 deletion include/pdal/drivers/sbet/Reader.hpp
Expand Up @@ -37,7 +37,6 @@
#include <pdal/IStream.hpp>
#include <pdal/PointBuffer.hpp>
#include <pdal/Reader.hpp>
#include <pdal/StageIterator.hpp>
#include <pdal/drivers/sbet/Common.hpp>

namespace pdal
Expand Down
1 change: 0 additions & 1 deletion include/pdal/drivers/terrasolid/Reader.hpp
Expand Up @@ -35,7 +35,6 @@
#pragma once

#include <pdal/Reader.hpp>
#include <pdal/StageIterator.hpp>
#include <pdal/Options.hpp>

#include <vector>
Expand Down
1 change: 0 additions & 1 deletion include/pdal/kernel/Delta.hpp
Expand Up @@ -36,7 +36,6 @@
#define INCLUDED_PDAL_KERNEL_DELTA_HPP

#include <pdal/Stage.hpp>
#include <pdal/StageIterator.hpp>
#include <pdal/FileUtils.hpp>
#include <pdal/PointBuffer.hpp>
#include <pdal/KDIndex.hpp>
Expand Down
1 change: 0 additions & 1 deletion include/pdal/kernel/Diff.hpp
Expand Up @@ -36,7 +36,6 @@
#define INCLUDED_PDAL_KERNEL_DIFF_HPP

#include <pdal/Stage.hpp>
#include <pdal/StageIterator.hpp>
#include <pdal/FileUtils.hpp>
#include <pdal/PointBuffer.hpp>

Expand Down
1 change: 0 additions & 1 deletion include/pdal/kernel/Info.hpp
Expand Up @@ -35,7 +35,6 @@
#pragma once

#include <pdal/Stage.hpp>
#include <pdal/StageIterator.hpp>
#include <pdal/FileUtils.hpp>
#include <pdal/PointBuffer.hpp>
#include <pdal/filters/Stats.hpp>
Expand Down
2 changes: 0 additions & 2 deletions include/pdal/kernel/Pipeline.hpp
Expand Up @@ -36,13 +36,11 @@
#define INCLUDED_PDAL_KERNEL_PIPELINE_HPP



#include <pdal/PipelineReader.hpp>
#include <pdal/PipelineManager.hpp>
#include <pdal/PipelineWriter.hpp>
#include <pdal/FileUtils.hpp>
#include <pdal/PointBuffer.hpp>
#include <pdal/StageIterator.hpp>

#include "Application.hpp"

Expand Down

0 comments on commit 417c10a

Please sign in to comment.