summaryrefslogtreecommitdiffstats
path: root/engine/include/core/labelled.hpp
blob: 8b458b34f043d7eb0807a0f15d1e91cb9ce32a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once

#include <list>
#include <vector>
#include <string>
#include <initializer_list>

#include "types.hpp"

namespace flat
{
    namespace core
    {
        class labelled;
    }
}

struct flat::core::labelled
{
    const std::string label;

    labelled(const std::string& label = "", bool allow_null = false);

    static std::string random_label(uint8_t length = 8);
};