jdkmidi class library documentation

Copyright © 2004 J.D. Koftinoff Software, Ltd.

Released under the GNU General Public License (GPL)




Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

jdkmidi::MIDICue Class Reference

#include <showcontrol.h>

List of all members.

Public Member Functions

 MIDICue (const MIDICue &c)
 MIDICue ()
 MIDICue (ulong v1_)
 MIDICue (ulong v1_, ulong v2_)
 MIDICue (ulong v1_, ulong v2_, ulong v3_)
void Clear ()
 operator ulong () const
const MIDICueoperator= (const MIDICue &c)
const MIDICueoperator= (ulong v)
const bool operator== (ulong v)
const MIDICueoperator== (const MIDICue &c)
const bool operator!= (ulong v)
const MIDICueoperator!= (const MIDICue &c)
bool operator<= (ulong v)
bool operator>= (ulong v)
bool operator< (ulong v)
bool operator> (ulong v)
ulong GetNumValues () const
ulong GetV1 () const
ulong GetV2 () const
ulong GetV3 () const
void SetNumValues (int a)
void SetV1 (ulong a)
void SetV2 (ulong a)
void SetV3 (ulong a)

Protected Attributes

ulong v1
ulong v2
ulong v3
int num_values

Friends

MIDICue operator- (const MIDICue &c, const MIDICue &d)
MIDICue operator- (const MIDICue &c, ulong v)
MIDICue operator- (ulong v, const MIDICue &c)
MIDICue operator+ (const MIDICue &c, const MIDICue &d)
MIDICue operator+ (const MIDICue &c, ulong v)
MIDICue operator+ (ulong v, const MIDICue &c)


Constructor & Destructor Documentation

jdkmidi::MIDICue::MIDICue const MIDICue c  )  [inline]
 

Definition at line 152 of file showcontrol.h.

References num_values, v1, v2, and v3.

00152 : v1( c.v1 ), v2( c.v2), v3( c.v3 ), num_values( c.num_values )   {}

jdkmidi::MIDICue::MIDICue  )  [inline]
 

Definition at line 153 of file showcontrol.h.

References num_values, and v1.

00153 : v1( 0 ), num_values(1)      {}

jdkmidi::MIDICue::MIDICue ulong  v1_  )  [inline]
 

Definition at line 154 of file showcontrol.h.

References num_values, ulong, and v1.

00154 : v1( v1_ ),num_values(1)     {}

jdkmidi::MIDICue::MIDICue ulong  v1_,
ulong  v2_
[inline]
 

Definition at line 155 of file showcontrol.h.

References num_values, ulong, v1, and v2.

00155 : v1( v1_ ),v2( v2_ ),num_values(2)   {}

jdkmidi::MIDICue::MIDICue ulong  v1_,
ulong  v2_,
ulong  v3_
[inline]
 

Definition at line 156 of file showcontrol.h.

References num_values, ulong, v1, v2, and v3.

00156 : v1( v1_ ),v2( v2_ ),v3( v3_ ),num_values(3) {}


Member Function Documentation

void jdkmidi::MIDICue::Clear  )  [inline]
 

Definition at line 158 of file showcontrol.h.

References num_values, and v1.

00158 { v1=0; num_values=1; }

ulong jdkmidi::MIDICue::GetNumValues  )  const [inline]
 

Definition at line 197 of file showcontrol.h.

References num_values, and ulong.

00197 { return num_values;   }

ulong jdkmidi::MIDICue::GetV1  )  const [inline]
 

Definition at line 198 of file showcontrol.h.

References ulong, and v1.

00198 { return v1;  }

ulong jdkmidi::MIDICue::GetV2  )  const [inline]
 

Definition at line 199 of file showcontrol.h.

References ulong, and v2.

00199 { return v2;  }

ulong jdkmidi::MIDICue::GetV3  )  const [inline]
 

Definition at line 200 of file showcontrol.h.

References ulong, and v3.

00200 { return v3;  }

jdkmidi::MIDICue::operator ulong  )  const [inline]
 

Definition at line 159 of file showcontrol.h.

References v1.

00159 { return v1;  }

const MIDICue& jdkmidi::MIDICue::operator!= const MIDICue c  ) 
 

const bool jdkmidi::MIDICue::operator!= ulong  v  )  [inline]
 

Definition at line 171 of file showcontrol.h.

References ulong, and v1.

00172         { return v1!=v; }

