02.05.2014 Views

Ocean* Application Development Framework - Ocean - Schlumberger

Ocean* Application Development Framework - Ocean - Schlumberger

Ocean* Application Development Framework - Ocean - Schlumberger

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Basics<br />

The Index3 class definition is:<br />

public sealed class Index3 : ICloneable<br />

{<br />

public Index3 ();<br />

public Index3 (Index3 rhs);<br />

public Index3 (int i, int j, int k);<br />

public Index3 (int[ ] arg);<br />

public int this[ int pos ];<br />

public int I { ; set; }<br />

public int J { ; set; }<br />

public int K { ; set; }<br />

public object Clone ();<br />

public static int Dot (Index3 p1, Index3 p2);<br />

public override bool Equals (object obj);<br />

public override int GetHashCode ();<br />

public bool IsAllNegative ();<br />

public bool IsAllNonNegative ();<br />

public bool IsAllNonPositive ();<br />

public bool IsAllNonZero ();<br />

public bool IsAllPositive ();<br />

public bool IsAllZero ();<br />

public static Index3 Max (Index3 p1, Index3 p2);<br />

public static Index3 Min (Index3 p1, Index3 p2);<br />

public static Index3 One ();<br />

public static int Product (Index3 p1);<br />

public static int Sum (Index3 p1);<br />

public override string ToString ();<br />

public static Index3 Zero ();<br />

public static Index3 operator – (Index3 p1);<br />

public static Index3 operator – (Index3 p1, Index3 p2);<br />

public static Index3 operator – (Index3 p1, int val);<br />

public static Index3 operator – (int val, Index3 p1);<br />

public static Index3 operator != (Index3 p1, Index3 p2);<br />

public static Index3 operator * (Index3 p1, Index3 p2);<br />

public static Index3 operator * (Index3 p1, int val);<br />

public static Index3 operator * (int val, Index3 p1);<br />

public static Index3 operator / (Index3 p1, Index3 p2);<br />

public static Index3 operator / (Index3 p1, int val);<br />

4-68 <strong>Ocean</strong> <strong>Application</strong> <strong>Development</strong> <strong>Framework</strong> 2009.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!