artefaktur
software engineer &        architecture

 
 
 
 

class StdDispatch

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::dmi::StdDispatch Class Reference

#include <StdDispatch.h>

Inheritance diagram for acdk::lang::dmi::StdDispatch:

acdk::lang::Object acdk::boot::HelloWorldClass acdk::cfgscript::acdkcfgscript::Main acdk::cfgscript::ConsoleDebugger acdk::cfgscript::DebugBreakPoints acdk::cfgscript::DebugPoint acdk::cfgscript::ExecutionStack acdk::cfgscript::ExecutionStackFrame acdk::cfgscript::Props acdk::cfgscript::Script acdk::cfgscript::ScriptGlobals acdk::cfgscript::ScriptObject acdk::cfgscript::ScriptSource acdk::cfgscript::ShellExecutor acdk::cfgscript::SourceTokenizer acdk::cfgscript::TokenizedSource acdk::io::AbstractCharReader acdk::io::AbstractCharWriter acdk::io::AbstractFileImpl acdk::io::AbstractReader acdk::io::AbstractWriter acdk::io::ByteBufferStorage acdk::io::CharArrayReader acdk::io::ConfigFileSystemFactory acdk::io::File acdk::io::FileAbstractImpl acdk::io::FileDescriptor acdk::io::FileInfo acdk::io::FileStatus acdk::io::GlobFilenameFilter acdk::io::LittleBytesReader acdk::io::LittleBytesWriter acdk::io::RandomAccessFile acdk::io::RessourceFile acdk::io::RessourceFileImpl acdk::io::RessourceFileSystem acdk::io::RessourceFileSystemFactory acdk::io::SerializedFieldDescriptor acdk::io::SerializedObjectDescriptor acdk::io::StandardFileSystem acdk::io::StreamTokenizer acdk::io::StringWriter acdk::java::JavaInterpreter acdk::java::rmi::Naming acdk::java::serialization::ClassDescription acdk::java::serialization::FieldDescription acdk::java::serialization::JavaObjectReadWriteCache acdk::lang::ArrayReadByteBuffer acdk::lang::Boolean acdk::lang::Buffers acdk::lang::Character acdk::lang::Class acdk::lang::ClassLoader acdk::lang::CmdLineOption acdk::lang::CmdLineParser acdk::lang::CoreByteBuffer acdk::lang::dmi::DmiNamedArg acdk::lang::dmi::DmiObject acdk::lang::dmi::DmiProxy acdk::lang::dmi::MetaAttribute acdk::lang::dmi::MetaObjectImpl acdk::lang::dmi::ScriptVarMetaAttribute acdk::lang::dmi::StdDmiDelegate acdk::lang::NativeStackFrame acdk::lang::Number acdk::lang::ObjectArrayBaseImpl acdk::lang::Package acdk::lang::Process acdk::lang::ref::AbstractHeapListener acdk::lang::ref::Reference acdk::lang::ref::ReferenceQueue acdk::lang::ref::SharedOwning acdk::lang::reflect::AccessibleObject acdk::lang::reflect::EnumerationValue acdk::lang::Runtime acdk::lang::SharedLibrary acdk::lang::SlicedReadByteBuffer acdk::lang::SlicedReadWriteByteBuffer acdk::lang::String acdk::lang::StringBuffer acdk::lang::StringReadByteBuffer acdk::lang::sys::LocalGcHeap acdk::lang::System acdk::lang::SystemImpl acdk::lang::Thread acdk::lang::ThreadGroup acdk::lang::ThreadLocal acdk::lang::Throwable acdk::lang::UnicodeCharacter acdk::lang::Void acdk::lisp::LispBinaryCode acdk::lisp::LispCallBack acdk::lisp::LispCode acdk::lisp::LispEnvironment acdk::lisp::LispInterpreter acdk::lisp::LispSlot acdk::lisp::LispStackFrame acdk::lisp::LispTemplateFilter acdk::lisp::LispVar acdk::lisp::Stack< T > acdk::locale::Decoder acdk::locale::Encoder acdk::locale::Encoding acdk::make::AbstractTask acdk::make::FileSet acdk::make::SimpleFileDepencyChecker acdk::make::TaskInfo acdk::make::TaskManager acdk::net::Authenticator acdk::net::DatagramPacket acdk::net::DatagramSocket acdk::net::ftp::FTPClient acdk::net::ftp::FTPFileImpl acdk::net::ftp::FTPFileSystem acdk::net::ftp::FTPFileSystemFactory acdk::net::ftp::FTPUrlStreamHandlerFactory acdk::net::HeaderFieldHelper acdk::net::InetAddress acdk::net::MimeTypeMapper acdk::net::PasswordAuthentication acdk::net::ServerSocket acdk::net::Socket acdk::net::SocketAddress acdk::net::SocketImpl acdk::net::srfsys::FileInfo acdk::net::srfsys::FilterObjectReader acdk::net::srfsys::FilterObjectWriter acdk::net::srfsys::Message acdk::net::srfsys::SRFileImpl acdk::net::srfsys::SRFileSystemClient acdk::net::srfsys::TransListenerImpl acdk::net::srsync::SyncFileOperation acdk::net::srsync::SynFileComparator acdk::net::TCPSocketFactory acdk::net::URL acdk::net::URLConnection acdk::net::UrlFileImpl acdk::net::UrlFileSystem acdk::net::UrlFileSystemFactory acdk::net::URLStreamHandler acdk::perl::APerlInterpreter acdk::python::PythonInterpreter acdk::python::PythonProxy acdk::security::MessageDigestSpi acdk::sql::DriverPropertyInfo acdk::sql::odbc::ODBCArray acdk::sql::odbc::ODBCColumn acdk::sql::odbc::ODBCConnection acdk::sql::odbc::ODBCDatabaseMetaData acdk::sql::odbc::ODBCDriver acdk::sql::odbc::ODBCHandle acdk::sql::odbc::ODBCParam acdk::sql::odbc::ODBCResultSet acdk::sql::odbc::ODBCResultSetMetaData acdk::sql::odbc::ODBCStatement acdk::sql::odbc::ODBCStatusRecord acdk::sql::ResultSetIterator acdk::sql::sqlite::LiteConnection acdk::sql::sqlite::LiteDatabaseMetaData acdk::sql::sqlite::LiteDb acdk::sql::sqlite::LiteDriver acdk::sql::sqlite::LiteMemTable acdk::sql::sqlite::LiteMemTableIterator acdk::sql::sqlite::LiteResultSet acdk::sql::sqlite::LiteResultSetMetaData acdk::sql::sqlite::LiteStatement acdk::sql::sqlite::LiteTable acdk::sql::StandardMemBlob acdk::tcl::TclInterpreter acdk::text::AbstractFormatedOutput acdk::text::Base64 acdk::text::DateFormatSymbols acdk::text::DecimalFormatSymbols acdk::text::DecimalSubpatternProperties acdk::text::FieldPosition acdk::text::Format acdk::text::ParsePosition acdk::text::PropertyVarTemplateFilter acdk::text::RegExp acdk::text::RegExpMatchPosition acdk::text::Template acdk::text::TemplateFilterInformation acdk::tools::acdkmc::MetaInfoGenProxy acdk::tools::aunit::DmiTestClass acdk::tools::aunit::guitestrunner::BufferedCharWriter acdk::tools::aunit::guitestrunner::GuiTestListener acdk::tools::aunit::McConfigTest acdk::tools::aunit::SayHelloInterfaceImpl acdk::tools::aunit::TestCase acdk::tools::aunit::TestCollectorListener acdk::tools::aunit::TestConsoleListener acdk::tools::aunit::TestDebuggerListener acdk::tools::aunit::TestExpression acdk::tools::aunit::TestFailure acdk::tools::aunit::TestHtmlReport acdk::tools::aunit::TestResult acdk::tools::aunit::TestResultEntry acdk::tools::aunit::TestRunner acdk::tools::aunit::TestTextReport acdk::tools::mc::CodeAttribute acdk::tools::mc::CodeInsertion acdk::tools::mc::DispatchForwardAttributeTest acdk::tools::mc::DmiProxyGeneratorExt acdk::tools::mc::MetaCompiler acdk::tools::mc::TokenStack acdk::tools::mc::TokenStackElement acdk::tools::mc::TypeScope acdk::tools::odbctests::DBConnect acdk::tools::odbctests::ODBCTests acdk::util::AbstractCollection acdk::util::AbstractListIterator acdk::util::AbstractListListIterator acdk::util::AbstractListSubListListIterator acdk::util::AbstractMap acdk::util::AbstractMapCachedKeySetIterator acdk::util::AbstractMapCachedValuesCollectionIterator acdk::util::ArrayIterator acdk::util::ArraysImpl acdk::util::BasicMapEntry acdk::util::BitSet acdk::util::Bucket acdk::util::Calendar acdk::util::Collections acdk::util::Date acdk::util::Dictionary acdk::util::DoubleIterator acdk::util::EmptyCollectionIterator acdk::util::EventListenerProxy acdk::util::EventObject acdk::util::HashMapIterator acdk::util::HashMapNilEntry acdk::util::IteratorEnumeration acdk::util::LinkedListEntry acdk::util::LinkedListIterator acdk::util::Locale acdk::util::logging::AbstractLogConsumer acdk::util::logging::Level acdk::util::logging::Logger acdk::util::logging::LogManager acdk::util::logging::LogRecord acdk::util::logging::NamedParameter acdk::util::logging::SimpleFormatter acdk::util::logging::StdFormatter acdk::util::logging::Win32DbgFormatter acdk::util::NilComparator< T > acdk::util::Random acdk::util::ResourceBundle acdk::util::SingleObjectIterator acdk::util::StringTokenizer acdk::util::SynchronizedCollection acdk::util::SynchronizedIterator acdk::util::SynchronizedMap acdk::util::SynchronizedMapEntry acdk::util::SysDate acdk::util::TAbstractCollection< T > acdk::util::TAbstractCollection< InterfaceHolder< TMapEntry< K, V > > > acdk::util::TAbstractCollection< K > acdk::util::TAbstractCollection< TMapEntry< K, V >::RefType > acdk::util::TAbstractCollection< V > acdk::util::TAbstractListIterator< T > acdk::util::TAbstractListListIterator< T > acdk::util::TAbstractListSubListListIterator< T > acdk::util::TAbstractMap< K, V > acdk::util::TAbstractMapCachedKeySetIterator< K, V > acdk::util::TAbstractMapCachedValuesCollectionIterator< K, V > acdk::util::TBasicMapEntry< K, V > acdk::util::TBucket< K, V > acdk::util::TDoubleIterator< T > acdk::util::THashMapEntriesIterator< K, V > acdk::util::THashMapKeyIterator< K, V > acdk::util::THashMapNilEntry acdk::util::THashMapValueIterator< K, V > acdk::util::TimeZone acdk::util::TreeMapIterator acdk::util::TreeMapSetIterator acdk::util::TTreeMapIteratorBase< K, V > acdk::util::TTreeMapSetIteratorBase< K, V > acdk::util::WeakHashMapEntrySetEntry acdk::util::WeakHashMapEntrySetIterator acdk::vfile::tar::TarFileHeader acdk::vfile::tar::TarFileImpl acdk::vfile::tar::TarFileSystem acdk::vfile::tar::TarFileSystemFactory acdk::vfile::zip::CentralDirectory acdk::vfile::zip::CentralDirectoryEntry acdk::vfile::zip::LocalFileHeader acdk::vfile::zip::ZipFileImpl acdk::vfile::zip::ZipFileReader acdk::vfile::zip::ZipFileSystem acdk::vfile::zip::ZipFileSystemFactory acdk::wx::ide::DimInfo acdk::wx::TextAttr acdk::wx::TextCtrlCharWriter acdk::wx::WxNonCopyStruct< T > acdk::wx::WxNonCopyStruct< wxCaret > acdk::wx::WxObject acdk::wx::WxValStruct< T > acdk::xml::dom::DOMParser acdk::xml::dom::NodeArrayList acdk::xml::dom::NodeIteratorWalker acdk::xml::dom::NodeUtil acdk::xml::dom::XMLNamedNodeMap acdk::xml::dom::XMLNode acdk::xml::dom::XMLNodeList acdk::xml::libxmldom::LibXMLNamedNodeMap acdk::xml::libxmldom::LibXMLNode acdk::xml::libxmldom::LibXMLNodeList acdk::xml::libxmldom::LibXMLPathNodeList acdk::xml::libxmldom::LibXMLXPathExpression acdk::xml::libxmldom::LibXMLXPathNSResolver acdk::xml::libxmldom::LibXMLXPathResult acdk::xml::parsers::DocumentBuilder acdk::xml::parsers::DocumentBuilderFactory acdk::xml::RemoteInterface acdk::xml::sax::AttributeListImpl acdk::xml::sax::XmlLibLocator acdk::xml::sax::XMLParser acdk::xml::sax::XMLReader acdk::xml::TestClass acdk::xml::XMLTokenizer acdkx::arb::AObjectImpl acdkx::arb::ARB acdkx::arb::Connection acdkx::arb::ObjectID acdkx::arb::XMLDelegate acdkx::com::AbstractCoInterface acdkx::com::ActiveScript acdkx::com::Co acdkx::com::ComObject acdkx::com::CreateTypeInfo acdkx::com::CreateTypeLib acdkx::com::IUnknown acdkx::net::ssl::HTTPSUrlStreamHandlerFactory acdkx::orb::GIOPMessage acdkx::orb::ObjectKey acdkx::orb::OrbConnection acdkx::orb::OrbConnectionMgr acdkx::rdmi::BinaryProtocol acdkx::rdmi::ConnectionRefs acdkx::rdmi::LocalObjectRepository acdkx::rdmi::RemoteArg acdkx::rdmi::RemoteDmiProxy acdkx::rdmi::RemoteObjectId acdkx::rdmi::RemoteObjectReferences acdkx::rdmi::TcpServer acdkx::rdmi::TcpServerConnection BasicArray< T > ExtObjectPtr< T > ExtObjectVal< T > JavaSerSample org::omg::CORBA::Any org::omg::CORBA::AttributeDescription org::omg::CORBA::Context org::omg::CORBA::Description org::omg::CORBA::ExceptionDescription org::omg::CORBA::FullInterfaceDescription org::omg::CORBA::InterfaceDescription org::omg::CORBA::ModuleDescription org::omg::CORBA::OperationDescription org::omg::CORBA::ParameterDescription org::omg::CORBA::portable::ObjectImpl org::omg::CORBA::ServerRequest org::omg::CORBA::StructMember org::omg::CORBA::TypeCode org::omg::CosNaming::Binding org::omg::CosNaming::NameComponent org::omg::PortableServer::ThreadPolicy org::w3c::dom::DOMWriterFormat org::w3c::dom::NodeListIterator org::w3c::dom::xpath::XPathResultNodeList org::xml::sax::helpers::CollectiveErrorHandler org::xml::sax::helpers::Context org::xml::sax::helpers::DefaultHandler org::xml::sax::helpers::LocatorImpl org::xml::sax::helpers::MiscXmlUtils org::xml::sax::helpers::NamespaceSupport org::xml::sax::helpers::StdErrorHandler org::xml::sax::InputSource tests::acdk::java::TestListener tests::acdk::lang::dmi::AClass tests::acdk::lang::dmi::AClass tests::acdk::lang::dmi::BClass tests::acdk::lang::dmi::Child tests::acdk::lang::dmi::MyElement tests::acdk::lang::dmi::MyOwner tests::acdk::lang::dmi::NotifyObjectEventTestClass tests::acdk::lang::dmi::ReferenceTestClass tests::acdk::lang::MyClass tests::acdk::lang::MyValType tests::acdk::lang::sys::MyTestObject tests::acdk::lang::sys::SelfAssignTest tests::acdk::lang::TestSignalEventHandler tests::acdk::net::TransListenerImpl tests::acdkx::orb::AdressInfo tests::TestACDKObject List of all members.

