Util.h File Reference

#include <string>
#include <algorithm>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  prophet

Classes

struct  prophet::less_string
struct  prophet::DoNothing< T, size_type >
class  prophet::Heap< UnitType, Sequence, Compare, UpdateElem >

Defines

#define FOUR_BYTE_ALIGN(x)   (((x) % 4) != 0) ? ((x) + (4 - ((x) % 4))) : (x)
#define PARENT(_x)   (((_x) - 1) >> 1)
#define LEFT(_x)   (((_x) << 1) + 1)


Define Documentation

#define FOUR_BYTE_ALIGN (  )     (((x) % 4) != 0) ? ((x) + (4 - ((x) % 4))) : (x)

Definition at line 27 of file Util.h.

#define LEFT ( _x   )     (((_x) << 1) + 1)

#define PARENT ( _x   )     (((_x) - 1) >> 1)


Generated on Mon Jul 21 14:12:18 2008 for DTN Reference Implementation by  doxygen 1.5.6