CommonLayoutConstants.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #ifndef COMMONLAYOUTCONSTANTS_H
  2. #define COMMONLAYOUTCONSTANTS_H
  3. #define RADIUS_SHARE 2
  4. #define DEFAULT_HEIGHT 40
  5. #define DEFAULT_WIDTH 80
  6. #define VERTEX_START_INDEX 0
  7. #define CENTERCOORDINATEX_START 0
  8. #define CENTERCOORDINATEY_START 0
  9. #define GRAPHML_EXTENSION ".graphml"
  10. #define INVALID_READ_OPERATION "Invalid Read Operation"
  11. #define NULL_GRAPH_FOUND "null graph"
  12. #define INVALID_RADIUS_VALUE "radius < 0"
  13. #define EMPTY_MAP_FOUND "!map.empty()"
  14. #define TYPE_ENUM_VERTEXORDER_TYPE "vertex order type"
  15. #define ORDERING_CRITERIA "vertex order criteria"
  16. #define INVALID_CIRCUMFERENCE_VALUE "circumference less than zero"
  17. #define INVALID_NODE_TYPE "node type does not exist"
  18. #define NULL_SUBGRAPH_CONTAINER_FOUND "empty subgraph container found"
  19. //*****************************VERTEX**********************************
  20. #define VERTEX "vertex"
  21. #define HEIGHT_VALUE "height value should not be negative or zero"
  22. #define WIDTH_VALUE "width value should not be negative or zero"
  23. //*****************************VERTEX END******************************
  24. //*****************************EDGE************************************
  25. #define EDGE "edge"
  26. //*****************************EDGE END********************************
  27. //*****************************GRAPH***********************************
  28. #define GRAPH "graph"
  29. //*****************************GRAPH END*******************************
  30. // file related
  31. #define EMPTY_FILE_NAME "file"
  32. #define FILE_NOT_PRESENT "no such file"
  33. #define INVALID_FILE_EXTENTION "wrong extention"
  34. #define EMPTY "null"
  35. #define VECTOR_CONTENTS "vector"
  36. #define ORDER_VALUE "order"
  37. #define NEGATIVE_ORDER "negative"
  38. #define INCONSISTENT_DATA "inconsistent"
  39. #define FILE_ACCESS_ERROR "cannot open file"
  40. #endif // COMMONLAYOUTCONSTANTS_H
  41. //**************************LOG FILES**********************************
  42. #define WRITECIRCULAR_TIME_DETAILS_LOG true
  43. #define FILENAMECIRCULAR_EXECUTION_TIME_DETAILS "CircularTimeLog.csv"