LibreCAD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lc::DocumentMetaType Class Referenceabstract

#include <metatype.h>

Inheritance diagram for lc::DocumentMetaType:
Collaboration diagram for lc::DocumentMetaType:

Public Member Functions

virtual const std::string name () const =0
 
- Public Member Functions inherited from lc::MetaType
 MetaType ()
 
virtual ~MetaType ()=default
 
virtual const std::string id () const =0
 

Friends

std::ostream & operator<< (std::ostream &os, const DocumentMetaType &lineWidth)
 

Detailed Description

Meta type that can be attached to the document

Definition at line 41 of file metatype.h.

Member Function Documentation

virtual const std::string lc::DocumentMetaType::name ( ) const
pure virtual

Name of this meta type, for layer this can be '0' 'My Layer' etc, for LineStyles this can be 'DASHDOT' .

Implemented in lc::DxfLinePatternByBlock, lc::MetaLineWidthByValue, lc::DxfLinePatternByValue, lc::Layer, and lc::Block.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const DocumentMetaType lineWidth 
)
friend

Definition at line 50 of file metatype.h.

50  {
51  os << "DocumentMetaType()" << std::endl;
52  return os;
53  }

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