KiCad PCB EDA Suite
GRID_TYPE Class Reference

GRID_TYPE is for grid arrays. More...

#include <base_screen.h>

Public Member Functions

GRID_TYPEoperator= (const GRID_TYPE &item)
 
const bool operator== (const GRID_TYPE &item) const
 

Public Attributes

int m_CmdId
 
wxRealPoint m_Size
 

Detailed Description

GRID_TYPE is for grid arrays.

Definition at line 43 of file base_screen.h.

Member Function Documentation

◆ operator=()

GRID_TYPE& GRID_TYPE::operator= ( const GRID_TYPE item)
inline

Definition at line 49 of file base_screen.h.

50  {
51  if( this != &item )
52  {
53  m_CmdId = item.m_CmdId;
54  m_Size = item.m_Size;
55  }
56 
57  return *this;
58  }
wxRealPoint m_Size
Definition: base_screen.h:47
int m_CmdId
Definition: base_screen.h:46

References m_CmdId, and m_Size.

◆ operator==()

const bool GRID_TYPE::operator== ( const GRID_TYPE item) const
inline

Definition at line 60 of file base_screen.h.

61  {
62  return m_Size == item.m_Size && m_CmdId == item.m_CmdId;
63  }
wxRealPoint m_Size
Definition: base_screen.h:47
int m_CmdId
Definition: base_screen.h:46

References m_CmdId, and m_Size.

Member Data Documentation

◆ m_CmdId

◆ m_Size


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