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.



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

def access
    return nil
end

#dupRelyze::ExecutableFileModel::DataType?

Generate a cloned instance of this data type.

Returns:



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

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



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

def modifiers
    return nil
end

#nameString?

Get the data type name.

Returns:

  • (String, nil)

    This data types name.



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

def name
    return nil
end

#sizeInteger

Get the data type byte size.

Returns:

  • (Integer)

    This data types size.



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

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.



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

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.



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

def type
    return nil
end