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