KiCad PCB EDA Suite
KIID_NIL_SET_RESET Class Reference

RAII class to safely set/reset nil KIIDs for use in footprint/symbol loading. More...

#include <kiid.h>

Public Member Functions

 KIID_NIL_SET_RESET ()
 
 ~KIID_NIL_SET_RESET ()
 

Detailed Description

RAII class to safely set/reset nil KIIDs for use in footprint/symbol loading.

Definition at line 198 of file kiid.h.

Constructor & Destructor Documentation

◆ KIID_NIL_SET_RESET()

KIID_NIL_SET_RESET::KIID_NIL_SET_RESET ( )
inline

Definition at line 201 of file kiid.h.

202 {
203 KIID::CreateNilUuids( true );
204 };
static void CreateNilUuids(bool aNil=true)
A performance optimization which disables/enables the generation of pseudo-random UUIDs.
Definition: kiid.cpp:294

References KIID::CreateNilUuids().

◆ ~KIID_NIL_SET_RESET()

KIID_NIL_SET_RESET::~KIID_NIL_SET_RESET ( )
inline

Definition at line 206 of file kiid.h.

207 {
208 KIID::CreateNilUuids( false );
209 }

References KIID::CreateNilUuids().


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