Tabla de contenidos | Jerarquía de las clases
 Collection
Collection
 
 Base : Objekt
 
- Propiedades del objeto:
- Se pueden crear clases derivadas de ésta.
- Puede usarse en referencias definidas por el usuario.
- No necesita padre.
- Algunos de sus atributos son persistentes.
 
Descripción
 Atributos heredados
 
 
  - De Objekt:
- 
   
    _comment_,
   
    parent,
   
    rand,
   
    randomize,
   
    children,
   
    child,
   
    front,
   
    back,
   
    childIndex,
   
    childByName,
   
  
Atributos
 
  
   uint DEBUG 
   
    Flags
    
     Nombre oculto.
    
     El valor no se guarda con el proyecto.
    
   
  
  
  
   
   
  
 
  
   Objekt current 
   
    Reference
    
     No modificable por expresión..
    
     El valor no se guarda con el proyecto.
    
   
  
  
  
   
   
  
 
  
   Objekt first 
   
    Reference
    
     No modificable por expresión..
    
     El valor no se guarda con el proyecto.
    
   
  
  
  
   
   
  
 
  
   Objekt last 
   
    Reference
    
     No modificable por expresión..
    
     El valor no se guarda con el proyecto.
    
   
  
  
  
   
   
  
 
  
   int count 
   
    Number
    
     No modificable por expresión..
    
     El valor no se guarda con el proyecto.
    
   
  
  
  
   
   
  
 
  
   bool is_empty 
   
    Bool
    
     No modificable por expresión..
    
     El valor no se guarda con el proyecto.
    
   
  
  
  
   
   
  
 
  
   float total_weight 
   
    Number
    
     No modificable por expresión..
    
     El valor no se guarda con el proyecto.
    
   
  
  
  
   
   
  
 
  
   klass klass 
   
    Klass
    
   
  
  
  
   
   
  
 
  
   int sort_order 
   
    Enum
    
   
  
  
  
   
   
  
 
  
   Objekt rand_gen 
   
    Reference
    
   
  
  
  
   
   
  
 
  
   bool weights_gt_0 
   
    Bool
    
   
  
  
  
   
   
  
 
  
   bool auto_current 
   
    Bool
    
   
  
  
  
   
   
  
 
  
   void on_current 
   
    Expression
    
     No modificable por expresión..
    
   
  
  
  
   
   
  
 
  
   void on_change 
   
    Expression
    
     No modificable por expresión..
    
   
  
  
  
   
   
  
 
  
   caller Content|Reset 
   
    Caller
    
     Nombre oculto.
    
   
  
  

  
   
   
  
 
  
   void reset (this: Collection)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void set_current (this: Collection, obj: Objekt)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void current_forward (this: Collection, cycle: bool)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void current_backward (this: Collection, cycle: bool)
   
    Method
    
   
  
  
  
   
   
  
 
  
   float weight (this: Collection, obj: Objekt)
   
    Method
    
   
  
  
  
   
   
  
 
  
   bool contains (this: Collection, obj: Objekt)
   
    Method
    
   
  
  
  
   
   
  
 
  
   Objekt item (this: Collection, index: int)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void put (this: Collection, obj: Objekt)
   
    Method
    
   
  
  
  
   
   
  
 
  
   Objekt get (this: Collection)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void toggle (this: Collection, obj: Objekt)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void cut (this: Collection, count: int)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void del (this: Collection, obj: Objekt)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void add (this: Collection, obj: Objekt, weight: float)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void sub (this: Collection, obj: Objekt, weight: float)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void set (this: Collection, obj: Objekt, weight: float)
   
    Method
    
   
  
  
  
   
   
  
 
  
   Objekt get_where (this: Collection, iter_expr: bool)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void del_where (this: Collection, iter_expr: bool)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void add_where (this: Collection, weight: bool)
   
    Method
    
   
  
  
  
   
   
  
 
  
   void set_where (this: Collection, weight: bool)
   
    Method
    
   
  
  
  
   
   
  
 
(C) Paco Suárez (pacosu@xitai,es). 2020.
XITAI