bool jdkmidi::MIDICue::operator< ulong  v  )  [inline]
 

Definition at line 182 of file showcontrol.h.

References ulong, and v1.

00183         { return v1<v; }

bool jdkmidi::MIDICue::operator<= ulong  v  )  [inline]
 

Definition at line 176 of file showcontrol.h.

References ulong, and v1.

00177         { return v1<=v; }

const MIDICue& jdkmidi::MIDICue::operator= ulong  v  )  [inline]
 

Definition at line 164 of file showcontrol.h.

References num_values, ulong, and v1.

00165         { v1=v; num_values=1; return *this; }

const MIDICue& jdkmidi::MIDICue::operator= const MIDICue c  )  [inline]
 

Definition at line 161 of file showcontrol.h.

References num_values, v1, v2, and v3.

00162         { v1=c.v1; v2=c.v2; v3=c.v3; num_values = c.num_values; return *this; }

const MIDICue& jdkmidi::MIDICue::operator== const MIDICue c  ) 
 

const bool jdkmidi::MIDICue::operator== ulong  v  )  [inline]
 

Definition at line 167 of file showcontrol.h.

References ulong, and v1.

00168         { return v1==v; }

bool jdkmidi::MIDICue::operator> ulong  v  )  [inline]
 

Definition at line 185 of file showcontrol.h.

References ulong, and v1.

00186         { return v1>v; }

bool jdkmidi::MIDICue::operator>= ulong  v  )  [inline]
 

Definition at line 179 of file showcontrol.h.

References ulong, and v1.

00180         { return v1>=v; }

void jdkmidi::MIDICue::SetNumValues int  a  )  [inline]
 

Definition at line 202 of file showcontrol.h.

References num_values.

00202 { num_values=a; }

void jdkmidi::MIDICue::SetV1 ulong  a  )  [inline]
 

Definition at line 203 of file showcontrol.h.

References ulong, and v1.

00203 { v1=a;   }

void jdkmidi::MIDICue::SetV2 ulong  a  )  [inline]
 

Definition at line 204 of file showcontrol.h.

References ulong, and v2.

00204 { v2=a;   }

void jdkmidi::MIDICue::SetV3 ulong  a  )  [inline]
 

Definition at line 205 of file showcontrol.h.

References ulong, and v3.

00205 { v3=a;   }


Friends And Related Function Documentation

MIDICue operator+ ulong  v,
const MIDICue c
[friend]
 

Definition at line 258 of file showcontrol.h.

00259     {
00260       MIDICue result(v + c.v1 );
00261       
00262       return result;
00263     }

MIDICue operator+ const MIDICue c,
ulong  v
[friend]
 

Definition at line 249 of file showcontrol.h.

00250     {
00251       MIDICue result(c);
00252       
00253       result.v1 += v;
00254       return result;
00255       
00256     }

MIDICue operator+ const MIDICue c,
const MIDICue d
[friend]
 

Definition at line 237 of file showcontrol.h.

00238     {
00239       MIDICue result=c;
00240       
00241       result.v1 += d.v1;
00242       result.v2 += d.v2;
00243       result.v3 += d.v3;
00244       
00245       return result;
00246       
00247     }

MIDICue operator- ulong  v,
const MIDICue c
[friend]
 

Definition at line 230 of file showcontrol.h.

00231     {
00232       MIDICue result(v - c.v1 );
00233       
00234       return result;
00235     }

MIDICue operator- const MIDICue c,
ulong  v
[friend]
 

Definition at line 222 of file showcontrol.h.

00223     {
00224       MIDICue result(c);
00225       
00226       result.v1 -= v;
00227       return result;
00228     }

MIDICue operator- const MIDICue c,
const MIDICue d
[friend]
 

Definition at line 211 of file showcontrol.h.

00212     {
00213       MIDICue result=c;
00214       
00215       result.v1 -= d.v1;
00216       result.v2 -= d.v2;
00217       result.v3 -= d.v3;
00218       
00219       return result;
00220     }


Member Data Documentation

int jdkmidi::MIDICue::num_values [protected]
 

Definition at line 208 of file showcontrol.h.

ulong jdkmidi::MIDICue::v1 [protected]
 

Definition at line 207 of file showcontrol.h.

ulong jdkmidi::MIDICue::v2 [protected]
 

Definition at line 207 of file showcontrol.h.

ulong jdkmidi::MIDICue::v3 [protected]
 

Definition at line 207 of file showcontrol.h.


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