Phyzix
Loading...
Searching...
No Matches
src
app
lib
rtti.h
1
//
2
// Created by shams on 9/29/24.
3
//
4
5
#ifndef PHYZIX_RTTI_H
6
#define PHYZIX_RTTI_H
7
17
enum class
RuntimeBaseType
{
18
BASE,
19
APPLICATION,
20
STATIC_OBJECT,
21
DYNAMIC_OBJECT,
22
SCENE,
23
CAMERA,
24
BOUNDARY,
25
LINE_SEGMENT_BOUNDARY,
26
CIRCLE_BOUNDARY,
27
VECTOR,
28
DRAWABLE,
29
};
30
31
38
class
RuntimeBaseTypeIdentifiable
{
39
virtual
RuntimeBaseType
getBaseType()
const
{
40
return
RuntimeBaseType::BASE;
41
}
42
};
43
44
45
#endif
//PHYZIX_RTTI_H
RuntimeBaseTypeIdentifiable
Base class for runtime type identification.
Definition
rtti.h:38
RuntimeBaseType
Enum class to identify the base type of a class for runtime type identification.
Generated by
1.10.0