MyDXFEntitySelection Class Reference
DXF entity selection. More...
#include <mydxfentities.hpp>
Public Member Functions | |
| MyDXFEntitySelection () | |
| Construct empty selection. | |
| ~MyDXFEntitySelection () | |
| Destructor. | |
| uint32_t | size () const |
| Return number of entities in selection. | |
| void | add_entity (uint32_t a) |
| Add entity number a in selection. | |
| const uint32_t & | operator() (int a) const |
| Get a const reference to entity number in selection at location a. | |
| uint32_t & | operator() (int a) |
| Get reference to entity number in selection at location a. | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const MyDXFEntitySelection &sel) |
Detailed Description
DXF entity selection.
MyDXFEntitySelection object is a list of indexes, which point to entities in the MyDXFEntities.
Constructor & Destructor Documentation
| MyDXFEntitySelection::MyDXFEntitySelection | ( | ) | [inline] |
Construct empty selection.
| MyDXFEntitySelection::~MyDXFEntitySelection | ( | ) | [inline] |
Destructor.
Member Function Documentation
| void MyDXFEntitySelection::add_entity | ( | uint32_t | a | ) | [inline] |
Add entity number a in selection.
| uint32_t& MyDXFEntitySelection::operator() | ( | int | a | ) | [inline] |
Get reference to entity number in selection at location a.
| const uint32_t& MyDXFEntitySelection::operator() | ( | int | a | ) | const [inline] |
Get a const reference to entity number in selection at location a.
| uint32_t MyDXFEntitySelection::size | ( | void | ) | const [inline] |
Return number of entities in selection.
Friends And Related Function Documentation
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const MyDXFEntitySelection & | sel | |||
| ) | [friend] |
The documentation for this class was generated from the following file: