artefaktur
software engineer &        architecture

 
 
 
 

class AcdkObject

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

acdkx::com::AcdkObject Class Reference

#include <AcdkObject.h>

Inheritance diagram for acdkx::com::AcdkObject:

acdkx::com::AbstractCoInterface acdk::lang::Object acdkx::com::IUnknown acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 AcdkObject ()
 AcdkObject (acdk::lang::Object obj)
acdk::lang::Object getObject ()
void unwrapAcdkObject (bool flag)
 Should an wrapped ACDK acdk::lang::Object parameter be unwrapped or not If flag is false, the DMI interface returns ComObject's (except String) otherwise the type will be casted.

bool unwrapAcdkObject ()
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void **ppvObject)
virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount (UINT __RPC_FAR *pctinfo)
virtual HRESULT STDMETHODCALLTYPE GetTypeInfo (UINT iTInfo, LCID lcid, ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo)
virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames (REFIID riid, LPOLESTR __RPC_FAR *rgszNames, UINT cNames, LCID lcid, DISPID __RPC_FAR *rgDispId)
virtual HRESULT STDMETHODCALLTYPE Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS __RPC_FAR *pDispParams, VARIANT __RPC_FAR *pVarResult, EXCEPINFO __RPC_FAR *pExcepInfo, UINT __RPC_FAR *puArgErr)
virtual HRESULT STDMETHODCALLTYPE New (BSTR classname, SAFEARRAY __RPC_FAR *__MIDL_0015, IDispatch __RPC_FAR *__RPC_FAR *retvalue)
virtual HRESULT STDMETHODCALLTYPE invoke (BSTR methodname, SAFEARRAY __RPC_FAR *args, VARIANT __RPC_FAR *retvalue)
virtual HRESULT STDMETHODCALLTYPE peek (BSTR membername, VARIANT __RPC_FAR *retvalue)
virtual HRESULT STDMETHODCALLTYPE poke (BSTR membername, VARIANT value)
virtual HRESULT STDMETHODCALLTYPE invoke_static (BSTR classname, BSTR methodname, SAFEARRAY __RPC_FAR *args, VARIANT __RPC_FAR *retvalue)
virtual HRESULT STDMETHODCALLTYPE peek_static (BSTR classname, BSTR membername, VARIANT __RPC_FAR *retvalue)
virtual HRESULT STDMETHODCALLTYPE poke_static (BSTR classname, BSTR membername, VARIANT value)
virtual HRESULT STDMETHODCALLTYPE InterfaceSupportsErrorInfo (REFIID riid)
 implemented for ISupportErrorInfo


Protected Member Functions

HRESULT new_object (IN(RString) classname, VARIANT *args, int argnum, IDispatch __RPC_FAR *__RPC_FAR *retvalue)
 Internal implementation.

HRESULT _invoke (IN(RString) funcname, VARIANT *params, int argcount, VARIANT *pVarResult)
 Internal implementation.

HRESULT invoke_static (BSTR classname, BSTR methodname, VARIANT *args, int argcount, VARIANT __RPC_FAR *retvalue)

Static Protected Member Functions

HRESULT createErrorInfoFromException (IN(::acdk::lang::RThrowable) ex)

Private Attributes

acdk::lang::Object _obj
RClass _class
bool _unwrapDmiObject

Constructor & Destructor Documentation

acdkx::com::AcdkObject::AcdkObject  )  [inline]
 

acdkx::com::AcdkObject::AcdkObject acdk::lang::Object  obj  )  [inline]
 


Member Function Documentation

HRESULT acdkx::com::AcdkObject::_invoke IN(RString funcname,
VARIANT *  params,
int  argcount,
VARIANT *  pVarResult
[protected]
 

Internal implementation.

Exceptions:
Throwables 

HRESULT acdkx::com::AcdkObject::createErrorInfoFromException IN(::acdk::lang::RThrowable ex  )  [static, protected]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::GetIDsOfNames REFIID  riid,
LPOLESTR __RPC_FAR *  rgszNames,
UINT  cNames,
LCID  lcid,
DISPID __RPC_FAR *  rgDispId
[virtual]
 

acdk::lang::Object acdkx::com::AcdkObject::getObject  )  [inline]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::GetTypeInfo UINT  iTInfo,
LCID  lcid,
ITypeInfo __RPC_FAR *__RPC_FAR *  ppTInfo
[virtual]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::GetTypeInfoCount UINT __RPC_FAR *  pctinfo  )  [virtual]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::InterfaceSupportsErrorInfo REFIID  riid  )  [virtual]
 

implemented for ISupportErrorInfo

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::invoke BSTR  methodname,
SAFEARRAY __RPC_FAR *  args,
VARIANT __RPC_FAR *  retvalue
[virtual]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::Invoke DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS __RPC_FAR *  pDispParams,
VARIANT __RPC_FAR *  pVarResult,
EXCEPINFO __RPC_FAR *  pExcepInfo,
UINT __RPC_FAR *  puArgErr
[virtual]
 

HRESULT acdkx::com::AcdkObject::invoke_static BSTR  classname,
BSTR  methodname,
VARIANT *  args,
int  argcount,
VARIANT __RPC_FAR *  retvalue
[protected]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::invoke_static BSTR  classname,
BSTR  methodname,
SAFEARRAY __RPC_FAR *  args,
VARIANT __RPC_FAR *  retvalue
[virtual]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::New BSTR  classname,
SAFEARRAY __RPC_FAR *  __MIDL_0015,
IDispatch __RPC_FAR *__RPC_FAR *  retvalue
[virtual]
 

HRESULT acdkx::com::AcdkObject::new_object IN(RString classname,
VARIANT *  args,
int  argnum,
IDispatch __RPC_FAR *__RPC_FAR *  retvalue
[protected]
 

Internal implementation.

Exceptions:
Throwables 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::peek BSTR  membername,
VARIANT __RPC_FAR *  retvalue
[virtual]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::peek_static BSTR  classname,
BSTR  membername,
VARIANT __RPC_FAR *  retvalue
[virtual]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::poke BSTR  membername,
VARIANT  value
[virtual]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::poke_static BSTR  classname,
BSTR  membername,
VARIANT  value
[virtual]
 

virtual HRESULT STDMETHODCALLTYPE acdkx::com::AcdkObject::QueryInterface REFIID  riid,
void **  ppvObject
[virtual]
 

Reimplemented from acdkx::com::AbstractCoInterface.

bool acdkx::com::AcdkObject::unwrapAcdkObject  )  [inline]
 

void acdkx::com::AcdkObject::unwrapAcdkObject bool  flag  )  [inline]
 

Should an wrapped ACDK acdk::lang::Object parameter be unwrapped or not If flag is false, the DMI interface returns ComObject's (except String) otherwise the type will be casted.


Member Data Documentation

RClass acdkx::com::AcdkObject::_class [private]
 

acdk::lang::Object acdkx::com::AcdkObject::_obj [private]
 

bool acdkx::com::AcdkObject::_unwrapDmiObject [private]
 

 
Last modified 2005-05-08 18:34 by SYSTEM By Artefaktur, Ing. Bureau Kommer