1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
-
-
-
-
-
-
- #ifndef GRIDREADER_INC
- #define GRIDREADER_INC
-
- #include "LemmaObject.h"
- #include "Grid.h"
-
- namespace Lemma {
-
-
-
- class GridReader : public LemmaObject {
-
- friend std::ostream &operator << (std::ostream &stream, const GridReader &ob) {
- stream << ob.Serialize() << "\n---\n";
- return stream;
- }
-
- public:
-
-
-
-
-
-
-
- virtual void ReadASCIIGridFile( const std::string& name )=0;
-
- virtual std::shared_ptr< Grid > GetGrid( )=0;
-
-
-
-
-
-
- virtual inline std::string GetName() const {
- return this->CName;
- }
-
- protected:
-
-
-
-
- GridReader ( ) : LemmaObject( ) {
- }
-
-
- ~GridReader () {
- }
-
- private:
-
-
- static constexpr auto CName = "GridReader";
-
-
-
- };
-
-
- }
-
- #endif
|