1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
-
-
-
-
-
-
- #ifndef DATAREADER_H_INC
- #define DATAREADER_H_INC
-
- #include "LemmaObject.h"
- #include "Data.h"
-
- namespace Lemma {
-
-
-
-
-
-
-
-
- class DataReader : public LemmaObject {
-
- friend std::ostream &operator<<(std::ostream &stream,
- const DataReader &ob);
-
- public:
-
-
-
-
-
-
-
-
- virtual std::shared_ptr< Data > GetData()=0;
-
-
-
- virtual inline std::string GetName() const {
- return CName;
- }
-
- protected:
-
-
-
-
- DataReader ( const ctor_key& key );
-
-
- DataReader ( const YAML::Node& node, const ctor_key& key );
-
-
- ~DataReader ( );
-
-
-
- private:
-
-
- static constexpr auto CName = "DataReader";
-
- DataReader( const DataReader& ) = delete;
-
- };
-
- }
-
- #endif
-
-
|