| 2 | |
| 3 | |
| 4 | class Mat |
| 5 | { |
| 6 | public: |
| 7 | enum DataType |
| 8 | { |
| 9 | TYPE8U, |
| 10 | TYPE8S, |
| 11 | TYPE32F, |
| 12 | TYPE64F |
| 13 | }; |
| 14 | private: |
| 15 | DataType type; |
| 16 | void * data; |
| 17 | public: |
| 18 | Mat(DataType type) : type(type), data(NULL){} |
| 19 | |
| 20 | DataType getType() const { return type; } |
| 21 | }; |
| 22 | |
| 23 | int main() |
| 24 | { |
nothing calls this directly
no outgoing calls
no test coverage detected