class Cmpi::CMPIData

Representation of data with value, type, and flags (null, key, array)

CMPIData

Public Instance Methods

inspect() click to toggle source
  VALUE inspect()
  {
    Target_Type value = data_value($self);
    return rb_funcall(value, rb_intern("inspect"), 0);
  }
#endif


  %rename("null?") is_null;


  int is_null()
  {
    return CMIsNullValue((*($self)));
  }

  %rename("key?") is_key;

  int is_key()
  {
    return CMIsKeyValue((*($self)));
  }

  %rename("array?") is_array;

  int is_array()
  {
    return CMIsArray((*($self)));
  }

  VALUE



  _value()
  {
    return data_value($self);
  }
}
is_array() click to toggle source

  int is_array()
  {
    return CMIsArray((*($self)));
  }

  VALUE



  _value()
  {
    return data_value($self);
  }
}
is_key() click to toggle source

  int is_key()
  {
    return CMIsKeyValue((*($self)));
  }

  %rename("array?") is_array;

  int is_array()
  {
    return CMIsArray((*($self)));
  }

  VALUE



  _value()
  {
    return data_value($self);
  }
}
is_null() click to toggle source


  int is_null()
  {
    return CMIsNullValue((*($self)));
  }

  %rename("key?") is_key;

  int is_key()
  {
    return CMIsKeyValue((*($self)));
  }

  %rename("array?") is_array;

  int is_array()
  {
    return CMIsArray((*($self)));
  }

  VALUE



  _value()
  {
    return data_value($self);
  }
}
method_missing(name, *args) click to toggle source
# File cmpi.rb, line 522
    def method_missing name, *args
#      STDERR.puts "CMPIData.%s? %0x" % [name, type]
      case type
      when Cmpi.instance
        value.inst.send(name,*args)
      when Cmpi.ref
        value.ref.send(name,*args)
      end
    end
to_s() click to toggle source
  VALUE to_s()
  {
    Target_Type value = data_value($self);
    return rb_funcall(value, rb_intern("to_s"), 0);
  }
  VALUE inspect()
  {
    Target_Type value = data_value($self);
    return rb_funcall(value, rb_intern("inspect"), 0);
  }
#endif


  %rename("null?") is_null;


  int is_null()
  {
    return CMIsNullValue((*($self)));
  }

  %rename("key?") is_key;

  int is_key()
  {
    return CMIsKeyValue((*($self)));
  }

  %rename("array?") is_array;

  int is_array()
  {
    return CMIsArray((*($self)));
  }

  VALUE



  _value()
  {
    return data_value($self);
  }
}