MCPcopy Create free account
hub / github.com/ShiqiYu/CPP / Mat

Class Mat

week15/examples/nested-enum2.cpp:4–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected