KiCad PCB EDA Suite
Loading...
Searching...
No Matches
lib_symbol.h File Reference
#include <general.h>
#include <lib_tree_item.h>
#include <lib_field.h>
#include <vector>
#include <core/multivector.h>

Go to the source code of this file.

Classes

struct  LIB_SYMBOL_OPTIONS
 
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 More...
 
typedef std::weak_ptr< LIB_SYMBOLLIB_SYMBOL_REF
 weak pointer to LIB_SYMBOL More...
 
typedef MULTIVECTOR< LIB_ITEM, LIB_SHAPE_T, LIB_FIELD_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 48 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 46 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 45 of file lib_symbol.h.

Enumeration Type Documentation

◆ LIBRENTRYOPTIONS

Enumerator
ENTRY_NORMAL 
ENTRY_POWER 

Definition at line 52 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().