NLAIAGENT::CKeyObject Struct Reference

#include <key_agent.h>


Public Member Functions

 CKeyObject (const CStringType &s)
 CKeyObject (const CKeyObject &k)
 CKeyObject (const CStringType &s, IObjectIA *i)
bool operator< (const CKeyObject &k) const
const CKeyObject operator= (const CKeyObject &a)
virtual ~CKeyObject ()

Data Fields

CStringType Name
IObjectIAObj


Constructor & Destructor Documentation

NLAIAGENT::CKeyObject::CKeyObject const CStringType s,
IObjectIA i
[inline]
 

Definition at line 60 of file key_agent.h.

References NLAIC::IPointerGestion::incRef(), Obj, and s.

00060                                                               : Name(s), Obj(i)
00061                 {
00062                         Obj->incRef();
00063                 }

NLAIAGENT::CKeyObject::CKeyObject const CKeyObject k  )  [inline]
 

Definition at line 65 of file key_agent.h.

References NLAIC::IPointerGestion::incRef(), and Obj.

00065                                                :Name(k.Name), Obj(k.Obj)
00066                 {
00067                         Obj->incRef();
00068                 }

NLAIAGENT::CKeyObject::CKeyObject const CStringType s  )  [inline]
 

Definition at line 70 of file key_agent.h.

References s.

00070                                                 : Name(s)
00071                 {
00072                 }

virtual NLAIAGENT::CKeyObject::~CKeyObject  )  [inline, virtual]
 

Definition at line 74 of file key_agent.h.

References Obj, and NLAIC::IPointerGestion::release().

00075                 {
00076                         Obj->release();
00077                 }


Member Function Documentation

bool NLAIAGENT::CKeyObject::operator< const CKeyObject k  )  const [inline]
 

Definition at line 87 of file key_agent.h.

References Name.

00088                 {
00089                         return (Name < k.Name);
00090                 }

const CKeyObject NLAIAGENT::CKeyObject::operator= const CKeyObject a  )  [inline]
 

Definition at line 79 of file key_agent.h.

References NLAIC::IPointerGestion::incRef(), Obj, and NLAIC::IPointerGestion::release().

00080                 {
00081                         Obj->release();
00082                         Obj = a.Obj;
00083                         Obj->incRef();
00084                         return *this;
00085                 }


Field Documentation

CStringType NLAIAGENT::CKeyObject::Name
 

Definition at line 57 of file key_agent.h.

Referenced by operator<().

IObjectIA* NLAIAGENT::CKeyObject::Obj
 

Definition at line 58 of file key_agent.h.

Referenced by CKeyObject(), operator=(), and ~CKeyObject().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 09:16:53 2004 for NeL by doxygen 1.3.6