NAP
epropertyvalidationmode.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4 
5 #pragma once
6 
7 namespace nap
8 {
9  namespace rtti
10  {
11  enum class EPropertyValidationMode : uint8_t
12  {
15  };
16 
26  enum class EPointerPropertyMode : uint8_t
27  {
31  };
32 
33  } //< End Namespace rtti
34 }
nap::rtti::EPointerPropertyMode::NoRawPointers
@ NoRawPointers
Raw pointers cannot be used to point to other object, only ObjectPtr, ResourcePtr or ComponentPtr,...
nap::rtti::EPointerPropertyMode::OnlyRawPointers
@ OnlyRawPointers
Only raw pointers can be used to point to other objects, an error will be returned in case of other p...
nap::rtti::EPointerPropertyMode::AllPointerTypes
@ AllPointerTypes
All types of pointers are supported; no checking is done on raw or non-raw.
nap::rtti::EPropertyValidationMode
EPropertyValidationMode
Definition: epropertyvalidationmode.h:11
nap::rtti::EPointerPropertyMode
EPointerPropertyMode
Definition: epropertyvalidationmode.h:26
nap
Definition: templateapp.h:17
nap::rtti::EPropertyValidationMode::DisallowMissingProperties
@ DisallowMissingProperties
When a required property is missing from the file, an error will be returned.
nap::rtti::EPropertyValidationMode::AllowMissingProperties
@ AllowMissingProperties
When a required property is missing from the file, no errors will be returned.