aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp/gra/BitmapDescript.h
blob: fe659f6dfeeae5b032423a9a14344450dd715b1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef   BitmapDescript_H__
#define   BitmapDescript_H__

#include "../Self.h"

#include "../oo/ObjBase.h"



class FeaturePointDescript: public ObjBase {
private:
  struct Myself {
    double ratioL_;
    size_t wSize_;
    size_t cNumber_;
  };
  Self<Myself const> self;
public:
  FeaturePointDescript() {
  }

  ~FeaturePointDescript() {
  }


  bool write(FILE* f, bool bin, unsigned int fg) const {
    return false;
  }

  bool read(FILE* f, bool bin, unsigned int fg) {
    return false;
  }

  ObjBase* create() const {
    return new FeaturePointDescript();
  }

  ObjBase* copyFrom(ObjBase const& b) {
    return &(copyFrom(*(FeaturePointDescript const*)b));
  }

  char const* ctype() const {
    return typeid(*this).name();
  }

  std::string type() const {
    return std::string(ctype());
  }
};

#endif // BitmapDescript_H__