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();
59 static ASPOSE_TASKS_SHARED_API
bool to_Boolean(
NullableBool val);
60 static ASPOSE_TASKS_SHARED_API
NullableBool to_NullableBool(
bool val);
73 ASPOSE_TASKS_SHARED_API
bool Equals(System::SharedPtr<System::Object> obj)
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:22
NullableBool(bool value, bool isDefined)
Initializes a new instance of the NullableBool struct.
NullableBool(bool value)
Initializes a new instance of the NullableBool struct with the specified boolean value.
void set_Value(bool value)
Sets a value indicating whether current value is true or false.
bool Equals(System::SharedPtr< System::Object > obj) override
Returns a flag indicating whether this instance is equal to the specified object.
bool get_Value() const
Gets a value indicating whether current value is true or false.
System::String ToString() const override
Returns a string that represents the current object.
bool get_IsDefined() const
Gets a value indicating whether the value was defined; otherwise, false.
int32_t GetHashCode() const override
Returns a hash code value for the instance of the NullableBool class.
bool Equals(NullableBool other) override
Returns a flag indicating whether this instance is equal to the specified instance of the NullableBoo...