Detailed Description

StdDispatch is a basic Interface implemented by every ACDK object and interface for dynamic call an ACDK method.

Author:
Roger Rene Kommer (kommer@artefaktur.com)
Version:
Revision
1.65
Date:
Date
2005/04/17 11:13:41


Public Member Functions

virtual ~StdDispatch ()
virtual::acdk::lang::dmi::ClazzInfo * getClazzInfo ()=0
 returns the ClazzInfo of this object instance must not be 0

virtual::acdk::lang::Object * getDmiTarget (bool &forwarded, const::acdk::lang::dmi::ClazzInfo *&ci)=0
 Method invoke calls should forwarded to the DmiTarget.

::acdk::lang::ObjectgetDmiTarget (const::acdk::lang::dmi::ClazzInfo *&ci)
 wrapps the call getDmiTarget(bool& forwarded) with a loop as long forwarded is true

virtual DmiClientgetDmiClient ()
 return the DMI client which should be used for this object In normal case this is the AcdkDmiClient.

virtual const ClazzMethodInfostandardDispatch (IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo=0, const ClazzMethodInfo *methinf=0)
 calls a method of this object used in generated stub

ScriptVar invokeMethod (IN(RString) funcname, ScriptVarArray &args, int flags=MiPublic)
 simpified interface to standardDispatch

