StructLayoutEntry Struct Reference

#include <abiStuff.h>

Collaboration diagram for StructLayoutEntry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StructLayoutEntry (SgNode *decl, size_t byteOffset, size_t fieldSize, size_t bitFieldContainerSize=0, size_t bitOffset=0)

Public Attributes

SgNodedecl
 If a SgInitializedName, the field represented by this entry If a SgClassDeclaration, the anonymous union represented by this entry If a SgBaseClass, the base class represented by this entry If NULL, this entry is padding.
size_t byteOffset
 The byte offset of this field (or its containing word for bit fields) in the structure.
size_t fieldSize
 The size of the field or padding.
size_t bitFieldContainerSize
 The size of the containing element for this bit field (in bytes).
size_t bitOffset
 Offset of LSB of bit field within element of size bitFieldContainerSize starting at position byteOffset in the struct.

Constructor & Destructor Documentation

StructLayoutEntry::StructLayoutEntry ( SgNode decl,
size_t  byteOffset,
size_t  fieldSize,
size_t  bitFieldContainerSize = 0,
size_t  bitOffset = 0 
) [inline]


Member Data Documentation

SgNode* StructLayoutEntry::decl

If a SgInitializedName, the field represented by this entry If a SgClassDeclaration, the anonymous union represented by this entry If a SgBaseClass, the base class represented by this entry If NULL, this entry is padding.

size_t StructLayoutEntry::byteOffset

The byte offset of this field (or its containing word for bit fields) in the structure.

size_t StructLayoutEntry::fieldSize

The size of the field or padding.

size_t StructLayoutEntry::bitFieldContainerSize

The size of the containing element for this bit field (in bytes).

size_t StructLayoutEntry::bitOffset

Offset of LSB of bit field within element of size bitFieldContainerSize starting at position byteOffset in the struct.


The documentation for this struct was generated from the following file:
Generated on Tue Jan 31 05:44:58 2012 for ROSE by  doxygen 1.4.7