41 #ifndef GUI_OBJECTS_RANGEVALUE_BASE_HPP
42 #define GUI_OBJECTS_RANGEVALUE_BASE_HPP
55 #ifndef BEGIN_objects_SCOPE
56 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
57 # define END_objects_SCOPE END_SCOPE(objects)
113 bool IsSetMin(
void)
const;
120 bool CanGetMin(
void)
const;
129 const TMin& GetMin(
void)
const;
151 bool IsSetMax(
void)
const;
158 bool CanGetMax(
void)
const;
167 const TMax& GetMax(
void)
const;
190 bool IsSetAutoscale(
void)
const;
197 bool CanGetAutoscale(
void)
const;
200 void ResetAutoscale(
void);
203 void SetDefaultAutoscale(
void);
231 bool IsSetInverse(
void)
const;
238 bool CanGetInverse(
void)
const;
241 void ResetInverse(
void);
244 void SetDefaultInverse(
void);
265 virtual void Reset(
void);
321 m_Min = std::forward<CRangeValue_Base::TMin>(
value);
368 m_Max = std::forward<CRangeValue_Base::TMax>(
value);
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
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
void ResetInverse(void)
Reset Inverse data member.
void SetDefaultAutoscale(void)
Assign default value to Autoscale data member.
bool CanGetAutoscale(void) const
Check if it is safe to call GetAutoscale method.
TInverse & SetInverse(void)
Assign a value to Inverse data member.
bool IsSetMax(void) const
Check if a value has been assigned to Max data member.
DECLARE_INTERNAL_TYPE_INFO()
TAutoscale GetAutoscale(void) const
Get the Autoscale member data.
TAutoscale & SetAutoscale(void)
Assign a value to Autoscale data member.
CRangeValue_Base(const CRangeValue_Base &)
bool CanGetMin(void) const
Check if it is safe to call GetMin method.
TInverse GetInverse(void) const
Get the Inverse member data.
bool CanGetMax(void) const
Check if it is safe to call GetMax method.
bool IsSetMin(void) const
Check if a value has been assigned to Min data member.
CRangeValue_Base & operator=(const CRangeValue_Base &)
TMin & SetMin(void)
Assign a value to Min data member.
TMax & SetMax(void)
Assign a value to Max data member.
void ResetAutoscale(void)
Reset Autoscale data member.
const TMax & GetMax(void) const
Get the Max member data.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
const TMin & GetMin(void) const
Get the Min member data.
void SetDefaultInverse(void)
Assign default value to Inverse data member.
bool CanGetInverse(void) const
Check if it is safe to call GetInverse method.
bool IsSetInverse(void) const
TRUE if max value should go first in UI Check if a value has been assigned to Inverse data member.
bool IsSetAutoscale(void) const
if TRUE range min/max are ignored Check if a value has been assigned to Autoscale data member.
Defines to provide correct exporting from DLLs in Windows.
const GenericPointer< typename T::ValueType > T2 value