41 #ifndef GUI_OBJECTS_PLUGINUSERTYPE_BASE_HPP
42 #define GUI_OBJECTS_PLUGINUSERTYPE_BASE_HPP
55 #ifndef BEGIN_objects_SCOPE
56 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
57 # define END_objects_SCOPE END_SCOPE(objects)
112 bool IsSetType(
void)
const;
119 bool CanGetType(
void)
const;
122 void ResetType(
void);
128 const TType& GetType(
void)
const;
141 TType& SetType(
void);
150 bool IsSetSubtype(
void)
const;
157 bool CanGetSubtype(
void)
const;
160 void ResetSubtype(
void);
182 virtual void Reset(
void);
236 m_Type = std::forward<CPluginUserType_Base::TType>(
value);
user types for determining which plugins apply to a given set of objects
Base class for all serializable objects.
int GetSubtype(CFieldNamePanel *field_name_panel, string &ncRNA_class)
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
const TType & GetType(void) const
Get the Type member data.
CPluginUserType_Base(const CPluginUserType_Base &)
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool IsSetSubtype(void) const
Check if a value has been assigned to Subtype data member.
bool CanGetSubtype(void) const
Check if it is safe to call GetSubtype method.
TType & SetType(void)
Assign a value to Type data member.
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
CPluginUserType_Base & operator=(const CPluginUserType_Base &)
bool CanGetType(void) const
Check if it is safe to call GetType method.
TSubtype & SetSubtype(void)
Assign a value to Subtype data member.
DECLARE_INTERNAL_TYPE_INFO()
const TSubtype & GetSubtype(void) const
Get the Subtype member data.
Defines to provide correct exporting from DLLs in Windows.