ScriptVar invokeMethod (IN(RString) funcname, ScriptVarArray &args, IN(NamedArgs) nargs, int flags=MiPublic)
ScriptVar invokeMethod (IN(RString) funcname, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags=MiPublic)
 simpified interface to standardDispatch

ScriptVar invokeMethod (IN(RString) funcname, ScriptVarArray &args, IN(::acdk::lang::RStringArray) namedArgs, int flags=MiPublic)
 simpified interface to standardDispatch

virtual ScriptVar getMember (IN(::acdk::lang::RString) fieldname, DmiClient &dc, int flags, const ClazzInfo *type_requested=0)
 retreive a member variable of this object

virtual void setMember (IN(::acdk::lang::RString) fieldname, const ScriptVar &newval, DmiClient &dc, int flags=MiPublic)
 set a member variable.

virtual SysFields getInternalFields (int flags, const ClazzInfo *clazz=0)
 return all fields of this instance using DMI

SysField getInternalField (IN(RString) name, int flags, const ClazzInfo *clazz=0)
 get a field by name.

bool isDmiOverLoaded (const ClazzInfo *ci, const ClazzMethodInfo *mi)
 Used from DmiProxyBase to determine if given method is overwritten by dmi.

virtual bool isDmiOverLoaded (const ClazzInfo *ci, IN(RString) funcname, const ClazzMethodInfo *mi, ClazzMethodArgInfo **const args)
 Used from DmiProxyBase to determine if given method is overwritten by dmi.

