LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
parser::dbc::anonymous_namespace{DbcParser.cpp} Namespace Reference

Typedefs

using ParseSignalResult = util::Result< DbcSignal, error::Error >
 

Functions

std::string_view Trim (std::string_view s)
 
double ToDouble (std::string_view sv)
 
uint32_t ToU32 (std::string_view sv)
 
ParseSignalResult ParseSignalLine (const std::string &line)
 
bool TryParseMessageHeader (const std::string &line, DbcMessage &msg)
 

Variables

const std::regex kSignalRe
 

Typedef Documentation

◆ ParseSignalResult

using parser::dbc::anonymous_namespace{DbcParser.cpp}::ParseSignalResult = typedef util::Result<DbcSignal, error::Error>

Function Documentation

◆ ParseSignalLine()

ParseSignalResult parser::dbc::anonymous_namespace{DbcParser.cpp}::ParseSignalLine ( const std::string &  line)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToDouble()

double parser::dbc::anonymous_namespace{DbcParser.cpp}::ToDouble ( std::string_view  sv)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToU32()

uint32_t parser::dbc::anonymous_namespace{DbcParser.cpp}::ToU32 ( std::string_view  sv)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Trim()

std::string_view parser::dbc::anonymous_namespace{DbcParser.cpp}::Trim ( std::string_view  s)

◆ TryParseMessageHeader()

bool parser::dbc::anonymous_namespace{DbcParser.cpp}::TryParseMessageHeader ( const std::string &  line,
DbcMessage &  msg 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ kSignalRe

const std::regex parser::dbc::anonymous_namespace{DbcParser.cpp}::kSignalRe
Initial value:
{
R"(^\s*SG_\s+(\S+)\s*:\s*)"
R"((\d+)\|(\d+)@([01])([+-])\s*)"
R"(\‍(([^,]+),([^)]+)\)\s*)"
R"(\[([^|]+)\|([^\]]+)\]\s*)"
"\"([^\"]*)\""}