Public Member Functions | Protected Attributes

RefTarget Class Reference

This reference page is linked to from the following overview topics: Modifier Validity.


Search for all occurrences

#include <referencemgr.h>

Inheritance diagram for RefTarget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  RefTarget ()
  RefTarget (RefTargetHandle ref, const Interval &valid=NEVER)
  RefTarget (const RefTarget &refTarget)
virtual  ~RefTarget ()
virtual RefTarget operator= (const RefTarget &refTarget)
RefTargetHandle  GetRefTargetHandle () const
void  SetRefTargetHandle (RefTargetHandle ref)
const Interval GetValidity () const
void  SetValidity (const Interval &valid)
bool  IsHeld () const
void  SetHeld (bool held)

Protected Attributes

RefTargetHandle  mRef
Interval  mValid
bool  mHeld

Constructor & Destructor Documentation

RefTarget ( ) [inline]
: mRef(NULL), mHeld(false) { }
RefTarget ( RefTargetHandle  ref,
const Interval valid = NEVER 
) [inline]
: mRef(ref), mHeld(false) { mValid = valid; }
RefTarget ( const RefTarget refTarget ) [inline]
: mRef(refTarget.mRef), mHeld(false) { mValid = refTarget.mValid; }
virtual ~RefTarget ( ) [inline, virtual]
{;}

Member Function Documentation

virtual RefTarget& operator= ( const RefTarget refTarget ) [inline, virtual]
{ mRef = refTarget.mRef; mValid = refTarget.mValid; return *this; }
RefTargetHandle GetRefTargetHandle ( ) const [inline]
void SetRefTargetHandle ( RefTargetHandle  ref ) [inline]
const Interval& GetValidity ( ) const [inline]
void SetValidity ( const Interval valid ) [inline]
bool IsHeld ( ) const [inline]
void SetHeld ( bool  held ) [inline]

Member Data Documentation

RefTargetHandle mRef [protected]
Interval mValid [protected]
bool mHeld [protected]

RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget
RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget RefTarget