svcore  1.9
Clipboard::Point Class Reference

#include <Clipboard.h>

Public Member Functions

 Point (long frame, QString label)
 
 Point (long frame, float value, QString label)
 
 Point (long frame, float value, int duration, QString label)
 
 Point (long frame, float value, int duration, float level, QString label)
 
 Point (const Point &point)
 
Pointoperator= (const Point &point)
 
bool haveFrame () const
 
long getFrame () const
 
Point withFrame (long frame) const
 
bool haveValue () const
 
float getValue () const
 
Point withValue (float value) const
 
bool haveDuration () const
 
int getDuration () const
 
Point withDuration (int duration) const
 
bool haveLabel () const
 
QString getLabel () const
 
Point withLabel (QString label) const
 
bool haveLevel () const
 
float getLevel () const
 
Point withLevel (float level) const
 
bool haveReferenceFrame () const
 
bool referenceFrameDiffers () const
 
long getReferenceFrame () const
 
void setReferenceFrame (long)
 

Private Attributes

bool m_haveFrame
 
long m_frame
 
bool m_haveValue
 
float m_value
 
bool m_haveDuration
 
int m_duration
 
bool m_haveLabel
 
QString m_label
 
bool m_haveLevel
 
float m_level
 
bool m_haveReferenceFrame
 
long m_referenceFrame
 

Detailed Description

Definition at line 25 of file Clipboard.h.

Constructor & Destructor Documentation

◆ Point() [1/5]

Clipboard::Point::Point ( long  frame,
QString  label 
)

Definition at line 18 of file Clipboard.cpp.

◆ Point() [2/5]

Clipboard::Point::Point ( long  frame,
float  value,
QString  label 
)

Definition at line 34 of file Clipboard.cpp.

◆ Point() [3/5]

Clipboard::Point::Point ( long  frame,
float  value,
int  duration,
QString  label 
)

Definition at line 50 of file Clipboard.cpp.

◆ Point() [4/5]

Clipboard::Point::Point ( long  frame,
float  value,
int  duration,
float  level,
QString  label 
)

Definition at line 66 of file Clipboard.cpp.

◆ Point() [5/5]

Clipboard::Point::Point ( const Point point)

Definition at line 82 of file Clipboard.cpp.

Member Function Documentation

◆ operator=()

Clipboard::Point & Clipboard::Point::operator= ( const Point point)

◆ haveFrame()

bool Clipboard::Point::haveFrame ( ) const

Definition at line 118 of file Clipboard.cpp.

◆ getFrame()

long Clipboard::Point::getFrame ( ) const

Definition at line 124 of file Clipboard.cpp.

◆ withFrame()

Clipboard::Point Clipboard::Point::withFrame ( long  frame) const

Definition at line 130 of file Clipboard.cpp.

References m_frame, and m_haveFrame.

◆ haveValue()

bool Clipboard::Point::haveValue ( ) const

Definition at line 139 of file Clipboard.cpp.

◆ getValue()

float Clipboard::Point::getValue ( ) const

Definition at line 145 of file Clipboard.cpp.

◆ withValue()

Clipboard::Point Clipboard::Point::withValue ( float  value) const

Definition at line 151 of file Clipboard.cpp.

References m_haveValue, and m_value.

◆ haveDuration()

bool Clipboard::Point::haveDuration ( ) const

Definition at line 160 of file Clipboard.cpp.

◆ getDuration()

int Clipboard::Point::getDuration ( ) const

Definition at line 166 of file Clipboard.cpp.

◆ withDuration()

Clipboard::Point Clipboard::Point::withDuration ( int  duration) const

Definition at line 172 of file Clipboard.cpp.

References m_duration, and m_haveDuration.

◆ haveLabel()

bool Clipboard::Point::haveLabel ( ) const

Definition at line 181 of file Clipboard.cpp.

◆ getLabel()

QString Clipboard::Point::getLabel ( ) const

Definition at line 187 of file Clipboard.cpp.

◆ withLabel()

Clipboard::Point Clipboard::Point::withLabel ( QString  label) const

Definition at line 193 of file Clipboard.cpp.

References m_haveLabel, and m_label.

◆ haveLevel()

bool Clipboard::Point::haveLevel ( ) const

Definition at line 202 of file Clipboard.cpp.

◆ getLevel()

float Clipboard::Point::getLevel ( ) const

Definition at line 208 of file Clipboard.cpp.

◆ withLevel()

Clipboard::Point Clipboard::Point::withLevel ( float  level) const

Definition at line 214 of file Clipboard.cpp.

References m_haveLevel, and m_level.

◆ haveReferenceFrame()

bool Clipboard::Point::haveReferenceFrame ( ) const

Definition at line 223 of file Clipboard.cpp.

◆ referenceFrameDiffers()

bool Clipboard::Point::referenceFrameDiffers ( ) const

Definition at line 229 of file Clipboard.cpp.

◆ getReferenceFrame()

long Clipboard::Point::getReferenceFrame ( ) const

Definition at line 235 of file Clipboard.cpp.

◆ setReferenceFrame()

void Clipboard::Point::setReferenceFrame ( long  f)

Definition at line 241 of file Clipboard.cpp.

Member Data Documentation

◆ m_haveFrame

bool Clipboard::Point::m_haveFrame
private

Definition at line 62 of file Clipboard.h.

Referenced by operator=(), and withFrame().

◆ m_frame

long Clipboard::Point::m_frame
private

Definition at line 63 of file Clipboard.h.

Referenced by operator=(), and withFrame().

◆ m_haveValue

bool Clipboard::Point::m_haveValue
private

Definition at line 64 of file Clipboard.h.

Referenced by operator=(), and withValue().

◆ m_value

float Clipboard::Point::m_value
private

Definition at line 65 of file Clipboard.h.

Referenced by operator=(), and withValue().

◆ m_haveDuration

bool Clipboard::Point::m_haveDuration
private

Definition at line 66 of file Clipboard.h.

Referenced by operator=(), and withDuration().

◆ m_duration

int Clipboard::Point::m_duration
private

Definition at line 67 of file Clipboard.h.

Referenced by operator=(), and withDuration().

◆ m_haveLabel

bool Clipboard::Point::m_haveLabel
private

Definition at line 68 of file Clipboard.h.

Referenced by operator=(), and withLabel().

◆ m_label

QString Clipboard::Point::m_label
private

Definition at line 69 of file Clipboard.h.

Referenced by operator=(), and withLabel().

◆ m_haveLevel

bool Clipboard::Point::m_haveLevel
private

Definition at line 70 of file Clipboard.h.

Referenced by operator=(), and withLevel().

◆ m_level

float Clipboard::Point::m_level
private

Definition at line 71 of file Clipboard.h.

Referenced by operator=(), and withLevel().

◆ m_haveReferenceFrame

bool Clipboard::Point::m_haveReferenceFrame
private

Definition at line 72 of file Clipboard.h.

Referenced by operator=().

◆ m_referenceFrame

long Clipboard::Point::m_referenceFrame
private

Definition at line 73 of file Clipboard.h.

Referenced by operator=().


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