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

#include <metacolor.h>

Inheritance diagram for lc::MetaColor:
Collaboration diagram for lc::MetaColor:

Public Member Functions

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

Static Public Member Functions

static const std::string LCMETANAME ()
 

Protected Member Functions

 MetaColor ()
 

Detailed Description

Represents a MetaColor

Definition at line 13 of file metacolor.h.

Constructor & Destructor Documentation

lc::MetaColor::MetaColor ( )
inlineprotected

Definition at line 15 of file metacolor.h.

15  : EntityMetaType() {
16 
17  }

Member Function Documentation

static const std::string lc::MetaColor::LCMETANAME ( )
inlinestatic

Definition at line 23 of file metacolor.h.

23  {
24  return "_COLOR";
25  }
virtual const std::string lc::MetaColor::metaTypeID ( ) const
inlineoverridevirtual

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

Implements lc::EntityMetaType.

Definition at line 20 of file metacolor.h.

20  {
21  return LCMETANAME();
22  }
static const std::string LCMETANAME()
Definition: metacolor.h:23

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