SILICON
Loading...
Searching...
No Matches
Reader::EnumTable Struct Reference

Decoded enum table extracted from libfst. More...

#include <fstWrapper.hpp>

Public Attributes

std::string name
std::vector< std::pair< std::string, std::string > > mapping

Detailed Description

Decoded enum table extracted from libfst.

FST stores enum mappings as string-encoded metadata. The utility parser allocates temporary structures internally, so this wrapper copies the data into STL-owned containers before releasing the libfst allocation.

Definition at line 87 of file fstWrapper.hpp.

Member Data Documentation

◆ mapping

std::vector<std::pair<std::string, std::string> > mapping

Mapping format:

literal -> encoded value

Example:

"IDLE" -> "00" "BUSY" -> "01"

Definition at line 100 of file fstWrapper.hpp.

◆ name

std::string name

Definition at line 88 of file fstWrapper.hpp.


The documentation for this struct was generated from the following file: