properties.hpp 360 B

12345678910111213141516171819202122
  1. //
  2. // properties.hpp
  3. // logger
  4. //
  5. // Created by Sam Jaffe on 10/3/15.
  6. //
  7. //
  8. #pragma once
  9. #include <map>
  10. #include <string>
  11. #include <vector>
  12. namespace logging {
  13. struct properties {
  14. const enum { STRING, OBJECT, ARRAY } type;
  15. const std::map<std::string, properties> obj;
  16. const std::vector<properties> array;
  17. const std::string value;
  18. };
  19. }