class GPhoto2::CameraList

Included Modules

Defined in:

gphoto2/camera_list.cr

Constructors

Instance Method Summary

Instance methods inherited from module GPhoto2::Struct(LibGPhoto2::CameraList)

ptr : Pointer(T) ptr, ptr? : Pointer(T) | Nil ptr?, to_unsafe : Pointer(T) to_unsafe, wrapped : T wrapped

Constructor methods inherited from module GPhoto2::Struct(LibGPhoto2::CameraList)

new(ptr : Pointer(T) | Nil = nil) new

Constructor Detail

def self.new #

NOTE allocates memory.


[View source]

Instance Method Detail

def finalize #

Finalizes object by freeing allocated memory.


[View source]
def size : Int32 #

Returns number of entries in the list.


[View source]
def to_a : Array(Entry) #

Returns an array of entries in the list.


[View source]