CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
binding_flags.h
1
2#ifndef _binding_flags_h_
3#define _binding_flags_h_
4
5#include "system/enum_helpers.h"
6
7namespace System { namespace Reflection {
8
10enum class BindingFlags {
12 Default = 0x00,
14 IgnoreCase = 0x01,
16 DeclaredOnly = 0x02,
18 Instance = 0x04,
20 Static = 0x08,
22 Public = 0x10,
24 NonPublic = 0x20,
26 FlattenHierarchy = 0x40,
28 InvokeMethod = 0x0100,
30 CreateInstance = 0x0200,
32 GetField = 0x0400,
34 SetField = 0x0800,
36 GetProperty = 0x1000,
38 SetProperty = 0x2000,
40 PutDispProperty = 0x4000,
42 PutRefDispProperty = 0x8000,
44 ExactBinding = 0x010000,
46 SuppressChangeType = 0x020000,
48 OptionalParamBinding = 0x040000,
50 IgnoreReturn = 0x01000000
51};
52
55DECLARE_ENUM_OPERATORS(System::Reflection::BindingFlags);
57DECLARE_USING_GLOBAL_OPERATORS
59}} // namespace System::Reflection
60
62DECLARE_USING_ENUM_OPERATORS(System::Reflection);
63
64#endif
Definition: stack_frame.h:13
BindingFlags
Degines members and types lookup modes and bindings.
Definition: binding_flags.h:10
@ Public
Look through public members.
@ OptionalParamBinding
Selects overload based on arguments count.
@ FlattenHierarchy
Look through basetype public and protected static members.
@ IgnoreReturn
Ignores COM interop return value.
@ ExactBinding
Type binding must be exact, without any type changes.
@ Static
Look through static members.
@ NonPublic
Look through non-public members.
@ PutRefDispProperty
Puts COM reference property.
@ CreateInstance
Creates reflected type instance.
@ DeclaredOnly
Only look for members declared in type and not in basetypes.
@ Instance
Look through instance members.
@ PutDispProperty
Puts COM property.
@ SetProperty
Sets property value.
@ GetProperty
Gets property value.
Definition: db_command.h:9
std::enable_if< IsExceptionWrapper< T >::value, constT & >::type Default()
Returns the default-constructed instance of the specified type.
Definition: default.h:16