A set of named function call arguments.
More...
#include </home/werner/origo/vish/ocean/plankton/VScript.hpp>
List of all members.
Classes
Public Member Functions
-
bool append (const RefPtr< VScriptValue > &)
- Append with a name which is just the number of arguments.
-
RefPtr< VScriptValue > find (const string &name) const
- Find a function argument.
-
RefPtr< VScriptValue > find (const string &name, const string &alternative_name) const
- Find a function argument, allowing for a possible alternative name Possible useful alternative names are just numberings of argument names.
- RefPtr< VScriptTypedValue > get (const string &name, const string &alternative_name, const type_info &preferred_type, const type_info &default_type=typeid(void)) const
- Convenience function: Geht the value of a parameter, if existent for the specified name and type.
-
bool insert (const string &name, const RefPtr< VScriptValue > &)
- Insert a function argument with a given name.
-
int iterate (iterator &it)
- Iterate over all parameters.
-
bool remove (const string &name)
-
VScriptParameters ()
- Constructor, no parameters.
-
~VScriptParameters ()
- Destructor.
Detailed Description
A set of named function call arguments.
Member Function Documentation
RefPtr< VScriptTypedValue > Wizt::VScriptParameters::get |
( |
const string & |
name, |
|
|
const string & |
alternative_name, |
|
|
const type_info & |
preferred_type, |
|
|
const type_info & |
default_type = typeid(void) |
|
) |
| const |
Convenience function: Geht the value of a parameter, if existent for the specified name and type.
This function is identical to calling find(<name>) with subsequent get(<type>).
The documentation for this class was generated from the following files:
- ocean/plankton/VScript.hpp
- ocean/plankton/VScript.cpp