artefaktur
software engineer &        architecture

 
 
 
 

class ExtObjectVal

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

ExtObjectVal< T > Class Template Reference
[SmartPointers and Garbage Collection]

#include <ExtObject.h>

Inheritance diagram for ExtObjectVal< T >:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

template<class T>
class ExtObjectVal< T >

Wrapper to external classes.

To wrap any type or class with an ACDK object you have to define following:

    inline int acdk_hashCode(INP(MyClass) rt);
    inline bool acdk_equals(INP(MyClass) rt1, INP(MyClass) rt2) { return rt1 == rt2; }
    inline int acdk_compareTo(INP(MyClass) rt1, INP(MyClass) rt2) { return (rt1 < rt2) ? -1 : ((rt2 < rt1) ? 1 : 0); }
    inline acdk::lang::RString acdk_toString(INP(MyClass) rt) { return ; }

    typedef ExtObjectVal<MyClass, MyClassAdapterObjectAdapter> MyMyClassObject;
    typedef RefHolder<MyMyClassObject> RMyMyClassObject;


Public Member Functions

 ExtObjectVal ()
template<typename P1>  ExtObjectVal (const P1 &p1)
template<typename P1, typename P2>  ExtObjectVal (const P1 &p1, const P2 &p2)
template<typename P1, typename P2, typename P3>  ExtObjectVal (const P1 &p1, const P2 &p2, const P3 &p3)
template<typename P1, typename P2, typename P3, typename P4>  ExtObjectVal (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4)
 ~ExtObjectVal ()
int hashCode ()
bool equals (INP(RThisType) rt2)
int compareTo (INP(RThisType) rt2)
acdk::lang::RString toString ()
 return a string representation of this object Object::toString() return getName() by default


Private Types

typedef ExtObjectVal< T > ThisType
typedef ExtObjectSharedRef<
ThisType
RThisType
typedef T Base

Member Typedef Documentation

template<class T>
typedef T ExtObjectVal< T >::Base [private]
 

template<class T>
typedef ExtObjectSharedRef<ThisType> ExtObjectVal< T >::RThisType [private]
 

template<class T>
typedef ExtObjectVal<T> ExtObjectVal< T >::ThisType [private]
 


Constructor & Destructor Documentation

template<class T>
ExtObjectVal< T >::ExtObjectVal  )  [inline]
 

template<class T>
template<typename P1>
ExtObjectVal< T >::ExtObjectVal const P1 &  p1  )  [inline]
 

template<class T>
template<typename P1, typename P2>
ExtObjectVal< T >::ExtObjectVal const P1 &  p1,
const P2 &  p2
[inline]
 

template<class T>
template<typename P1, typename P2, typename P3>
ExtObjectVal< T >::ExtObjectVal const P1 &  p1,
const P2 &  p2,
const P3 &  p3
[inline]
 

template<class T>
template<typename P1, typename P2, typename P3, typename P4>
ExtObjectVal< T >::ExtObjectVal const P1 &  p1,
const P2 &  p2,
const P3 &  p3,
const P4 &  p4
[inline]
 

template<class T>
ExtObjectVal< T >::~ExtObjectVal  )  [inline]
 


Member Function Documentation

template<class T>
int ExtObjectVal< T >::compareTo INP(RThisType rt2  )  [inline]
 

template<class T>
bool ExtObjectVal< T >::equals INP(RThisType rt2  )  [inline]
 

template<class T>
int ExtObjectVal< T >::hashCode  )  [inline, virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

template<class T>
acdk::lang::RString ExtObjectVal< T >::toString  )  [inline, virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::lang::Object.

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