Program Listing for File defines.h

Return to documentation for file (include/flamegpu/defines.h)

#ifndef INCLUDE_FLAMEGPU_DEFINES_H_
#define INCLUDE_FLAMEGPU_DEFINES_H_

namespace flamegpu {

// Definitions class, for macros and so on.
typedef unsigned int id_t;
constexpr const char* ID_VARIABLE_NAME = "_id";
constexpr const char* GRAPH_SOURCE_DEST_VARIABLE_NAME = "_source_dest";
constexpr const char* GRAPH_VERTEX_PBM_VARIABLE_NAME = "_pbm";
constexpr const char* GRAPH_VERTEX_IPBM_VARIABLE_NAME = "_ipbm";
constexpr const char* GRAPH_VERTEX_IPBM_EDGES_VARIABLE_NAME = "_ipbm_edges";
constexpr const char* GRAPH_VERTEX_INDEX_MAP_VARIABLE_NAME = "_index_map";
constexpr id_t ID_NOT_SET = 0;
enum class Verbosity {Quiet, Default, Verbose};

typedef unsigned int size_type;

}  // namespace flamegpu

#endif  // INCLUDE_FLAMEGPU_DEFINES_H_