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

#include <metatype.h>

Inheritance diagram for lc::EntityMetaType:
Collaboration diagram for lc::EntityMetaType:

Public Member Functions

virtual const std::string metaTypeID () 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 EntityMetaType &lineWidth)
 

Detailed Description

A meta type that can be attached to an entity

Definition at line 59 of file metatype.h.

Member Function Documentation

virtual const std::string lc::EntityMetaType::metaTypeID ( ) const
pure virtual

metaTypeName, for example '_LAYER' this method isn't meant to be used for RTTI purpose, do use dynamic_casts or static_casts for that.

Implemented in lc::MetaLineWidthByValue, lc::Layer, lc::MetaLineWidthByBlock, lc::DxfLinePattern, and lc::MetaColor.

Friends And Related Function Documentation

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

Definition at line 68 of file metatype.h.

68  {
69  os << "EntityMetaType()" << std::endl;;
70  return os;
71  }

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