2#ifndef _system_component_model_enum_converter_h_
3#define _system_component_model_enum_converter_h_
5#include "system/shared_ptr.h"
6#include "system/type_info.h"
7#include "system/globalization/culture_info.h"
9#include "system/component_model/type_converter.h"
10#include "system/component_model/itype_descriptor_context.h"
12namespace System {
namespace ComponentModel {
21 RTTI_INFO(
EnumConverter, ::System::BaseTypesInfo<TypeConverter>)
Dummy class for EnumConverter-using translated code to compile. Objects of this class should only be ...
Definition: enum_converter.h:19
const System::TypeInfo & get_EnumType()
Gets enum type EnumConverter is working with; not implemented.
System::SharedPtr< System::Object > ConvertTo(const System::SharedPtr< ITypeDescriptorContext > &context, const System::SharedPtr< System::Globalization::CultureInfo > &culture, const System::SharedPtr< System::Object > &value, const System::TypeInfo &destinationType) override
Does actual type conversion; not implemented.
bool CanConvertFrom(const System::SharedPtr< ITypeDescriptorContext > &context, const System::TypeInfo &sourceType)
Checks if types are convertible; not implemented.
EnumConverter(const System::TypeInfo &type)
RTTI information.
System::SharedPtr< System::Object > ConvertFrom(const System::SharedPtr< ITypeDescriptorContext > &context, const System::SharedPtr< System::Globalization::CultureInfo > &culture, const System::SharedPtr< System::Object > &value) override
Does actual type conversion; not implemented.
bool CanConvertTo(const System::SharedPtr< ITypeDescriptorContext > &context, const System::TypeInfo &destinationType)
Checks if types are convertible; not implemented.
Class that handles type conversion in component model. Objects of this class should only be allocated...
Definition: type_converter.h:18
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Represents a particular type and provides information about it.
Definition: type_info.h:109
Definition: db_command.h:9