DXF blocks class. More...
#include <mydxfblocks.hpp>
Public Member Functions | |
MyDXFBlocks (class MyDXFFile *dxf) | |
~MyDXFBlocks () | |
void | write (class MyDXFFile *dxf, std::ofstream &ostr) |
Write dxf file to stream. More... | |
uint32_t | size (void) const |
MyDXFBlock * | get_by_name (const std::string &name) |
const MyDXFBlock * | get_by_name (const std::string &name) const |
MyDXFBlock * | operator() (int a) |
const MyDXFBlock * | operator() (int a) const |
void | clear (void) |
void | debug_print (std::ostream &os) const |
Print debugging information to os. More... | |
DXF blocks class.
Container for data of a DXF file blocks.
MyDXFBlocks::MyDXFBlocks | ( | class MyDXFFile * | dxf | ) |
MyDXFBlocks::~MyDXFBlocks | ( | ) |
void MyDXFBlocks::clear | ( | void | ) |
void MyDXFBlocks::debug_print | ( | std::ostream & | os | ) | const |
Print debugging information to os.
MyDXFBlock* MyDXFBlocks::get_by_name | ( | const std::string & | name | ) |
const MyDXFBlock* MyDXFBlocks::get_by_name | ( | const std::string & | name | ) | const |
|
inline |
|
inline |
|
inline |
void MyDXFBlocks::write | ( | class MyDXFFile * | dxf, |
std::ofstream & | ostr | ||
) |
Write dxf file to stream.