Interface Documentation
Version: invalid
Classes | Namespaces | Macros | Typedefs | Functions
common.hh File Reference
#include <cstdint>
#include <functional>
#include <limits>
#include <sstream>
#include <typeinfo>
#include "flecsi/util/id.hh"
#include "flecsi/util/offset.hh"
Include dependency graph for common.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  flecsi::util::unique_id< UNIQUENESS_TYPE, COUNTER_TYPE, MAXIMUM >
 

Namespaces

 flecsi
 

Macros

#define FLECSI_ID_PBITS   20
 
#define FLECSI_ID_EBITS   40
 
#define FLECSI_ID_FBITS   4
 
#define FLECSI_ID_GBITS   60
 
#define FLECSI_COUNTER_TYPE   int32_t
 
#define FLECSI_GENERATED_ID_MAX   1044480
 

Typedefs

using flecsi::util::id_t = id_< FLECSI_ID_PBITS, FLECSI_ID_EBITS, FLECSI_ID_FBITS, FLECSI_ID_GBITS >
 
using flecsi::util::offset_t = offset< 16 >
 
using flecsi::util::counter_t = FLECSI_COUNTER_TYPE
 

Functions

template<typename T >
flecsi::util::square (const T &a)
 P.O.D.
 
template<typename T >
std::string flecsi::util::unique_name (const T *const t)
 Create a unique name from the type, address, and unique id.