diff base/Clipboard.cpp @ 369:007b01b971a6

* function rename & notes
author Chris Cannam
date Mon, 04 Feb 2008 13:35:11 +0000
parents 516819f2b97b
children e73a1a1e8f24
line wrap: on
line diff
--- a/base/Clipboard.cpp	Tue Jan 29 19:54:54 2008 +0000
+++ b/base/Clipboard.cpp	Mon Feb 04 13:35:11 2008 +0000
@@ -24,7 +24,7 @@
     m_label(label),
     m_haveLevel(false),
     m_level(0.f),
-    m_haveReferenceFrame(false),
+    m_referenceFramesDiffer(false),
     m_referenceFrame(frame)
 {
 }
@@ -39,7 +39,7 @@
     m_label(label),
     m_haveLevel(false),
     m_level(0.f),
-    m_haveReferenceFrame(false),
+    m_referenceFramesDiffer(false),
     m_referenceFrame(frame)
 {
 }
@@ -55,7 +55,7 @@
     m_label(label),
     m_haveLevel(false),
     m_level(0.f),
-    m_haveReferenceFrame(false),
+    m_referenceFramesDiffer(false),
     m_referenceFrame(frame)
 {
 }
@@ -71,7 +71,7 @@
     m_label(label),
     m_haveLevel(true),
     m_level(level),
-    m_haveReferenceFrame(false),
+    m_referenceFramesDiffer(false),
     m_referenceFrame(frame)
 {
 }
@@ -87,7 +87,7 @@
     m_label(point.m_label),
     m_haveLevel(point.m_haveLevel),
     m_level(point.m_level),
-    m_haveReferenceFrame(point.m_haveReferenceFrame),
+    m_referenceFramesDiffer(point.m_referenceFramesDiffer),
     m_referenceFrame(point.m_referenceFrame)
 {
 }
@@ -106,7 +106,7 @@
     m_label = point.m_label;
     m_haveLevel = point.m_haveLevel;
     m_level = point.m_level;
-    m_haveReferenceFrame = point.m_haveReferenceFrame;
+    m_referenceFramesDiffer = point.m_referenceFramesDiffer;
     m_referenceFrame = point.m_referenceFrame;
     return *this;
 }
@@ -172,9 +172,9 @@
 }
 
 bool
-Clipboard::Point::haveReferenceFrame() const
+Clipboard::Point::referenceFramesDiffer() const
 {
-    return m_haveReferenceFrame;
+    return m_referenceFramesDiffer;
 }
 
 long
@@ -186,7 +186,7 @@
 void
 Clipboard::Point::setReferenceFrame(long f) 
 {
-    if (f != m_frame) m_haveReferenceFrame = true;
+    if (f != m_frame) m_referenceFramesDiffer = true;
     m_referenceFrame = f;
 }
 
@@ -224,11 +224,11 @@
 }
 
 bool
-Clipboard::haveReferenceFrames() const
+Clipboard::referenceFramesDiffer() const
 {
     for (PointList::const_iterator i = m_points.begin();
          i != m_points.end(); ++i) {
-        if (i->haveReferenceFrame()) return true;
+        if (i->referenceFramesDiffer()) return true;
     } 
     return false;
 }