ScriptVar invoke (IN(RString) name)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, const ScriptVar &s8)
ScriptVar invoke (IN(RString) name, IN(NamedArgs) nargs)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, IN(NamedArgs) nargs)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, IN(NamedArgs) nargs)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, IN(NamedArgs) nargs)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, IN(NamedArgs) nargs)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, IN(NamedArgs) nargs)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, IN(NamedArgs) nargs)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, IN(NamedArgs) nargs)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, IN(NamedArgs) nargs)
ScriptVar invoke (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, const ScriptVar &s8, IN(NamedArgs) nargs)
ScriptVar peek (IN(RString) fieldname, int flags=MiPublic)
 Reads a member with given fieldname.

void poke (IN(RString) fieldname, const ScriptVar &arg, int flags=MiPublic)
 Writes a public object field.


Static Public Member Functions

const ClazzMethodInfo_invoke_dynamic (::acdk::lang::Object *This, IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf)
const ClazzMethodInfo_invoke_dynamic_super (::acdk::lang::Object *This, IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf)
const ClazzMethodInfo_invoke_static (IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf)
const ClazzMethodInfo_invoke_static_super (IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf)
const ClazzMethodInfo_invoke_notexistant (::acdk::lang::Object *This, IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo, const ClazzMethodInfo *methinf)
 non existant method.

ScriptVar invokeStaticMethod (IN(RString) classname, IN(RString) funcname, ScriptVarArray &args, int flags=MiPublic|MiStatic)
 simpified interface to StandardDispatch

ScriptVar invokeStaticMethod (IN(RString) classname, IN(RString) funcname, ScriptVarArray &args, IN(NamedArgs) nargs, int flags=MiPublic|MiStatic)
 simpified interface to StandardDispatch with named arguments

ScriptVar invokeStaticMethod (IN(RString) classname, IN(RString) funcname, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags=MiPublic|MiStatic)
 simpified interface to StandardDispatch

ScriptVar getStaticMember (const ClazzInfo *clazz, IN(::acdk::lang::RString) fieldname, DmiClient &dc, int flags, const ClazzInfo *type_requested=0)
 retreive a static member variable

void setStaticMember (const ClazzInfo *clazz, IN(::acdk::lang::RString) fieldname, const ScriptVar &newval, DmiClient &dc, int flags)
 set a static member variable core implementetion

ScriptVar New (IN(RString) classname, ScriptVarArray &args, DmiClient &dc=AcdkDmiClient::getDmiClient())
 Creates a new Object of given classname.

