We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4354de8 + d73311a commit 5bab050Copy full SHA for 5bab050
sbe-tool/src/main/cpp/otf/IrDecoder.h
@@ -114,6 +114,24 @@ class IrDecoder
114
return result;
115
}
116
117
+ std::shared_ptr<std::vector<Token>> message(int id)
118
+ {
119
+ std::shared_ptr<std::vector<Token>> result;
120
+
121
+ std::for_each(m_messages.begin(), m_messages.end(),
122
+ [&](std::shared_ptr<std::vector<Token>> tokens)
123
124
+ Token& token = tokens->at(0);
125
126
+ if (token.signal() == Signal::BEGIN_MESSAGE && token.fieldId() == id)
127
128
+ result = tokens;
129
+ }
130
+ });
131
132
+ return result;
133
134
135
protected:
136
// OS specifics
137
static long getFileSize(const char *filename)
0 commit comments