Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  class_field_layout.rst   Sprache: unbekannt

 
Spracherkennung für: .rst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

.. _searchfox_field_layout:

==================
Class field layout
==================

The class field layout table shows the layout of a class or struct,
including inherited members, and holes.

The table reflects multiple build configurations and the platforms.

If the layout differs between them, for example with the following reasons, a row is created for each group.
  - Debug-only fields
  - Pointer size difference between platforms

**Enabling Class field layout**: To use class field layout features, visit the
`settings page <https://searchfox.org/mozilla-central/pages/settings.html>`_ and
change the "Default feature gate" from "Release" to "Alpha", or use the
"Semantic Info Queries gate" setting.


.. image:: img/field-layout.png
    :class: border
    :alt: Class field layout table
    :width: 800px

Context Menu
------------

.. image:: img/context-menu-layout.png
    :class: border
    :alt: The context menu for classes
    :width: 484px

Class layout of ...
  Open the class field layout table of given class.

Controls
--------

Use Ascending Order/Use Descending Order
  Order the classes in the ascending/descending order of the offset.

  By default, descending order is used, and thus the specified class is shown in the top,
  and the base classes are shown below it.

  Choosing the ascending order makes the all fields orderedby the field offset.

Columns
  Select the columns to show.

  Corresponds to the `show-cols:LIST` parameter.

  Name
    The name of the field.

  Type
    The actual type of the field.

  Line
    The actual line that declares the field.
    This can be a macro invocation.


Queries
-------

Show the class field layout table of given a class or struct.

::

    field-layout:'nsTString'

https://searchfox.org/mozilla-central/query/default?q=field-layout%3A%27nsTString%27

[Dauer der Verarbeitung: 0.16 Sekunden, vorverarbeitet 2026-08-25]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002