Move common structureddatadef classes to objcommon

This commit is contained in:
Jan
2022-03-12 14:02:52 +01:00
parent dff7912dbc
commit c38367d55b
12 changed files with 4 additions and 4 deletions

View File

@ -0,0 +1,32 @@
#include "CommonStructuredDataStruct.h"
CommonStructuredDataStructEntry::CommonStructuredDataStructEntry()
: m_offset_in_bits(0u)
{
}
CommonStructuredDataStructEntry::CommonStructuredDataStructEntry(std::string name)
: m_name(std::move(name)),
m_offset_in_bits(0u)
{
}
CommonStructuredDataStructEntry::CommonStructuredDataStructEntry(std::string name, const CommonStructuredDataType type, const size_t offsetInBits)
: m_name(std::move(name)),
m_type(type),
m_offset_in_bits(offsetInBits)
{
}
CommonStructuredDataStruct::CommonStructuredDataStruct()
: m_bit_offset(0u),
m_size_in_byte(0u)
{
}
CommonStructuredDataStruct::CommonStructuredDataStruct(std::string name)
: m_name(std::move(name)),
m_bit_offset(0u),
m_size_in_byte(0u)
{
}