KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DRC_RE_FILE_TRIVIA Struct Reference

The text of a rules file that lies outside every rule, kept so a save can reproduce it. More...

#include <drc_re_loaded_rule.h>

Public Attributes

wxString header
 Everything through the version expression, empty for a new file.
 
std::vector< wxString > leadingTrivia
 Comments and blank lines before each rule, by sourceRule.
 
wxString trailer
 Everything after the last rule.
 

Detailed Description

The text of a rules file that lies outside every rule, kept so a save can reproduce it.

Definition at line 79 of file drc_re_loaded_rule.h.

Member Data Documentation

◆ header

wxString DRC_RE_FILE_TRIVIA::header

Everything through the version expression, empty for a new file.

Definition at line 81 of file drc_re_loaded_rule.h.

Referenced by DRC_RULE_SAVER::GenerateRulesText().

◆ leadingTrivia

std::vector<wxString> DRC_RE_FILE_TRIVIA::leadingTrivia

Comments and blank lines before each rule, by sourceRule.

Definition at line 82 of file drc_re_loaded_rule.h.

Referenced by DRC_RULE_SAVER::GenerateRulesText().

◆ trailer

wxString DRC_RE_FILE_TRIVIA::trailer

Everything after the last rule.

Definition at line 83 of file drc_re_loaded_rule.h.

Referenced by DRC_RULE_SAVER::GenerateRulesText().


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