RAMSES Documentation
27.0.130
Information for RAMSES users and developers
ramses
client
ramses-client
ramses-text-api
include
ramses-text-api
FontInstanceId.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// Copyright (C) 2018 BMW Car IT GmbH
3
// -------------------------------------------------------------------------
4
// This Source Code Form is subject to the terms of the Mozilla Public
5
// License, v. 2.0. If a copy of the MPL was not distributed with this
6
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
7
// -------------------------------------------------------------------------
8
9
#ifndef RAMSES_FONTINSTANCEID_H
10
#define RAMSES_FONTINSTANCEID_H
11
12
#include "
ramses-framework-api/StronglyTypedValue.h
"
13
#include <stdint.h>
14
#include <limits>
15
16
namespace
ramses
17
{
21
struct
FontIdTag
{};
22
26
using
FontId
=
StronglyTypedValue<uint32_t, std::numeric_limits<uint32_t>::max
(),
FontIdTag
>;
27
31
struct
FontInstanceIdTag
{};
32
36
using
FontInstanceId
=
StronglyTypedValue<uint32_t, std::numeric_limits<uint32_t>::max
(),
FontInstanceIdTag
>;
37
}
38
39
#endif
StronglyTypedValue.h
ramses::StronglyTypedValue
Helper class to create strongly typed values out of various types.
Definition:
StronglyTypedValue.h:23
ramses
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition:
AnimatedProperty.h:15
ramses::FontIdTag
An empty struct to make FontId a strong type.
Definition:
FontInstanceId.h:21
ramses::FontInstanceIdTag
An empty struct to make FontInstanceId a strong type.
Definition:
FontInstanceId.h:31
Generated by
1.9.1