Class: Relyze::ExecutableFileModel::DataType

Inherits:
Object
  • Object
show all
Defined in:
C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb

Instance Method Summary collapse

Instance Method Details

#accessSymbol

Get the access for this data type.

Returns:

  • (Symbol)

    This data types access, either :public, :private, :protected or :inconclusive.



283
284
285
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 283

def access
    return nil
end

#dupRelyze::ExecutableFileModel::DataType?

Generate a cloned instance of this data type.

Returns:



247
248
249
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 247

def dup
    return nil
end

#modifiersArray<Symbol>?

Get the modifiers for this data type as an Array of Symbols.

Returns:

  • (Array<Symbol>, nil)

    This data types access, either :const, :volative, :static, :extern, :virtual, :nonvirtual, :thunk, :operator, :noreturn, :noclobber, :inline, :implicit



290
291
292
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 290

def modifiers
    return nil
end

#nameString?

Get the data type name.

Returns:

  • (String, nil)

    This data types name.



254
255
256
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 254

def name
    return nil
end

#sizeInteger

Get the data type byte size.

Returns:

  • (Integer)

    This data types size.



261
262
263
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 261

def size
    return 0
end

#to_s(instance_name = nil) ⇒ String

Get a C like declaration of this data type.

Parameters:

  • instance_name (String, nil) (defaults to: nil)

    If given the declaration will use this instance name.

Returns:

  • (String)

    The C like declaration of this data type.



276
277
278
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 276

def to_s( instance_name=nil )
    return nil
end

#typeSymbol

Get the type of data type.

Returns:

  • (Symbol)

    This data types type, either :primitive, :align, :pointer, :array, :structure, :duplicate, :import, :string, :function, :enum, :union, :wrapped, :typedef, :unknown or :vector.



268
269
270
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 268

def type
    return nil
end
.9.20 (ruby-2.6.5).