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

Event that gets emitted when a new line pattern was replaced in the document. More...

#include <replacelinepatternevent.h>

Public Member Functions

 ReplaceLinePatternEvent (const DxfLinePatternByValue_CSPtr oldLinePattern, const DxfLinePatternByValue_CSPtr newLinePattern)
 Replace LinePattern Event. More...
 
const DxfLinePatternByValue_CSPtr oldLinePattern () const
 Return LinePattern to replace. More...
 
const DxfLinePatternByValue_CSPtr newLinePattern () const
 Return LinePattern to add. More...
 

Private Attributes

const DxfLinePatternByValue_CSPtr _oldLinePattern
 
const DxfLinePatternByValue_CSPtr _newLinePattern
 

Detailed Description

Event that gets emitted when a new line pattern was replaced in the document.

Parameters
DxfLinePatternByValue_CSPtr

Definition at line 10 of file replacelinepatternevent.h.

Constructor & Destructor Documentation

lc::ReplaceLinePatternEvent::ReplaceLinePatternEvent ( const DxfLinePatternByValue_CSPtr  oldLinePattern,
const DxfLinePatternByValue_CSPtr  newLinePattern 
)
inline

Replace LinePattern Event.

Parameters
LinePattern_CSPtrold line pattern
LinePattern_CSPtrnew line pattern

Definition at line 17 of file replacelinepatternevent.h.

19  }
const DxfLinePatternByValue_CSPtr newLinePattern() const
Return LinePattern to add.
const DxfLinePatternByValue_CSPtr oldLinePattern() const
Return LinePattern to replace.
const DxfLinePatternByValue_CSPtr _newLinePattern
const DxfLinePatternByValue_CSPtr _oldLinePattern

Member Function Documentation

const DxfLinePatternByValue_CSPtr lc::ReplaceLinePatternEvent::newLinePattern ( ) const
inline

Return LinePattern to add.

Returns
DxfLinePatternByValue_CSPtr

Definition at line 33 of file replacelinepatternevent.h.

33  {
34  return _newLinePattern;
35  }
const DxfLinePatternByValue_CSPtr _newLinePattern
const DxfLinePatternByValue_CSPtr lc::ReplaceLinePatternEvent::oldLinePattern ( ) const
inline

Return LinePattern to replace.

Returns
DxfLinePatternByValue_CSPtr

Definition at line 25 of file replacelinepatternevent.h.

25  {
26  return _oldLinePattern;
27  }
const DxfLinePatternByValue_CSPtr _oldLinePattern

Member Data Documentation

const DxfLinePatternByValue_CSPtr lc::ReplaceLinePatternEvent::_newLinePattern
private

Definition at line 39 of file replacelinepatternevent.h.

const DxfLinePatternByValue_CSPtr lc::ReplaceLinePatternEvent::_oldLinePattern
private

Definition at line 38 of file replacelinepatternevent.h.


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