Go to the documentation of this file.Go to the SVN repository for this file.
37 #ifndef GUI_CORE_PLUGIN_PLUGINARG_HPP
38 #define GUI_CORE_PLUGIN_PLUGINARG_HPP
92 typedef list< CConstRef<CPluginValue> >
TValues;
95 EType GetType(
void)
const;
99 bool IsEmpty(
void)
const;
107 const CObject* GetObject (
void)
const;
113 const string& GetObjectSubtype(
void)
const;
116 void SetBoolean(
void);
117 void SetBoolean(
bool arg);
118 void SetBoolean(
const list<bool>& arg);
119 bool AsBoolean (
void)
const;
126 int AsInteger (
void)
const;
129 void SetDouble(
void);
130 void SetDouble(
const string& arg);
131 void SetDouble(
double arg);
132 void SetDouble(
const list<double>& arg);
133 double AsDouble (
void)
const;
136 void SetString(
void);
137 void SetString(
const string& arg);
138 void SetString(
const list<string>& arg);
139 const string& AsString (
void)
const;
142 void SetSecretString(
void);
143 void SetSecretString(
const string& arg);
144 void SetSecretString(
const list<string>& arg);
145 const string& AsSecretString (
void)
const;
148 void SetInputFile(
void);
149 void SetInputFile(
const string& arg);
150 void SetInputFile(
const list<string>& arg);
151 const string& AsInputFile (
void)
const;
154 void SetOutputFile(
void);
155 void SetOutputFile(
const string& arg);
156 void SetOutputFile(
const list<string>& arg);
157 const string& AsOutputFile (
void)
const;
160 void SetProject(
void);
162 void SetProject(
const TValues& arg);
169 void SetObject(
const string&
type);
172 void SetObject(
const TValues& arg);
173 const CObject& AsObject (
void)
const;
177 void SetList(
const TValues& values);
178 void AsList(
TValues& values)
const;
EType
enumerated list of types we support
@ eAnySerialObject
special type: could be any CSerialObject-derived object
list< CConstRef< CPluginValue > > TValues
typedefs for collections of argument types CPluginValue supports type-specific data retrieval of sing...
CPluginArg & operator=(const CPluginArg &value)
CPluginArg(const CPluginArg &value)
Prohibit copy constructor and assignment operator.
CPluginArg(void)
constructor
CTypeInfo class contains all information about C++ types (both basic and classes): members and layout...
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIOBJECTS_EXPORT
CProject * GetProject(wxTreeCtrl &treeCtrl, const CItem &item)
static bool SetInteger(wxSpinCtrl *spinctrl, int value)