ScriptVar New (IN(RString) classname, ScriptVarArray &args, IN(RStringArray) nargs, DmiClient &dc=AcdkDmiClient::getDmiClient())
ScriptVar New (IN(RString) classname, ScriptVarArray &args, IN(NamedArgs) nargs, DmiClient &dc=AcdkDmiClient::getDmiClient())
ScriptVar New (IN(RString) name)
ScriptVar New (IN(RString) name, const ScriptVar &s0)
ScriptVar New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1)
ScriptVar New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2)
ScriptVar New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3)
ScriptVar New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4)
ScriptVar New (IN(RString) name, IN(NamedArgs) nargs)
ScriptVar New (IN(RString) name, const ScriptVar &s0, IN(NamedArgs) nargs)
ScriptVar New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, IN(NamedArgs) nargs)
ScriptVar New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, IN(NamedArgs) nargs)
ScriptVar New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, IN(NamedArgs) nargs)
ScriptVar New (IN(RString) name, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, const ScriptVar &s8)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, IN(NamedArgs) nargs)
ScriptVar invoke_static (IN(RString) classname, IN(RString) methodname, const ScriptVar &s0, const ScriptVar &s1, const ScriptVar &s2, const ScriptVar &s3, const ScriptVar &s4, const ScriptVar &s5, const ScriptVar &s6, const ScriptVar &s7, const ScriptVar &s8, IN(NamedArgs) nargs)
ScriptVar peek_static (IN(RString) classname, IN(RString) fieldname, int flags=MiPublic|MiStatic)
 reads a static member

void poke_static (IN(RString) classname, IN(RString) member, const ScriptVar &val, int flags=MiPublic|MiStatic)
 Writes a public static class field.

const ClazzMethodInfolookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, IN(RStringArray) namedArgs, DmiClient &dc, int flags, const ClazzMethodInfo *methinf=0)
const ClazzMethodInfolookupMethod_cb (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, IN(RStringArray) namedArgs, DmiClient &dc, int flags, const ClazzMethodInfo *methinf)
 standard callback provided by DmiClient.

const ClazzMethodInfolookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, acdk::lang::dmi::ClazzMethodArgInfo **const args, DmiClient &dc, int flags)
const ClazzMethodInfolookupMethodNoPolymorph (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, IN(RStringArray) namedArgs, DmiClient &dc, int flags, const ClazzMethodInfo *methinf=0)
 Same as lookupMethod, but look only for non-polymorphic methods.

const ClazzMethodInfolookupMethod (const ClazzInfo *&clazz, int methodhash, int flags)
 find method using the methodhashvalue.

const ClazzMethodInfolookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, int flags)
 Find first function with given name and flags.

const ClazzMethodInfo_lookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, DmiClient &dc, int flags, const ClazzMethodInfo *methinf)
 ???

const ClazzMethodInfo_lookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname, ScriptVarArray &args, IN(RStringArray) namedargs, DmiClient &dc, int flags, const ClazzMethodInfo *methinf)
 returns a method if found which matching args and named args

const ClazzMethodInfo_lookupMethod (const ClazzInfo *&clazz, IN(::acdk::lang::RString) fname,::acdk::lang::sys::core_vector< ClazzMethodArgInfo > &args, IN(RStringArray) namedargs, DmiClient &dc, int flags)
 Finds a method.

void findFunctions (const ClazzInfo *clazz, IN(::acdk::lang::RString) fname, int flags, ClazzMethodInfoVec &vec)
 find all function with given name and flag

const ClazzMethodInfofindMethod (const ClazzInfo *&clazz, const FunctionSignature &signature, bool exactMatch=true, int flags=MiIvDeclared)
 Search for given method
  • exactMatch if true the types of the arguments must match exactly otherwise they only must be assignable
  • flags = MiIvDeclared.


ScriptVar getStaticMember (const ClazzInfo *clazz, const ClazzFieldInfo *field, int flags)
 internal implementation to read a static member

void setStaticMember (const ClazzInfo *clazz, const ClazzFieldInfo *field, const ScriptVar &value, DmiClient &dc, int flags)
ScriptVar _getMember (::acdk::lang::Object *This, const ClazzInfo *clazz, const ClazzFieldInfo *field, IN(::acdk::lang::RString) fieldname, DmiClient &dc, int flags)
void _setMember (::acdk::lang::Object *This, const ScriptVar &val, const ClazzInfo *clazz, const ClazzFieldInfo *field, IN(::acdk::lang::RString) fieldname, DmiClient &dc, int flags)

Static Protected Member Functions

const ClazzMethodInfoStandardDispatch (IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo=0, const ClazzMethodInfo *methinf=0)
 This version of StandardDispatch is used in the generated stub and should not called directly.

const ClazzMethodInfoStandardDispatch (IN(::acdk::lang::RString) classname, IN(::acdk::lang::RString) fname, ScriptVar &ret, ScriptVarArray &args, DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const ClazzInfo *clazzinfo=0, const ClazzMethodInfo *methinf=0)
 calls a static method of this object This is the core implemention method for the invoke_static family


Constructor & Destructor Documentation

virtual acdk::lang::dmi::StdDispatch::~StdDispatch  )  [inline, virtual]
 


Member Function Documentation

