asc file reader and small log enhancements (#3)

This commit is contained in:
tompzf
2025-12-09 18:37:22 +01:00
committed by GitHub
parent 2fb043b2be
commit f74e494a43
19 changed files with 168 additions and 110 deletions

View File

@@ -43,7 +43,7 @@ namespace asc
switch (eState)
{
case EState::header:
if (ssLine.compare(0, 18, "Begin Triggerblock") == 0)
if (ssLine.compare(0, 18, "Begin TriggerBlock") == 0)
eState = EState::body;
break;
case EState::body:
@@ -72,6 +72,11 @@ namespace asc
return std::make_pair(*m_itCurrent, true);
}
uint32_t CAscReader::GetMessageCount() const
{
return m_lstMessages.size();
}
uint32_t CAscReader::GetLoopCount() const
{
return m_uiLoopCount;