mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
21 lines
403 B
C++
21 lines
403 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#include "TypeDeclaration.h"
|
|
|
|
class Variable
|
|
{
|
|
public:
|
|
std::string m_name;
|
|
bool m_has_alignment_override;
|
|
unsigned m_alignment_override;
|
|
std::unique_ptr<TypeDeclaration> m_type_declaration;
|
|
|
|
Variable(std::string name, std::unique_ptr<TypeDeclaration> typeDeclaration);
|
|
|
|
unsigned GetAlignment();
|
|
bool GetForceAlignment();
|
|
};
|