Closes #33
This commit is contained in:
1 parent
f60faea2e7
commit
f03882d3f4
86 files changed
+3539
-2688
No files matched your search
@@ -126,9 +126,9 @@ Public Member Functions</h2></td></tr>
|
||||
<li>BA_DEF_, BA_DEF_DEF_, BA_ typed attributes, frame format and cycle time</li>
|
||||
</ul>
|
||||
<p>Frame/signal comments support multiline quoted text and deferred references. Attribute statements support multiline fields and quoted strings, ending at a semicolon outside quoted text. Diagnostics use the first physical line.</p>
|
||||
<p>Reports unsupported statements as warnings. Invalid multiplexing is an error. VERSION, NS_, BS_, BU_ and NS_ symbol declarations stay quiet. </p>
|
||||
<p>Rejects all SIG_VALTYPE_ declarations, including type 0, with UnsupportedSignalType errors; explicit signal value types are not implemented. Other unsupported statements produce warnings. Invalid multiplexing is an error. VERSION, NS_, BS_, BU_ and NS_ symbol declarations stay quiet. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="dbc__parser_8h_source.html#l00043">43</a> of file <a class="el" href="dbc__parser_8h_source.html">dbc_parser.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="dbc__parser_8h_source.html#l00045">45</a> of file <a class="el" href="dbc__parser_8h_source.html">dbc_parser.h</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a46bc3afcd103e704dc58bb4b073da73c" name="a46bc3afcd103e704dc58bb4b073da73c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a46bc3afcd103e704dc58bb4b073da73c">◆ </a></span>DbcParser()</h2>
|
||||
@@ -156,7 +156,7 @@ Public Member Functions</h2></td></tr>
|
||||
|
||||
<p>Create a parser with explicit extended-frame interpretation options. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="dbc__parser_8h_source.html#l00046">46</a> of file <a class="el" href="dbc__parser_8h_source.html">dbc_parser.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="dbc__parser_8h_source.html#l00048">48</a> of file <a class="el" href="dbc__parser_8h_source.html">dbc_parser.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -187,16 +187,14 @@ Public Member Functions</h2></td></tr>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Parsed database. </dd></dl>
|
||||
<dl class="exception"><dt>Exceptions</dt><dd>
|
||||
<table class="exception">
|
||||
<tr><td class="paramname">std::runtime_error</td><td>on file or parse errors. Line parse errors include the file path and one-based line number. Duplicate normalized CAN IDs of the same frame type and duplicate signal names within a frame are rejected at the repeated definition's line. </td></tr>
|
||||
<tr><td class="paramname">std::runtime_error</td><td>on file or parse errors, including SIG_VALTYPE_. Line parse errors include the file path and one-based line number. Duplicate normalized CAN IDs of the same frame type and duplicate signal names within a frame are rejected at the repeated definition's line. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="dbc__parser_8cpp_source.html#l00090">90</a> of file <a class="el" href="dbc__parser_8cpp_source.html">dbc_parser.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="dbc__parser_8cpp_source.html#l00092">92</a> of file <a class="el" href="dbc__parser_8cpp_source.html">dbc_parser.cpp</a>.</p>
|
||||
|
||||
<p class="reference">References <a class="el" href="dbc__diagnostic_8h_source.html#l00039">DbcParseResult::database</a>, <a class="el" href="dbc__diagnostic_8h_source.html#l00040">DbcParseResult::diagnostics</a>, and <a class="el" href="dbc__parser_8cpp_source.html#l00103">ParseFileWithDiagnostics()</a>.</p>
|
||||
|
||||
<p class="reference">Referenced by <a class="el" href="examples_2main_8cpp_source.html#l00101">main()</a>.</p>
|
||||
<p class="reference">References <a class="el" href="dbc__diagnostic_8h_source.html#l00040">DbcParseResult::database</a>, <a class="el" href="dbc__diagnostic_8h_source.html#l00041">DbcParseResult::diagnostics</a>, and <a class="el" href="dbc__parser_8cpp_source.html#l00105">ParseFileWithDiagnostics()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -219,11 +217,11 @@ Public Member Functions</h2></td></tr>
|
||||
<p>Parse with warnings and a structured first error instead of throwing. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Valid database with diagnostics; empty database on error. File errors use line zero; statement errors use physical one-based lines. Warnings indicate ignored syntax and possible incomplete decoding. </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="dbc__parser_8cpp_source.html#l00103">103</a> of file <a class="el" href="dbc__parser_8cpp_source.html">dbc_parser.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="dbc__parser_8cpp_source.html#l00105">105</a> of file <a class="el" href="dbc__parser_8cpp_source.html">dbc_parser.cpp</a>.</p>
|
||||
|
||||
<p class="reference">References <a class="el" href="dbc__diagnostic_8h_source.html#l00039">DbcParseResult::database</a>, <a class="el" href="dbc__statement__handler_8h_source.html#l00040">DbcDiagnosticError::diagnostic</a>, <a class="el" href="dbc__diagnostic_8h_source.html#l00040">DbcParseResult::diagnostics</a>, <a class="el" href="dbc__statement__handler_8cpp_source.html#l00423">DbcStatementDispatcher::Dispatch()</a>, and <a class="el" href="dbc__parser_8h_source.html#l00021">DbcParserOptions::enableJ1939</a>.</p>
|
||||
<p class="reference">References <a class="el" href="dbc__diagnostic_8h_source.html#l00040">DbcParseResult::database</a>, <a class="el" href="dbc__statement__handler_8h_source.html#l00040">DbcDiagnosticError::diagnostic</a>, <a class="el" href="dbc__diagnostic_8h_source.html#l00041">DbcParseResult::diagnostics</a>, <a class="el" href="dbc__statement__handler_8cpp_source.html#l00428">DbcStatementDispatcher::Dispatch()</a>, and <a class="el" href="dbc__parser_8h_source.html#l00021">DbcParserOptions::enableJ1939</a>.</p>
|
||||
|
||||
<p class="reference">Referenced by <a class="el" href="dbc__parser_8cpp_source.html#l00090">ParseFile()</a>.</p>
|
||||
<p class="reference">Referenced by <a class="el" href="examples_2main_8cpp_source.html#l00101">main()</a>, and <a class="el" href="dbc__parser_8cpp_source.html#l00092">ParseFile()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user