8 #include <system/object_ext.h>
9 #include <system/iequatable.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
21 class ASPOSE_TASKS_SHARED_CLASS
NullableBool :
public System::IEquatable<Aspose::Tasks::NullableBool>,
public System::Details::BoxableObjectBase
24 typedef System::IEquatable<Aspose::Tasks::NullableBool> BaseType;
26 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
27 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
37 ASPOSE_TASKS_SHARED_API
bool get_Value()
const;
41 ASPOSE_TASKS_SHARED_API
void set_Value(
bool value);
45 ASPOSE_TASKS_SHARED_API
bool get_IsDefined()
const;
57 ASPOSE_TASKS_SHARED_API
NullableBool(
bool value,
bool isDefined);
59 static ASPOSE_TASKS_SHARED_API
bool to_Boolean(
NullableBool val);
60 static ASPOSE_TASKS_SHARED_API
NullableBool to_NullableBool(
bool val);
67 ASPOSE_TASKS_SHARED_API
bool Equals(
NullableBool other)
override;
73 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
override;
78 ASPOSE_TASKS_SHARED_API int32_t GetHashCode()
const override;
83 ASPOSE_TASKS_SHARED_API System::String ToString()
const override;
100 namespace System {
template<>
struct IsBoxable<
Aspose::Tasks::NullableBool> : std::true_type {}; }
A class for boolean values with possibility to check whether the value was defined or not.
Definition: NullableBool.h:21