KiCad PCB EDA Suite
kiid.cpp File Reference
#include <common.h>
#include <kiid.h>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <boost/functional/hash.hpp>
#include <wx/log.h>

Go to the source code of this file.

Functions

KIIDNilUuid ()
 

Variables

static boost::uuids::random_generator randomGenerator
 
static boost::uuids::string_generator stringGenerator
 
static boost::uuids::nil_generator nilGenerator
 
KIID niluuid (0)
 

Function Documentation

◆ NilUuid()

KIID& NilUuid ( )

Definition at line 52 of file kiid.cpp.

53 {
54  static KIID nil( 0 );
55  return nil;
56 }
Definition: kiid.h:44

Variable Documentation

◆ nilGenerator

boost::uuids::nil_generator nilGenerator
static

Definition at line 45 of file kiid.cpp.

◆ niluuid

◆ randomGenerator

boost::uuids::random_generator randomGenerator
static

Definition at line 41 of file kiid.cpp.

Referenced by KIID::ConvertTimestampToUuid(), and KIID::KIID().

◆ stringGenerator

boost::uuids::string_generator stringGenerator
static

Definition at line 44 of file kiid.cpp.

Referenced by KIID::KIID().