Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

atoms/gen.hh File Reference


Detailed Description

Generic definitions for atoms.

This is part of the atoms project, released under the MIT license. Copyright (C) 2001-2003 Scott Lamb <slamb@slamb.org>.

Id
gen.hh 569 2004-02-09 19:34:18Z slamb

Definition in file gen.hh.

#include <new>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <string.h>
#include <stdint.h>
#include <boost/utility.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/limits.hpp>

Include dependency graph for gen.hh:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  atoms
namespace  boost

Defines

#define ATOMS_BIGENDIAN   1
 True (1) or false (0) if endianness is big or little, respectively.

#define ATOMS_LITTLEENDIAN   0
 True (1) or false (0) if endianness is little or big, respectively.

#define ATOMS_NORETURN
 Attribute which tells compiler that a function never returns, if any.

#define ATOMS_PRINTF(formatNo, varargNo)
 Attribute which tells compiler to expect a printf format string, if any.


Define Documentation

#define ATOMS_BIGENDIAN   1
 

True (1) or false (0) if endianness is big or little, respectively.

Don't use this directly; use the doEndian functions instead.

Definition at line 68 of file gen.hh.

#define ATOMS_LITTLEENDIAN   0
 

True (1) or false (0) if endianness is little or big, respectively.

Don't use this directly; use the doEndian functions instead.

Definition at line 69 of file gen.hh.

#define ATOMS_NORETURN
 

Attribute which tells compiler that a function never returns, if any.

gcc only.

Definition at line 235 of file gen.hh.

#define ATOMS_PRINTF formatNo,
varargNo   ) 
 

Attribute which tells compiler to expect a printf format string, if any.

gcc only. The argument numbers are indexed from 1; the "this" pointer for non-static member functions is included at the beginning.

Parameters:
formatNo The number of the format argument
varargNo The number of the first vararg argument

Definition at line 236 of file gen.hh.


Generated on Wed Jun 15 01:20:36 2005 for atoms++ by doxygen 1.3.5