41 #ifndef GUI_OBJECTS_CONDITIONAL_BASE_HPP
42 #define GUI_OBJECTS_CONDITIONAL_BASE_HPP
56 #ifndef BEGIN_objects_SCOPE
57 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
58 # define END_objects_SCOPE END_SCOPE(objects)
121 bool IsSetName(
void)
const;
128 bool CanGetName(
void)
const;
131 void ResetName(
void);
137 const TName& GetName(
void)
const;
150 TName& SetName(
void);
160 bool IsSetValue(
void)
const;
167 bool CanGetValue(
void)
const;
170 void ResetValue(
void);
176 const TValue& GetValue(
void)
const;
191 bool IsSetAction(
void)
const;
198 bool CanGetAction(
void)
const;
201 void ResetAction(
void);
204 void SetDefaultAction(
void);
225 virtual void Reset(
void);
280 m_Name = std::forward<CConditional_Base::TName>(
value);
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
static string UnassignedString(void)
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIOBJECTS_EXPORT
TName & SetName(void)
Assign a value to Name data member.
bool IsSetName(void) const
conditional control name Check if a value has been assigned to Name data member.
bool CanGetAction(void) const
Check if it is safe to call GetAction method.
TAction & SetAction(void)
Assign a value to Action data member.
bool IsSetValue(void) const
conditional control value Check if a value has been assigned to Value data member.
CConditional_Base & operator=(const CConditional_Base &)
const TName & GetName(void) const
Get the Name member data.
TValue & SetValue(void)
Assign a value to Value data member.
DECLARE_INTERNAL_TYPE_INFO()
CConditional_Base(const CConditional_Base &)
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
void ResetAction(void)
Reset Action data member.
TAction GetAction(void) const
Get the Action member data.
bool CanGetValue(void) const
Check if it is safe to call GetValue method.
const TValue & GetValue(void) const
Get the Value member data.
bool CanGetName(void) const
Check if it is safe to call GetName method.
void SetDefaultAction(void)
Assign default value to Action data member.
bool IsSetAction(void) const
Check if a value has been assigned to Action data member.
Defines to provide correct exporting from DLLs in Windows.
const GenericPointer< typename T::ValueType > T2 value