add enum PropertyType, so that properties can be restored from .om files

This commit is contained in:
Alexandra Heuschling
2020-11-05 20:03:51 +01:00
parent f0ee8876d9
commit b50dafaf34
2 changed files with 26 additions and 2 deletions

View File

@@ -275,6 +275,23 @@ namespace OMFormat {
};
//-----------------------------------------------------------------------------------------------------------------------------------
//this enum stores the type of the property so that it can be recovered
enum PropertyType {
BoolType = 0x00,
UCharType= 0x01,
CharType = 0x02,
ShortType = 0x03,
UIntType = 0x04,
IntType = 0x05,
ULongType = 0x06,
LongType = 0x07,
FloatType = 0x08,
DoubleType = 0x09,
VecDoubleType = 0x0a
};
//-----------------------------------------------------------------------------------------------------------------------------------
}; // Chunk
// ------------------------------------------------------------ Helper