diff --git a/doc/model.graphml b/doc/model.graphml
index dcf6e12..12849d6 100644
--- a/doc/model.graphml
+++ b/doc/model.graphml
@@ -380,10 +380,10 @@
-
+
- Contains the known structures.
+ Contains the known structures.
diff --git a/src/core/RandomAccessBinary.cpp b/src/core/RandomAccessBinary.cpp
index 31970aa..7c472f3 100644
--- a/src/core/RandomAccessBinary.cpp
+++ b/src/core/RandomAccessBinary.cpp
@@ -10,7 +10,7 @@ RandomAccessBinary::~RandomAccessBinary()
}
-void RandomAccessBinary::setEndianess(RandomAccessBinary::Endianness endianess)
+void RandomAccessBinary::setEndianness(Endianness endianess)
{
}
@@ -45,82 +45,82 @@ void RandomAccessBinary::setBits(uint bytePosition, uint bitPosition, const uint
}
-void RandomAccessBinary::set_uint16(uint position, uint16_t data)
+void RandomAccessBinary::set_uint16(uint position, const uint16_t &data)
{
}
-void RandomAccessBinary::set_uint32(uint position, uint32_t data)
+void RandomAccessBinary::set_uint32(uint position, const uint32_t &data)
{
}
-void RandomAccessBinary::set_uint64(uint position, uint64_t data)
+void RandomAccessBinary::set_uint64(uint position, const uint64_t &data)
{
}
-void RandomAccessBinary::set_float(uint position, float data)
+void RandomAccessBinary::set_float(uint position, const float &data)
{
}
-void RandomAccessBinary::set_double(uint position, double data)
+void RandomAccessBinary::set_double(uint position, const double &data)
{
}
-const uint8_t RandomAccessBinary::getByte(uint position)
+uint8_t RandomAccessBinary::getByte(uint position)
{
}
-const std::vector RandomAccessBinary::getBytes(uint position, uint length)
+const std::vector RandomAccessBinary::getBytes(uint position, uint length)
{
}
-const bool RandomAccessBinary::getBit(uint byteOffset, uint bitOffset)
+bool RandomAccessBinary::getBit(uint byteOffset, uint bitOffset)
{
}
-const bool RandomAccessBinary::getBit(uint64_t position)
+bool RandomAccessBinary::getBit(uint64_t position)
{
}
-const std::vector RandomAccessBinary::getBits(uint byteOffset, uint8_t bitOffset, uint64_t length)
+const std::vector RandomAccessBinary::getBits(uint byteOffset, uint8_t bitOffset, uint64_t length)
{
}
-const std::vector RandomAccessBinary::getBits(uint64_t position, uint64_t length)
+const std::vector RandomAccessBinary::getBits(uint64_t position, uint64_t length)
{
}
-const uint16_t RandomAccessBinary::get_uint16(uint position)
+uint16_t RandomAccessBinary::get_uint16(uint position)
{
}
-const uint32_t RandomAccessBinary::get_uint32(uint position)
+uint32_t RandomAccessBinary::get_uint32(uint position)
{
}
-const uint64_t RandomAccessBinary::get_uint64(uint position)
+uint64_t RandomAccessBinary::get_uint64(uint position)
{
}
-const float RandomAccessBinary::get_float(uint position)
+float RandomAccessBinary::get_float(uint position)
{
}
-const double RandomAccessBinary::get_double(uint position)
+double RandomAccessBinary::get_double(uint position)
{
}
diff --git a/src/core/RandomAccessBinary.h b/src/core/RandomAccessBinary.h
index e3bc3d5..17c15d7 100644
--- a/src/core/RandomAccessBinary.h
+++ b/src/core/RandomAccessBinary.h
@@ -14,11 +14,11 @@ class RandomAccessBinary
};
public:
- RandomAccessBinary();
- explicit ~RandomAccessBinary();
+ explicit RandomAccessBinary();
+ ~RandomAccessBinary();
void setEndianness(Endianness endianess);
- const Endianness getEndianness();
+ Endianness getEndianness();
void setBytes(uint position, const std::vector& data);
void setByte(uint position, const uint8_t& data);
@@ -35,26 +35,26 @@ public:
void set_float(uint position, const float& data);
void set_double(uint position, const double& data);
- const uint8_t
+ uint8_t
getByte(uint position);
- const std::vector
+ const std::vector
getBytes(uint position, uint length);
- const bool getBit(uint byteOffset, uint bitOffset);
- const bool getBit(uint64_t position);
- const std::vector
+ bool getBit(uint byteOffset, uint bitOffset);
+ bool getBit(uint64_t position);
+ const std::vector
getBits(uint byteOffset, uint8_t bitOffset, uint64_t length);
- const std::vector
+ const std::vector
getBits(uint64_t position, uint64_t length);
- const uint16_t get_uint16(uint position);
- const uint32_t get_uint32(uint position);
- const uint64_t get_uint64(uint position);
+ uint16_t get_uint16(uint position);
+ uint32_t get_uint32(uint position);
+ uint64_t get_uint64(uint position);
- const float get_float(uint position);
- const double get_double(uint position);
+ float get_float(uint position);
+ double get_double(uint position);
std::string get_string(uint position, uint length);