TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::analysis::TrustedBrands Struct Reference

Brands whose datasheets are trusted. More...

#include <analysis/footprint_ref.hpp>

Public Member Functions

bool trusts (const std::string &brand) const

Public Attributes

bool trust_all = false
 –trust-all: no list, everything counts (a deliberate choice, said so in the report)
std::vector< std::vector< std::string > > groups
 normalised names, canonical first
std::string source
 the file, "" = none given

Detailed Description

Brands whose datasheets are trusted.

One line per brand in the file: Canonical name | alias | alias, # starts a comment. Names are compared without case, punctuation or corporate suffixes ("Texas Instruments Inc." = "texas instruments").

Definition at line 52 of file footprint_ref.hpp.

Member Function Documentation

◆ trusts()

bool tmk::analysis::TrustedBrands::trusts ( const std::string & brand) const

Member Data Documentation

◆ groups

std::vector<std::vector<std::string> > tmk::analysis::TrustedBrands::groups

normalised names, canonical first

Definition at line 54 of file footprint_ref.hpp.

◆ source

std::string tmk::analysis::TrustedBrands::source

the file, "" = none given

Definition at line 55 of file footprint_ref.hpp.

◆ trust_all

bool tmk::analysis::TrustedBrands::trust_all = false

–trust-all: no list, everything counts (a deliberate choice, said so in the report)

Definition at line 53 of file footprint_ref.hpp.


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