41 #ifndef GUI_OBJECTS_PLUGINCOMMAND_BASE_HPP
42 #define GUI_OBJECTS_PLUGINCOMMAND_BASE_HPP
55 #ifndef BEGIN_objects_SCOPE
56 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
57 # define END_objects_SCOPE END_SCOPE(objects)
95 eCommand_no_command = 0,
97 eCommand_get_status = 2,
100 eCommand_create_interface = 5,
104 eCommand_load_project = 9,
105 eCommand_save_project = 10,
106 eCommand_search = 11,
107 eCommand_manage = 12,
109 eCommand_suspend = 14,
110 eCommand_resume = 15,
111 eCommand_new_view = 16,
112 eCommand_new_composite_view = 17
142 bool IsSetCommand(
void)
const;
149 bool CanGetCommand(
void)
const;
152 void ResetCommand(
void);
180 bool IsSetContext(
void)
const;
187 bool CanGetContext(
void)
const;
190 void ResetContext(
void);
219 bool IsSetArgs(
void)
const;
226 bool CanGetArgs(
void)
const;
229 void ResetArgs(
void);
247 TArgs& SetArgs(
void);
250 virtual void Reset(
void);
namespace ncbi::objects::
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
bool IsSetContext(void) const
optional named context Check if a value has been assigned to Context data member.
const TContext & GetContext(void) const
Get the Context member data.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
TCommand & SetCommand(void)
Assign a value to Command data member.
bool IsSetCommand(void) const
Check if a value has been assigned to Command data member.
bool CanGetCommand(void) const
Check if it is safe to call GetCommand method.
void ResetCommand(void)
Reset Command data member.
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetContext(void) const
Check if it is safe to call GetContext method.
bool IsSetArgs(void) const
input arguments Check if a value has been assigned to Args data member.
CPluginCommand_Base & operator=(const CPluginCommand_Base &)
TContext & SetContext(void)
Assign a value to Context data member.
bool CanGetArgs(void) const
Check if it is safe to call GetArgs method.
CPluginCommand_Base(const CPluginCommand_Base &)
TCommand GetCommand(void) const
Get the Command member data.
const TArgs & GetArgs(void) const
Get the Args member data.
Defines to provide correct exporting from DLLs in Windows.
#define GetArgs
Avoid preprocessor name clash with the NCBI C Toolkit.
static wxString GetContext(const wxString &str, int pos)