projects
/
libsub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused stuff.
[libsub.git]
/
src
/
stl_binary_reader.h
diff --git
a/src/stl_binary_reader.h
b/src/stl_binary_reader.h
index 240b9e73d751eadf114c8741b1123f5d581923be..94d68b36686f3b5629ef86d1386ec42563ad04b8 100644
(file)
--- a/
src/stl_binary_reader.h
+++ b/
src/stl_binary_reader.h
@@
-26,14
+26,16
@@
namespace sub {
namespace sub {
+class InputReader;
+
/** @class STLBinaryReader
* @brief A class to read binary STL files.
*/
class STLBinaryReader : public Reader
{
public:
/** @class STLBinaryReader
* @brief A class to read binary STL files.
*/
class STLBinaryReader : public Reader
{
public:
-
STLBinaryReader (std::istream &
);
-
~STLBinaryReader (
);
+
explicit STLBinaryReader (std::istream& in
);
+
explicit STLBinaryReader (FILE* in
);
std::map<std::string, std::string> metadata () const;
std::map<std::string, std::string> metadata () const;
@@
-68,12
+70,9
@@
public:
std::string editor_contact_details;
private:
std::string editor_contact_details;
private:
- std::string get_string (int, int) const;
- int get_int (int, int) const;
- Time get_timecode (int) const;
+ void read (std::shared_ptr<InputReader> reader);
STLBinaryTables _tables;
STLBinaryTables _tables;
- unsigned char* _buffer;
};
}
};
}