KiCad PCB EDA Suite
Loading...
Searching...
No Matches
lib_symbol.h File Reference
#include <embedded_files.h>
#include <symbol.h>
#include <sch_field.h>
#include <sch_pin.h>
#include <lib_tree_item.h>
#include <vector>
#include <core/multivector.h>

Go to the source code of this file.

Classes

struct  LIB_SYMBOL_UNIT
 
class  LIB_SYMBOL
 Define a library symbol object. More...
 

Typedefs

typedef std::shared_ptr< LIB_SYMBOLLIB_SYMBOL_SPTR
 shared pointer to LIB_SYMBOL
 
typedef std::weak_ptr< LIB_SYMBOLLIB_SYMBOL_REF
 weak pointer to LIB_SYMBOL
 
typedef MULTIVECTOR< SCH_ITEM, SCH_SHAPE_T, SCH_PIN_TLIB_ITEMS_CONTAINER
 
typedef LIB_ITEMS_CONTAINER::ITEM_PTR_VECTOR LIB_ITEMS
 

Enumerations

enum  LIBRENTRYOPTIONS { ENTRY_NORMAL , ENTRY_POWER }
 

Functions

bool operator< (const LIB_SYMBOL &aItem1, const LIB_SYMBOL &aItem2)
 

Typedef Documentation

◆ LIB_ITEMS

Definition at line 49 of file lib_symbol.h.

◆ LIB_ITEMS_CONTAINER

◆ LIB_SYMBOL_REF

typedef std::weak_ptr<LIB_SYMBOL> LIB_SYMBOL_REF

weak pointer to LIB_SYMBOL

Definition at line 47 of file lib_symbol.h.

◆ LIB_SYMBOL_SPTR

typedef std::shared_ptr<LIB_SYMBOL> LIB_SYMBOL_SPTR

shared pointer to LIB_SYMBOL

Definition at line 46 of file lib_symbol.h.

Enumeration Type Documentation

◆ LIBRENTRYOPTIONS

Enumerator
ENTRY_NORMAL 
ENTRY_POWER 

Definition at line 53 of file lib_symbol.h.

Function Documentation

◆ operator<()

bool operator< ( const LIB_SYMBOL aItem1,
const LIB_SYMBOL aItem2 
)

Definition at line 83 of file lib_symbol.cpp.

References LIB_SYMBOL::GetName().