|
|
|
@ -57,3 +57,21 @@ namespace llo::iff
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# LLOIFF Section Class
|
|
|
|
|
|
|
|
|
|
The LLOIFF section class does not need to be inheritance based as its really just a container of symbol_base_t's.
|
|
|
|
|
|
|
|
|
|
```cpp
|
|
|
|
|
namespace llo::iff
|
|
|
|
|
{
|
|
|
|
|
class section_t
|
|
|
|
|
{
|
|
|
|
|
std::vector<std::uint8_t> section_data;
|
|
|
|
|
std::vector<symbol_base_t> symbols;
|
|
|
|
|
std::string section_name;
|
|
|
|
|
std::uint32_t section_protections;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
// ... constructors...
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|