File: BaseReader.hh

package info (click to toggle)
openmesh 11.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,080 kB
  • sloc: cpp: 56,379; ansic: 5,600; perl: 1,374; sh: 119; makefile: 18
file content (13 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
class BaseReader
{
public:

  virtual std::string get_description() const = 0;
  virtual std::string get_extensions() const = 0;
  virtual std::string get_magic() const { return std::string(""); }

  virtual bool read(std::istream& _is, BaseImporter& _bi) const = 0;
  virtual bool read(const std::string& _filename, BaseImporter& _bi) const = 0;

  ...
};