MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / getDataPointer

Method getDataPointer

src/util/DataTree.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52char * DataElement::getDataPointer() {
53
54 if (!data_val.empty()) {
55 return (char*)&data_val[0];
56 }
57
58 return nullptr;
59}
60
61DataElement::Type DataElement::getDataType() {
62 return data_type;

Callers 1

DataNodeClass · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected