ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StructLayoutEntry Struct Reference

#include <abiStuff.h>

Collaboration diagram for StructLayoutEntry:

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. More...
 
size_t byteOffset
 The byte offset of this field (or its containing word for bit fields) in the structure. More...
 
size_t fieldSize
 The size of the field or padding. More...
 
size_t bitFieldContainerSize
 The size of the containing element for this bit field (in bytes) More...
 
size_t bitOffset
 Offset of LSB of bit field within element of size bitFieldContainerSize starting at position byteOffset in the struct. More...
 

Detailed Description

Definition at line 72 of file abiStuff.h.

Constructor & Destructor Documentation

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

Definition at line 89 of file abiStuff.h.

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.

Definition at line 77 of file abiStuff.h.

size_t StructLayoutEntry::byteOffset

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

Definition at line 80 of file abiStuff.h.

size_t StructLayoutEntry::fieldSize

The size of the field or padding.

Definition at line 82 of file abiStuff.h.

size_t StructLayoutEntry::bitFieldContainerSize

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

Definition at line 84 of file abiStuff.h.

size_t StructLayoutEntry::bitOffset

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

Definition at line 87 of file abiStuff.h.


The documentation for this struct was generated from the following file: