KiCad PCB EDA Suite
kiid.h File Reference
#include <boost/uuid/uuid.hpp>
#include <macros_swig.h>

Go to the source code of this file.

Classes

class  KIID
 
class  KIID_PATH
 

Typedefs

typedef uint32_t timestamp_t
 timestamp_t is our type to represent unique IDs for all kinds of elements; historically simply the timestamp when they were created. More...
 

Functions

KIIDNilUuid ()
 

Variables

KIID niluuid
 

Typedef Documentation

◆ timestamp_t

typedef uint32_t timestamp_t

timestamp_t is our type to represent unique IDs for all kinds of elements; historically simply the timestamp when they were created.

Long term, this type might be renamed to something like unique_id_t (and then rename all the methods from {Get,Set}TimeStamp() to {Get,Set}Id()) ?

Definition at line 32 of file kiid.h.

Function Documentation

◆ NilUuid()

KIID& NilUuid ( )

Definition at line 54 of file kiid.cpp.

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

Variable Documentation

◆ niluuid