include/TypeId.h
author František Kučera <franta-hg@frantovo.cz>
Sat, 21 Jul 2018 23:46:29 +0200
branchv_0
changeset 13 e7234dd45166
permissions -rw-r--r--
use TypeId enum instead of numeric constants
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
#pragma once
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
namespace relpipe {
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
namespace writer {
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     6
enum class TypeId {
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     7
	BOOLEAN = 1,
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
	INTEGER = 2,
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
	STRING = 3,
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    10
};
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    11
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    12
}
e7234dd45166 use TypeId enum instead of numeric constants
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
}