ScriptVar acdk::lang::dmi::StdDispatch::_getMember ::acdk::lang::Object This,
const ClazzInfo clazz,
const ClazzFieldInfo field,
IN(::acdk::lang::RString fieldname,
DmiClient dc,
int  flags
[static]
 

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::_invoke_dynamic ::acdk::lang::Object This,
IN(::acdk::lang::RString fname,
ScriptVar ret,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const ClazzInfo clazzinfo,
const ClazzMethodInfo methinf
[static]
 

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::_invoke_dynamic_super ::acdk::lang::Object This,
IN(::acdk::lang::RString fname,
ScriptVar ret,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const ClazzInfo clazzinfo,
const ClazzMethodInfo methinf
[static]
 

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::_invoke_notexistant ::acdk::lang::Object This,
IN(::acdk::lang::RString fname,
ScriptVar ret,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const ClazzInfo clazzinfo,
const ClazzMethodInfo methinf
[static]
 

non existant method.

Will throw exception

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::_invoke_static IN(::acdk::lang::RString fname,
ScriptVar ret,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const ClazzInfo clazzinfo,
const ClazzMethodInfo methinf
[static]
 

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::_invoke_static_super IN(::acdk::lang::RString fname,
ScriptVar ret,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const ClazzInfo clazzinfo,
const ClazzMethodInfo methinf
[static]
 

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::_lookupMethod const ClazzInfo *&  clazz,
IN(::acdk::lang::RString fname,
::acdk::lang::sys::core_vector< ClazzMethodArgInfo > &  args,
IN(RStringArray namedargs,
DmiClient dc,
int  flags
[static]
 

Finds a method.

Parameters:
clazz the Class where to find
fname name of method
args The parameters. Note if ClazzMethodArgInfo.label is 0 or name of argument will be ignored
namedargs the last n args are named. Can be Nil.
dc used to find out type distance
flags flags of the method

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::_lookupMethod const ClazzInfo *&  clazz,
IN(::acdk::lang::RString fname,
ScriptVarArray args,
IN(RStringArray namedargs,
DmiClient dc,
int  flags,
const ClazzMethodInfo methinf
[static]
 

returns a method if found which matching args and named args

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::_lookupMethod const ClazzInfo *&  clazz,
IN(::acdk::lang::RString fname,
ScriptVarArray args,
DmiClient dc,
int  flags,
const ClazzMethodInfo methinf
[static]
 

???

void acdk::lang::dmi::StdDispatch::_setMember ::acdk::lang::Object This,
const ScriptVar val,
const ClazzInfo clazz,
const ClazzFieldInfo field,
IN(::acdk::lang::RString fieldname,
DmiClient dc,
int  flags
[static]
 

void acdk::lang::dmi::StdDispatch::findFunctions const ClazzInfo clazz,
IN(::acdk::lang::RString fname,
int  flags,
ClazzMethodInfoVec vec
[static]
 

find all function with given name and flag

Parameters:
clazz where to find.
fname name of function
flags normally PUBLIC/STATIC
vec all found methods

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::findMethod const ClazzInfo *&  clazz,
const FunctionSignature signature,
bool  exactMatch = true,
int  flags = MiIvDeclared
[static]
 

Search for given method

  • exactMatch if true the types of the arguments must match exactly otherwise they only must be assignable
  • flags = MiIvDeclared.

Returns:
0 if method cannot be found.

virtual ::acdk::lang::dmi::ClazzInfo* acdk::lang::dmi::StdDispatch::getClazzInfo  )  [pure virtual]
 

returns the ClazzInfo of this object instance must not be 0

Implemented in acdk::cfgscript::ScriptObject, BasicArray< T >, acdk::lang::ObjectArrayBase, acdk::lang::System, acdk::lisp::LispObject, acdkx::com::ComObject, acdkx::orb::AcdkObject, acdkx::orb::CorObject, BasicArray< int >, BasicArray< byte >, BasicArray< char >, BasicArray< bool >, and BasicArray< ucchar >.

virtual DmiClient& acdk::lang::dmi::StdDispatch::getDmiClient  )  [virtual]
 

return the DMI client which should be used for this object In normal case this is the AcdkDmiClient.

Reimplemented in acdk::lang::dmi::DmiProxy, and acdkx::orb::CorObject.

::acdk::lang::Object* acdk::lang::dmi::StdDispatch::getDmiTarget const::acdk::lang::dmi::ClazzInfo *&  ci  ) 
 

wrapps the call getDmiTarget(bool& forwarded) with a loop as long forwarded is true

virtual ::acdk::lang::Object* acdk::lang::dmi::StdDispatch::getDmiTarget bool &  forwarded,
const::acdk::lang::dmi::ClazzInfo *&  ci
[pure virtual]
 

Method invoke calls should forwarded to the DmiTarget.

Parameters:
forwarded,true if call should be forwareded to returned Object
ci ClazzInfo should be used to locate functions/members May not be set, than this->getClazzInfo() will be used.
Returns:
should never be 0

Implemented in acdk::cfgscript::ScriptObject, and acdk::lang::Object.

SysField acdk::lang::dmi::StdDispatch::getInternalField IN(RString name,
int  flags,
const ClazzInfo clazz = 0
 

get a field by name.

May use getInternalFields if not cannot found by using ClazzInfo

Parameters:
name name of the field
flags combination of MetaInfoFlags
clazz search in clazz. If 0 clazzInfo for this object will be used

virtual SysFields acdk::lang::dmi::StdDispatch::getInternalFields int  flags,
const ClazzInfo clazz = 0
[virtual]
 

return all fields of this instance using DMI

Parameters:
flags combination of Modifier
ci retrieve this ClazzInfo. If 0 clazzInfo for this object will be used
See also:
acdk::lang::dmi::ClazzInfo::getFields();

virtual ScriptVar acdk::lang::dmi::StdDispatch::getMember IN(::acdk::lang::RString fieldname,
DmiClient dc,
int  flags,
const ClazzInfo type_requested = 0
[virtual]
 

retreive a member variable of this object

Parameters:
fieldname name of the member
dc DmiClient to use to convert types
flags normally MiPublic
type_requested Type for target ScriptVar. if zero no conversion will be done
Exceptions:
NoSuchElementException if given Member not exists
ParamsMismatchException if type cannot be converted

ScriptVar acdk::lang::dmi::StdDispatch::getStaticMember const ClazzInfo clazz,
const ClazzFieldInfo field,
int  flags
[static]
 

internal implementation to read a static member

Parameters:
flags if MiAiOut is set, returns a LValue

ScriptVar acdk::lang::dmi::StdDispatch::getStaticMember const ClazzInfo clazz,
IN(::acdk::lang::RString fieldname,
DmiClient dc,
int  flags,
const ClazzInfo type_requested = 0
[static]
 

retreive a static member variable

Parameters:
clazz the ClazzInfo
fieldname name of the member
dc DmiClient to use to convert types
flags normally MiPublic | MiStatic can also be MiAiOut (| MiAiIn) to retrieve as left hand value
type_requested Type for target ScriptVar. if zero no conversion will be done
Exceptions:
NoSuchElementException if given Member not exists
ParamsMismatchException if type cannot be converted

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
const ScriptVar s7,
const ScriptVar s8,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
const ScriptVar s7,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
IN(NamedArgs nargs
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
const ScriptVar s7,
const ScriptVar s8
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
const ScriptVar s7
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0,
const ScriptVar s1
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name,
const ScriptVar s0
[inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke IN(RString name  )  [inline]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
const ScriptVar s7,
const ScriptVar s8,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
const ScriptVar s7,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
const ScriptVar s7,
const ScriptVar s8
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6,
const ScriptVar s7
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5,
const ScriptVar s6
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
const ScriptVar s5
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0,
const ScriptVar s1
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname,
const ScriptVar s0
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invoke_static IN(RString classname,
IN(RString methodname
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::invokeMethod IN(RString funcname,
ScriptVarArray args,
IN(::acdk::lang::RStringArray namedArgs,
int  flags = MiPublic
 

simpified interface to standardDispatch

ScriptVar acdk::lang::dmi::StdDispatch::invokeMethod IN(RString funcname,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags = MiPublic
 

simpified interface to standardDispatch

ScriptVar acdk::lang::dmi::StdDispatch::invokeMethod IN(RString funcname,
ScriptVarArray args,
IN(NamedArgs nargs,
int  flags = MiPublic
 

ScriptVar acdk::lang::dmi::StdDispatch::invokeMethod IN(RString funcname,
ScriptVarArray args,
int  flags = MiPublic
 

simpified interface to standardDispatch

ScriptVar acdk::lang::dmi::StdDispatch::invokeStaticMethod IN(RString classname,
IN(RString funcname,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags = MiPublic|MiStatic
[static]
 

simpified interface to StandardDispatch

ScriptVar acdk::lang::dmi::StdDispatch::invokeStaticMethod IN(RString classname,
IN(RString funcname,
ScriptVarArray args,
IN(NamedArgs nargs,
int  flags = MiPublic|MiStatic
[static]
 

simpified interface to StandardDispatch with named arguments

ScriptVar acdk::lang::dmi::StdDispatch::invokeStaticMethod IN(RString classname,
IN(RString funcname,
ScriptVarArray args,
int  flags = MiPublic|MiStatic
[static]
 

simpified interface to StandardDispatch

virtual bool acdk::lang::dmi::StdDispatch::isDmiOverLoaded const ClazzInfo ci,
IN(RString funcname,
const ClazzMethodInfo mi,
ClazzMethodArgInfo **const  args
[virtual]
 

Used from DmiProxyBase to determine if given method is overwritten by dmi.

Parameters:
funcname name of the function
ci ClazzInfo of the current script object instance
mi ClazzMethodInfo may be 0 if caller doesn't know a method info
args null terminated list of arguments to match

bool acdk::lang::dmi::StdDispatch::isDmiOverLoaded const ClazzInfo ci,
const ClazzMethodInfo mi
 

Used from DmiProxyBase to determine if given method is overwritten by dmi.

Parameters:
ci ClazzInfo of the current script object instance
mi ClazzMethodInfo of the DmiProxy
Returns:
true, if given method is overloaded by DMI scripting object

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::lookupMethod const ClazzInfo *&  clazz,
IN(::acdk::lang::RString fname,
int  flags
[static]
 

Find first function with given name and flags.

See also:
lookupMethod

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::lookupMethod const ClazzInfo *&  clazz,
int  methodhash,
int  flags
[static]
 

find method using the methodhashvalue.

This method identification in [sS]tandardDispatch will be used if the MiIvViaHash is set

Parameters:
clazz will be set to class owning the method will not changed if method cannot be found
flags combination of Modifier flags
Returns:
0 if method cannot be found

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::lookupMethod const ClazzInfo *&  clazz,
IN(::acdk::lang::RString fname,
acdk::lang::dmi::ClazzMethodArgInfo **const  args,
DmiClient dc,
int  flags
[static]
 

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::lookupMethod const ClazzInfo *&  clazz,
IN(::acdk::lang::RString fname,
ScriptVarArray args,
IN(RStringArray namedArgs,
DmiClient dc,
int  flags,
const ClazzMethodInfo methinf = 0
[static]
 

Parameters:
clazz the class where to find will be set to the ClazzInfo owns the found method
fname name of function
args Arguments of the function
namedArgs names of the named arguements
dc used for parameter converting
flags the given flags the method must be match. in normal case this will be PUBLIC or STATIC | PUBLIC or none
methinf may reinterpreted as int for method has if flags has MiIvViaHash

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::lookupMethod_cb const ClazzInfo *&  clazz,
IN(::acdk::lang::RString fname,
ScriptVarArray args,
IN(RStringArray namedArgs,
DmiClient dc,
int  flags,
const ClazzMethodInfo methinf
[inline, static]
 

standard callback provided by DmiClient.

calls lookupMethod

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::lookupMethodNoPolymorph const ClazzInfo *&  clazz,
IN(::acdk::lang::RString fname,
ScriptVarArray args,
IN(RStringArray namedArgs,
DmiClient dc,
int  flags,
const ClazzMethodInfo methinf = 0
[static]
 

Same as lookupMethod, but look only for non-polymorphic methods.

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
IN(NamedArgs nargs
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3,
const ScriptVar s4
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2,
const ScriptVar s3
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0,
const ScriptVar s1,
const ScriptVar s2
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0,
const ScriptVar s1
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name,
const ScriptVar s0
[inline, static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString name  )  [inline, static]
 

Reimplemented in acdkx::com::ComObject.

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString classname,
ScriptVarArray args,
IN(NamedArgs nargs,
DmiClient dc = AcdkDmiClient::getDmiClient()
[static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString classname,
ScriptVarArray args,
IN(RStringArray nargs,
DmiClient dc = AcdkDmiClient::getDmiClient()
[static]
 

ScriptVar acdk::lang::dmi::StdDispatch::New IN(RString classname,
ScriptVarArray args,
DmiClient dc = AcdkDmiClient::getDmiClient()
[static]
 

Creates a new Object of given classname.

Parameters:
classname Name of class
sign signature of methods
args arguments
nargs named arguments
See also:
invoke
Exceptions:
DmiException on DMI-related errors

ScriptVar acdk::lang::dmi::StdDispatch::peek IN(RString fieldname,
int  flags = MiPublic
 

Reads a member with given fieldname.

Parameters:
fieldname field to read
flags normally set to MiPublic can also be MiAiOut (| MiAiIn) to retrieve as left hand value
Returns:
the field value
Exceptions:
DmiException on DMI-related errors

ScriptVar acdk::lang::dmi::StdDispatch::peek_static IN(RString classname,
IN(RString fieldname,
int  flags = MiPublic|MiStatic
[static]
 

reads a static member

Parameters:
classname name of class
fieldname name of field
flags normally set to MiPublic | MiStatic can also be MiAiOut (| MiAiIn) to retrieve as left hand value

void acdk::lang::dmi::StdDispatch::poke IN(RString fieldname,
const ScriptVar arg,
int  flags = MiPublic
 

Writes a public object field.

Parameters:
fieldname name of the object member
arg the new value to set
Exceptions:
NoSuchElementException if given Member not exists
ParamsMismatchException if type cannot be converted

void acdk::lang::dmi::StdDispatch::poke_static IN(RString classname,
IN(RString member,
const ScriptVar val,
int  flags = MiPublic|MiStatic
[static]
 

Writes a public static class field.

Parameters:
classname the name of the class
member the name of the member variable
val the new value
Exceptions:
NoSuchElementException if given Member not exists
ParamsMismatchException if type cannot be converted

virtual void acdk::lang::dmi::StdDispatch::setMember IN(::acdk::lang::RString fieldname,
const ScriptVar newval,
DmiClient dc,
int  flags = MiPublic
[virtual]
 

set a member variable.

This is the core implementetion. You may use poke() instead

Parameters:
clazz the ClazzInfo
fieldname name of the member
newval new value of the member
dc DmiClient to use to convert types
flags normally MiPublic
Exceptions:
NoSuchElementException if given Member not exists
ParamsMismatchException if type cannot be converted
See also:
poke

void acdk::lang::dmi::StdDispatch::setStaticMember const ClazzInfo clazz,
const ClazzFieldInfo field,
const ScriptVar value,
DmiClient dc,
int  flags
[static]
 

void acdk::lang::dmi::StdDispatch::setStaticMember const ClazzInfo clazz,
IN(::acdk::lang::RString fieldname,
const ScriptVar newval,
DmiClient dc,
int  flags
[static]
 

set a static member variable core implementetion

Parameters:
clazz the ClazzInfo
fieldname name of the member
newval new value of the member
dc DmiClient to use to convert types
flags normally MiPublic | MiStatic
Exceptions:
NoSuchElementException if given Member not exists
ParamsMismatchException if type cannot be converted

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::StandardDispatch IN(::acdk::lang::RString classname,
IN(::acdk::lang::RString fname,
ScriptVar ret,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const ClazzInfo clazzinfo = 0,
const ClazzMethodInfo methinf = 0
[static, protected]
 

calls a static method of this object This is the core implemention method for the invoke_static family

Parameters:
classname name of the class
fname name of function
ret return value of this function
args arguments of the method
dc client, calling this method
flags normally MiPublic | MiStatic
namedArgs The last n values in args are named arguments. if no named arguments passed, caller should pass Nil
methinf If client caches method information
Returns:
the called ClazzMethodInfo. Client may use this cache this value for the next call to improve performance

const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::StandardDispatch IN(::acdk::lang::RString fname,
ScriptVar ret,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const ClazzInfo clazzinfo = 0,
const ClazzMethodInfo methinf = 0
[static, protected]
 

This version of StandardDispatch is used in the generated stub and should not called directly.

virtual const ClazzMethodInfo* acdk::lang::dmi::StdDispatch::standardDispatch IN(::acdk::lang::RString fname,
ScriptVar ret,
ScriptVarArray args,
DmiClient dc,
IN(::acdk::lang::RStringArray namedArgs,
int  flags,
const ClazzInfo clazzinfo = 0,
const ClazzMethodInfo methinf = 0
[virtual]
 

calls a method of this object used in generated stub

Parameters:
fname name of function
ret return value of this function
args arguments of the method
dc client, calling this method
namedArgs The last n values in args are named arguments. if no named arguments passed, caller should pass Nil
flags for the method (like static, public)
methinf If client caches method information
Exceptions:
DmiException in case of DMI-Errors (like wrong parameter)
Returns:
the called ClazzMethodInfo. Client may use this cache this value for the next call to improve performance
 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer