Clipboard Class Reference

#include <Clipboard.h>

List of all members.


Detailed Description

Definition at line 22 of file Clipboard.h.

Public Types

typedef std::vector< PointPointList

Public Member Functions

 Clipboard ()
 ~Clipboard ()
void clear ()
bool empty () const
const PointListgetPoints () const
void setPoints (const PointList &points)
void addPoint (const Point &point)
bool haveReferenceFrames () const
bool referenceFramesDiffer () const

Protected Attributes

PointList m_points

Classes

class  Point


Member Typedef Documentation

typedef std::vector<Point> Clipboard::PointList

Definition at line 74 of file Clipboard.h.


Constructor & Destructor Documentation

Clipboard::Clipboard (  ) 

Definition at line 199 of file Clipboard.cpp.

Clipboard::~Clipboard (  ) 

Definition at line 200 of file Clipboard.cpp.


Member Function Documentation

void Clipboard::clear (  ) 

Definition at line 203 of file Clipboard.cpp.

References m_points.

Referenced by MainWindowBase::copy(), and MainWindowBase::cut().

bool Clipboard::empty (  )  const

Definition at line 209 of file Clipboard.cpp.

References m_points.

Referenced by MainWindowBase::updateMenuStates().

const Clipboard::PointList & Clipboard::getPoints (  )  const

Definition at line 215 of file Clipboard.cpp.

References m_points.

Referenced by Layer::clipboardHasDifferentAlignment(), LayerFactory::getLayerTypeForClipboardContents(), TimeValueLayer::paste(), TimeInstantLayer::paste(), TextLayer::paste(), NoteLayer::paste(), and ImageLayer::paste().

void Clipboard::setPoints ( const PointList points  ) 

Definition at line 221 of file Clipboard.cpp.

References m_points.

void Clipboard::addPoint ( const Point point  ) 

Definition at line 227 of file Clipboard.cpp.

References m_points.

Referenced by TimeValueLayer::copy(), TimeInstantLayer::copy(), TextLayer::copy(), NoteLayer::copy(), and ImageLayer::copy().

bool Clipboard::haveReferenceFrames (  )  const

Definition at line 233 of file Clipboard.cpp.

References m_points.

bool Clipboard::referenceFramesDiffer (  )  const

Definition at line 243 of file Clipboard.cpp.

References m_points.


Member Data Documentation

PointList Clipboard::m_points [protected]

Definition at line 86 of file Clipboard.h.

Referenced by addPoint(), clear(), empty(), getPoints(), haveReferenceFrames(), referenceFramesDiffer(), and setPoints().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 15:45:32 2008 for SonicVisualiser by  doxygen 1.5.1