class cmpi::CMPIData

Public Class Methods

new(p1) click to toggle source

type, state, value are created by SWIG via %include cmpidt above

(CMPIData *data)
  {
    return data_clone(data);
  }
  ~_CMPIData()
  {
    free($self);
  }

#ifdef SWIGRUBY
  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);
  }
}

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);
  }
}
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);
  }
}