ALBA
|
#include <albaAttributeTraceability.h>
Public Member Functions | |
albaAttributeTraceability () | |
virtual | ~albaAttributeTraceability () |
albaTypeMacro (albaAttributeTraceability, albaAttribute) | |
void | AddTraceabilityEvent (albaString m_TrialEvent, albaString operationName, albaString parmaters, albaString date, albaString appStamp, albaString buildNum, albaString operatorID, albaString isNatural) |
void | RemoveTraceabilityEvent () |
virtual void | DeepCopy (const albaAttribute *a) |
albaAttributeTraceability * | MakeCopy () |
bool | Equals (const albaAttribute *a) const |
albaString | GetLastTrialEvent () |
Public Member Functions inherited from albaAttribute | |
albaAbstractTypeMacro (albaAttribute, albaReferenceCounted) | |
void | operator= (const albaAttribute &a) |
bool | operator== (const albaAttribute &a) const |
virtual void | DeepCopy (const albaAttribute *a) |
albaAttribute * | MakeCopy () |
bool | Equals (const albaAttribute *a) const |
void | SetName (const char *name) |
const char * | GetName () const |
albaObject * | NewObjectInstance () const |
albaAttribute * | NewInstance () const |
virtual void | Print (std::ostream &os, const int tabs=0) const |
Public Member Functions inherited from albaReferenceCounted | |
albaReferenceCounted () | |
virtual | ~albaReferenceCounted () |
albaAbstractTypeMacro (albaReferenceCounted, albaObject) | |
virtual void | Delete () |
void | Register (void *obj) |
virtual void | UnRegister (void *obj) |
int | GetReferenceCount () |
void | SetReferenceCount (int) |
Public Member Functions inherited from albaObject | |
albaObject () | |
virtual | ~albaObject () |
virtual void | Delete () |
virtual const char * | GetTypeName () const |
virtual bool | IsA (const char *type_name) const |
virtual bool | IsA (const albaTypeID &type_id) const |
virtual albaObject * | NewObjectInstance () const =0 |
virtual const albaTypeID & | GetTypeId () const |
virtual void | Print (std::ostream &os, const int indent=0) const |
albaObject (const albaObject &c) | |
Public Member Functions inherited from albaStorable | |
albaStorable () | |
int | Store (albaStorageElement *element) |
int | Restore (albaStorageElement *element) |
albaObject * | CastToObject () |
bool | IsStorable () |
Public Attributes | |
std::vector< albaTraceability > | m_TraceabilityVector |
Protected Member Functions | |
virtual int | InternalStore (albaStorageElement *parent) |
virtual int | InternalRestore (albaStorageElement *node) |
virtual int | InternalStore (albaStorageElement *parent) |
virtual int | InternalRestore (albaStorageElement *node) |
virtual int | InternalStore (albaStorageElement *node)=0 |
virtual int | InternalRestore (albaStorageElement *node)=0 |
Additional Inherited Members | |
Static Public Member Functions inherited from albaObject | |
static const char * | GetStaticTypeName () |
static bool | IsStaticType (const char *type_name) |
static bool | IsStaticType (const albaTypeID &type_id) |
static const albaTypeID & | GetStaticTypeId () |
static albaObject * | SafeDownCast (albaObject *o) |
Static Public Member Functions inherited from albaStorable | |
static albaStorable * | SafeCastToObject (albaObject *o) |
Protected Attributes inherited from albaAttribute | |
albaString | m_Name |
Protected Attributes inherited from albaReferenceCounted | |
int | m_ReferenceCount |
Protected Attributes inherited from albaObject | |
bool | m_HeapFlag |
Protected Attributes inherited from albaStorable | |
bool | m_Storable |
Set trials information about operations which created or modified VME.
Definition at line 45 of file albaAttributeTraceability.h.
albaAttributeTraceability::albaAttributeTraceability | ( | ) |
|
virtual |
albaAttributeTraceability::albaTypeMacro | ( | albaAttributeTraceability | , |
albaAttribute | |||
) |
void albaAttributeTraceability::AddTraceabilityEvent | ( | albaString | m_TrialEvent, |
albaString | operationName, | ||
albaString | parmaters, | ||
albaString | date, | ||
albaString | appStamp, | ||
albaString | buildNum, | ||
albaString | operatorID, | ||
albaString | isNatural | ||
) |
add a create event
void albaAttributeTraceability::RemoveTraceabilityEvent | ( | ) |
remove a traceability event
|
virtual |
copy the content of the given attribute.
Attributes must be type compatible
Reimplemented from albaAttribute.
albaAttributeTraceability * albaAttributeTraceability::MakeCopy | ( | ) |
create a copy of this attribute
bool albaAttributeTraceability::Equals | ( | const albaAttribute * | a | ) | const |
return true if this attribute equals the given one
albaString albaAttributeTraceability::GetLastTrialEvent | ( | ) |
return trial type form vetor of traceability event
|
protectedvirtual |
This is called by Store() and must be reimplemented by subclasses.
The node element where the object should store itself is passed as argument.
Reimplemented from albaAttribute.
|
protectedvirtual |
This is called by Restore() and must be reimplemented by subclasses The element from which the object should restore itself is passed as argument.
Reimplemented from albaAttribute.
std::vector<albaTraceability> albaAttributeTraceability::m_TraceabilityVector |
Definition at line 71 of file albaAttributeTraceability.h.