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) |
DXF entity selection.
MyDXFEntitySelection object is a list of indexes, which point to entities in the MyDXFEntities.
MyDXFEntitySelection::MyDXFEntitySelection | ( | ) | [inline] |
Construct empty selection.
MyDXFEntitySelection::~MyDXFEntitySelection | ( | ) | [inline] |
Destructor.
void MyDXFEntitySelection::add_entity | ( | uint32_t | a | ) | [inline] |
Add entity number a in selection.
const uint32_t& MyDXFEntitySelection::operator() | ( | int | a | ) | const [inline] |
Get a const reference to entity number in selection at location a.
uint32_t& MyDXFEntitySelection::operator() | ( | int | a | ) | [inline] |
Get reference to entity number in selection at location a.
uint32_t MyDXFEntitySelection::size | ( | void | ) | const [inline] |
Return number of entities in selection.
std::ostream& operator<< | ( | std::ostream & | os, |
const MyDXFEntitySelection & | sel | ||
) | [friend] |