예제 #1
0
 public Timeline(RCArray <long> g,
                 RCArray <long> e,
                 RCArray <RCTimeScalar> t,
                 RCArray <RCSymbolScalar> s)
 {
     Colset = new RCArray <string> (4);
     if (g != null)
     {
         Colset.Write("G");
         Global = g;
         _count = Global.Count;
     }
     if (e != null)
     {
         Colset.Write("E");
         Event  = e;
         _count = Event.Count;
     }
     if (t != null)
     {
         Colset.Write("T");
         Time   = t;
         _count = Time.Count;
     }
     if (s != null)
     {
         Colset.Write("S");
         Symbol = s;
         _count = Symbol.Count;
     }
     Proto = CubeProto.Create(this);
 }
예제 #2
0
 public Timeline(RCArray <RCSymbolScalar> s)
 {
     Colset = new RCArray <string> (1);
     Colset.Write("S");
     Symbol = s;
     _count = Symbol.Count;
     Proto  = CubeProto.Create(this);
 }
예제 #3
0
 public Timeline(RCArray <string> cols)
 {
     Colset = cols;
     if (Colset.Contains("G"))
     {
         Global = new RCArray <long> ();
     }
     if (Colset.Contains("E"))
     {
         Event = new RCArray <long> ();
     }
     if (Colset.Contains("T"))
     {
         Time = new RCArray <RCTimeScalar> ();
     }
     if (Colset.Contains("S"))
     {
         Symbol = new RCArray <RCSymbolScalar> ();
     }
     Proto = CubeProto.Create(this);
 }
예제 #4
0
 public Timeline(int count)
 {
     Colset = new RCArray <string> (0);
     _count = count;
     Proto  = CubeProto.Create(this);
 }