MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / RecorderFileIndex

Method RecorderFileIndex

lib/mdflib/mdflib/src/hdcomment.cpp:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void HdComment::RecorderFileIndex(int64_t index) {
84 MdProperty file_index(std::string(kRecorderFileIndex), "");
85 file_index.Value(index);
86 file_index.DataType(MdDataType::MdInteger);
87
88 AddProperty(file_index);
89}
90
91int64_t HdComment::RecorderFileIndex() const {
92 auto file_index = GetPropertyValue<std::string>(std::string(kRecorderFileIndex));

Callers 1

TESTFunction · 0.80

Calls 3

emptyMethod · 0.80
ValueMethod · 0.45
DataTypeMethod · 0.45

Tested by 1

TESTFunction · 0.64