GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBI / V0-0-8
Constituent: doc_gather     Tag: rad750
This graph shows which files directly or indirectly include this file:
Defines | |
#define | COUNT_OF(_array) (sizeof (_array) / sizeof (*(_array))) |
Returns a count of the number of elements in _array. | |
#define | OFFSET_OF(_structure, _member) ((unsigned int) &(((_structure *) 0) -> _member)) |
Returns the byte offset of _member within the named structure or typedef _structure. | |
#define | SIZE_OF(_structure, _member) (sizeof((((_structure *) 0) -> _member))) |
Returns the byte size of _member within the named structure or typedef _structure. |
CVS $Id: Ofs.h,v 1.3 2005/10/01 00:33:25 russell Exp $
|
Returns a count of the number of elements in _array.
Bottom line is that COUNT_OF ALWAYS returns the correct number of the elements in an array whose size is known at compile time. |
|
Returns the byte offset of _member within the named structure or typedef _structure.
|
|
Returns the byte size of _member within the named structure or typedef _structure.
|