KiCad PCB EDA Suite
Loading...
Searching...
No Matches
BASE_SET Class Reference

#include <base_set.h>

Inheritance diagram for BASE_SET:
LSET

Classes

class  const_iterator
 
class  iterator
 
class  set_bits_iterator
 
class  set_bits_reverse_iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
 BASE_SET (size_t size=64)
 
BASE_SETset (size_t pos)
 
BASE_SETset (size_t pos, bool value)
 
BASE_SETset ()
 
BASE_SETreset (size_t pos)
 
BASE_SETreset ()
 
BASE_SETflip (size_t pos)
 
BASE_SETflip ()
 
BASE_SET operator~ () const
 
BASE_SEToperator&= (const BASE_SET &other)
 
BASE_SEToperator|= (const BASE_SET &other)
 
BASE_SEToperator^= (const BASE_SET &other)
 
int compare (const BASE_SET &other) const
 
bool operator< (const BASE_SET &other) const
 
set_bits_iterator set_bits_begin () const
 
set_bits_iterator set_bits_end () const
 
set_bits_reverse_iterator set_bits_rbegin () const
 
set_bits_reverse_iterator set_bits_rend () const
 

Detailed Description

Definition at line 40 of file base_set.h.

Constructor & Destructor Documentation

◆ BASE_SET()

BASE_SET::BASE_SET ( size_t  size = 64)
inline

Definition at line 110 of file base_set.h.

Member Function Documentation

◆ begin() [1/2]

iterator BASE_SET::begin ( )
inline

Definition at line 105 of file base_set.h.

Referenced by compare(), and operator<().

◆ begin() [2/2]

const_iterator BASE_SET::begin ( ) const
inline

Definition at line 107 of file base_set.h.

◆ compare()

int BASE_SET::compare ( const BASE_SET other) const
inline

Definition at line 206 of file base_set.h.

References begin(), end(), and alg::lexicographical_compare_three_way().

Referenced by BOOST_AUTO_TEST_CASE(), and PADSTACK::Compare().

◆ end() [1/2]

iterator BASE_SET::end ( )
inline

Definition at line 106 of file base_set.h.

Referenced by compare(), and operator<().

◆ end() [2/2]

const_iterator BASE_SET::end ( ) const
inline

Definition at line 108 of file base_set.h.

◆ flip() [1/2]

BASE_SET & BASE_SET::flip ( )
inline

Definition at line 169 of file base_set.h.

◆ flip() [2/2]

BASE_SET & BASE_SET::flip ( size_t  pos)
inline

Definition at line 159 of file base_set.h.

Referenced by operator~(), and DRC_TEST_PROVIDER_MISC::testDisabledLayers().

◆ operator&=()

BASE_SET & BASE_SET::operator&= ( const BASE_SET other)
inline

Definition at line 186 of file base_set.h.

◆ operator<()

bool BASE_SET::operator< ( const BASE_SET other) const
inline

Definition at line 212 of file base_set.h.

References begin(), end(), and alg::lexicographical_compare_three_way().

◆ operator^=()

BASE_SET & BASE_SET::operator^= ( const BASE_SET other)
inline

Definition at line 200 of file base_set.h.

◆ operator|=()

BASE_SET & BASE_SET::operator|= ( const BASE_SET other)
inline

Definition at line 193 of file base_set.h.

◆ operator~()

BASE_SET BASE_SET::operator~ ( ) const
inline

Definition at line 178 of file base_set.h.

References flip().

◆ reset() [1/2]

BASE_SET & BASE_SET::reset ( )
inline

Definition at line 152 of file base_set.h.

Referenced by LSET::Flip().

◆ reset() [2/2]

◆ set() [1/3]

BASE_SET & BASE_SET::set ( )
inline

Definition at line 135 of file base_set.h.

Referenced by LSET::Flip(), and LSET::LSET().

◆ set() [2/3]

BASE_SET & BASE_SET::set ( size_t  pos)
inline

Definition at line 115 of file base_set.h.

Referenced by SCOPED_LAYERSET::Add(), LSET::AllCuMask(), DIALOG_PLOT::applyPlotSettings(), LSET::BackMask(), BOARD::BOARD(), BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS(), BOARD_PRINTOUT_SETTINGS::BOARD_PRINTOUT_SETTINGS(), BOOST_AUTO_TEST_CASE(), AR_AUTOPLACER::buildFpAreas(), BOARD::ComputeBoundingBox(), ALTIUM_PCB::ConvertFills6ToFootprintItemOnLayer(), ALTIUM_PCB::ConvertShapeBasedRegions6ToFootprintItemOnLayer(), ZONE_CREATE_HELPER::createNewZone(), CONVERT_TOOL::CreatePolys(), PCB_IO_EAGLE::defaultKicadLayer(), FOOTPRINT::Deserialize(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_GLOBAL_DELETION::DoGlobalDeletions(), PCBEXPR_LAYER_VALUE::EqualTo(), existsOnLayerFunc(), EXPORTER_STEP::Export(), PCB_SELECTION_TOOL::FilterCollectorForFootprints(), LSET::FrontMask(), AR_AUTOPLACER::genModuleOnRoutingMatrix(), DIALOG_EXPORT_SVG::getCheckBoxSelectedLayers(), PCB_SHAPE::GetLayerSet(), PCB_TRACK::GetLayerSet(), PCB_VIA::GetLayerSet(), PANEL_SETUP_LAYERS::GetUILayerMask(), APPEARANCE_CONTROLS::getVisibleLayers(), BOARD_ADAPTER::GetVisibleLayers(), ROUTER_TOOL::handleLayerSwitch(), ALTIUM_PCB::HelperSetZoneLayers(), intersectsAreaFunc(), PARAM_LAYER_PRESET::jsonToPresets(), PCB_IO_KICAD_LEGACY::leg_mask2new(), BOARD_PRINTOUT_SETTINGS::Load(), FABMASTER::loadLayers(), DIALOG_DRC::OnDRCItemSelected(), DIALOG_COPPER_ZONE::OnLayerSelection(), DIALOG_NON_COPPER_ZONES_EDITOR::OnLayerSelection(), DIALOG_RULE_AREA_PROPERTIES::OnLayerSelection(), APPEARANCE_CONTROLS::onLayerVisibilityToggled(), PCBNEW_PRINTOUT::OnPrintPage(), DIALOG_FOOTPRINT_CHECKER::OnSelectItem(), PCB_PLOT_PARAMS_PARSER::Parse(), PCB_IO_EASYEDAPRO_PARSER::ParseBoard(), PCB_IO_KICAD_SEXPR_PARSER::parseBOARD_unchecked(), PCB_IO_KICAD_SEXPR_PARSER::parseFOOTPRINT_unchecked(), LSET::ParseHex(), DRC_RULES_PARSER::parseLayer(), PCB_IO_KICAD_SEXPR_PARSER::parseLayers(), DRAWING_TOOL::PlaceCharacteristics(), DRAWING_TOOL::PlaceStackup(), PRIVATE_LAYERS_GRID_TABLE::PRIVATE_LAYERS_GRID_TABLE(), PADSTACK::RelevantShapeLayers(), GERBVIEW_FRAME::RemapLayers(), PCB_SELECTION_CONDITIONS::sameLayerFunc(), PCB_SELECTION_TOOL::Selectable(), PAD::SetAttribute(), BOARD_DESIGN_SETTINGS::SetEnabledLayers(), ZONE::SetFillFlag(), DIALOG_PRINT_GERBVIEW::setLayerSetFromList(), DIALOG_PRINT_PCBNEW::setLayerSetFromList(), APPEARANCE_CONTROLS::SetLayerVisible(), GENERAL_COLLECTORS_GUIDE::SetLayerVisible(), ZONE_SETTINGS::SetupLayersList(), GLOBAL_EDIT_TOOL::swapBoardItem(), DRC_TEST_PROVIDER_PHYSICAL_CLEARANCE::testItemAgainstItem(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::TransferDataFromWindow(), DIALOG_PAD_PROPERTIES::transferDataToPad(), kiapi::board::UnpackLayerSet(), PANEL_SETUP_BOARD_STACKUP::updateCopperLayerCount(), RATSNEST_VIEW_ITEM::ViewDraw(), and ZONE_SETTINGS::ZONE_SETTINGS().

◆ set() [3/3]

BASE_SET & BASE_SET::set ( size_t  pos,
bool  value 
)
inline

Definition at line 125 of file base_set.h.

◆ set_bits_begin()

set_bits_iterator BASE_SET::set_bits_begin ( ) const
inline

Definition at line 305 of file base_set.h.

Referenced by BOOST_AUTO_TEST_CASE().

◆ set_bits_end()

set_bits_iterator BASE_SET::set_bits_end ( ) const
inline

Definition at line 306 of file base_set.h.

Referenced by BOOST_AUTO_TEST_CASE().

◆ set_bits_rbegin()

set_bits_reverse_iterator BASE_SET::set_bits_rbegin ( ) const
inline

Definition at line 308 of file base_set.h.

Referenced by BOOST_AUTO_TEST_CASE().

◆ set_bits_rend()

set_bits_reverse_iterator BASE_SET::set_bits_rend ( ) const
inline

Definition at line 312 of file base_set.h.

Referenced by BOOST_AUTO_TEST_CASE().


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