Class: DBus::Data::Int32

Inherits:
Int show all
Defined in:
lib/dbus/data.rb

Overview

Signed 32 bit integer.

Constant Summary collapse

FORMAT =
Format.new("l<", "l>")

Instance Attribute Summary

Attributes inherited from Base

#value

Class Method Summary collapse

Methods inherited from Int

#initialize

Methods inherited from Fixed

fixed?, from_raw, #marshall

Methods inherited from Basic

basic?, from_typed, type, #type

Methods inherited from Base

#==, assert_type_matches_class, basic?, #eql?, fixed?, from_typed, #initialize, #type

Constructor Details

This class inherits a constructor from DBus::Data::Int

Class Method Details

.alignmentObject



293
294
295
# File 'lib/dbus/data.rb', line 293

def self.alignment
  4
end

.formatObject



298
299
300
# File 'lib/dbus/data.rb', line 298

def self.format
  FORMAT
end

.rangeObject



302
303
304
# File 'lib/dbus/data.rb', line 302

def self.range
  (-2_147_483_648..2_147_483_647)
end

.type_codeObject



289
290
291
# File 'lib/dbus/data.rb', line 289

def self.type_code
  "i"
end