GME  13
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes
CCoreAttribute Class Reference

#include <CoreAttribute.h>

Inheritance diagram for CCoreAttribute:
Inheritance graph
[legend]
Collaboration diagram for CCoreAttribute:
Collaboration graph
[legend]

List of all members.

Public Types

enum  COREATTRIBUTE_LOCK_STATUS { COREATTRIBUTE_DIRTY = 0x0001, COREATTRIBUTE_LOCKGROUP_LOADED = 0x0002, COREATTRIBUTE_COLL_UPTODATE = 0x0004, COREATTRIBUTE_LOCK_CLOSED = 0x0008 }

Public Member Functions

 CCoreAttribute ()
virtual ~CCoreAttribute ()
STDMETHOD() get_Object (ICoreObject **p)
STDMETHOD() get_MetaAttribute (ICoreMetaAttribute **p)
CCoreObjectGetObject () const NOTHROW
CCoreMetaAttributeGetMetaAttribute () const NOTHROW
attrid_type GetAttrID () const NOTHROW
virtual valtype_type GetValType () const NOTHROW=0
virtual CCoreLockAttributeGetLockAttr () const
ICoreStorageSetStorageThisAttribute ()
virtual bool DoesMatch (bool do_load, const VARIANT &v)
CCoreProjectGetProject () const NOTHROW
CCoreTerritoryGetTerritory () const NOTHROW
void SetStatusFlag (status_type flags) NOTHROW
void ResetStatusFlag (status_type flags) NOTHROW
void ChangeStatusFlag (status_type flag, bool set) NOTHROW
bool GetStatusFlag (status_type flag) const NOTHROW
bool InTransaction () const NOTHROW
bool InWriteTransaction () const NOTHROW
bool IsZombie () const NOTHROW
bool IsDirty () const NOTHROW
void SetDirty () NOTHROW
void ResetDirty () NOTHROW
void ChangeDirty (bool dirty)
virtual void AbortFinalTransaction () NOTHROW
virtual void CommitFinalTransaction ()
virtual void CommitFinalTransactionFinish (bool undo) NOTHROW
virtual void Load ()
virtual void Unload () NOTHROW
virtual void FillAfterCreateObject () NOTHROW

Static Public Member Functions

static void Create (CCoreObject *object, CCoreMetaAttribute *metaattribute)

Protected Types

typedef unsigned char status_type

Protected Attributes

CComObjPtr< CCoreMetaAttributemetaattribute
status_type status

Detailed Description

Definition at line 35 of file CoreAttribute.h.


Member Typedef Documentation

typedef unsigned char CCoreAttribute::status_type [protected]

Definition at line 68 of file CoreAttribute.h.


Member Enumeration Documentation

Enumerator:
COREATTRIBUTE_DIRTY 
COREATTRIBUTE_LOCKGROUP_LOADED 
COREATTRIBUTE_COLL_UPTODATE 
COREATTRIBUTE_LOCK_CLOSED 

Definition at line 109 of file CoreAttribute.h.


Constructor & Destructor Documentation

Definition at line 31 of file CoreAttribute.cpp.

Definition at line 160 of file CoreAttribute.cpp.


Member Function Documentation

virtual void CCoreAttribute::AbortFinalTransaction ( ) [inline, virtual]

Reimplemented in CCoreLockAttribute.

Definition at line 155 of file CoreAttribute.h.

void CCoreAttribute::ChangeDirty ( bool  dirty) [inline]

Definition at line 148 of file CoreAttribute.h.

void CCoreAttribute::ChangeStatusFlag ( status_type  flag,
bool  set 
) [inline]

Definition at line 124 of file CoreAttribute.h.

virtual void CCoreAttribute::CommitFinalTransaction ( ) [inline, virtual]

Reimplemented in CCoreLockAttribute.

Definition at line 156 of file CoreAttribute.h.

virtual void CCoreAttribute::CommitFinalTransactionFinish ( bool  undo) [inline, virtual]

Reimplemented in CCoreLockAttribute.

Definition at line 157 of file CoreAttribute.h.

void CCoreAttribute::Create ( CCoreObject object,
CCoreMetaAttribute metaattribute 
) [static]

Definition at line 50 of file CoreAttribute.cpp.

virtual bool CCoreAttribute::DoesMatch ( bool  do_load,
const VARIANT &  v 
) [inline, virtual]

Definition at line 91 of file CoreAttribute.h.

virtual void CCoreAttribute::FillAfterCreateObject ( ) [inline, virtual]

Reimplemented in CCoreLockAttribute.

Definition at line 165 of file CoreAttribute.h.

Definition at line 211 of file CoreAttribute.cpp.

STDMETHODIMP CCoreAttribute::get_Object ( ICoreObject **  p)

Definition at line 202 of file CoreAttribute.cpp.

Definition at line 83 of file CoreAttribute.h.

Reimplemented in CCoreLockAttribute.

Definition at line 223 of file CoreAttribute.cpp.

Definition at line 82 of file CoreAttribute.h.

Definition at line 76 of file CoreAttribute.h.

Definition at line 190 of file CoreAttribute.cpp.

bool CCoreAttribute::GetStatusFlag ( status_type  flag) const [inline]

Definition at line 130 of file CoreAttribute.h.

Definition at line 195 of file CoreAttribute.cpp.

virtual valtype_type CCoreAttribute::GetValType ( ) const [pure virtual]
bool CCoreAttribute::InTransaction ( ) const [inline]

Definition at line 251 of file CoreAttribute.cpp.

bool CCoreAttribute::InWriteTransaction ( ) const [inline]

Definition at line 256 of file CoreAttribute.cpp.

bool CCoreAttribute::IsDirty ( ) const [inline]

Definition at line 139 of file CoreAttribute.h.

bool CCoreAttribute::IsZombie ( ) const [inline]

Definition at line 261 of file CoreAttribute.cpp.

virtual void CCoreAttribute::Load ( ) [inline, virtual]

Reimplemented in CCoreLockAttribute.

Definition at line 162 of file CoreAttribute.h.

void CCoreAttribute::ResetDirty ( ) [inline]

Definition at line 145 of file CoreAttribute.h.

void CCoreAttribute::ResetStatusFlag ( status_type  flags) [inline]

Definition at line 120 of file CoreAttribute.h.

void CCoreAttribute::SetDirty ( ) [inline]

Definition at line 142 of file CoreAttribute.h.

void CCoreAttribute::SetStatusFlag ( status_type  flags) [inline]

Definition at line 117 of file CoreAttribute.h.

Definition at line 238 of file CoreAttribute.cpp.

virtual void CCoreAttribute::Unload ( ) [inline, virtual]

Reimplemented in CCoreLockAttribute.

Definition at line 163 of file CoreAttribute.h.


Member Data Documentation

Definition at line 66 of file CoreAttribute.h.

Definition at line 69 of file CoreAttribute.h.


The documentation for this class was generated from the following files: