ALBA
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
albaAttributeTraceability Class Reference

#include <albaAttributeTraceability.h>

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

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)
 
albaAttributeTraceabilityMakeCopy ()
 
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)
 
albaAttributeMakeCopy ()
 
bool Equals (const albaAttribute *a) const
 
void SetName (const char *name)
 
const char * GetName () const
 
albaObjectNewObjectInstance () const
 
albaAttributeNewInstance () 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 albaObjectNewObjectInstance () const =0
 
virtual const albaTypeIDGetTypeId () 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)
 
albaObjectCastToObject ()
 
bool IsStorable ()
 

Public Attributes

std::vector< albaTraceabilitym_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 albaTypeIDGetStaticTypeId ()
 
static albaObjectSafeDownCast (albaObject *o)
 
- Static Public Member Functions inherited from albaStorable
static albaStorableSafeCastToObject (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
 

Detailed Description

Set trials information about operations which created or modified VME.

Definition at line 45 of file albaAttributeTraceability.h.

Constructor & Destructor Documentation

◆ albaAttributeTraceability()

albaAttributeTraceability::albaAttributeTraceability ( )

◆ ~albaAttributeTraceability()

virtual albaAttributeTraceability::~albaAttributeTraceability ( )
virtual

Member Function Documentation

◆ albaTypeMacro()

albaAttributeTraceability::albaTypeMacro ( albaAttributeTraceability  ,
albaAttribute   
)

◆ AddTraceabilityEvent()

void albaAttributeTraceability::AddTraceabilityEvent ( albaString  m_TrialEvent,
albaString  operationName,
albaString  parmaters,
albaString  date,
albaString  appStamp,
albaString  buildNum,
albaString  operatorID,
albaString  isNatural 
)

add a create event

◆ RemoveTraceabilityEvent()

void albaAttributeTraceability::RemoveTraceabilityEvent ( )

remove a traceability event

◆ DeepCopy()

virtual void albaAttributeTraceability::DeepCopy ( const albaAttribute a)
virtual

copy the content of the given attribute.

Attributes must be type compatible

Reimplemented from albaAttribute.

◆ MakeCopy()

albaAttributeTraceability * albaAttributeTraceability::MakeCopy ( )

create a copy of this attribute

◆ Equals()

bool albaAttributeTraceability::Equals ( const albaAttribute a) const

return true if this attribute equals the given one

◆ GetLastTrialEvent()

albaString albaAttributeTraceability::GetLastTrialEvent ( )

return trial type form vetor of traceability event

◆ InternalStore()

virtual int albaAttributeTraceability::InternalStore ( albaStorageElement node)
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.

◆ InternalRestore()

virtual int albaAttributeTraceability::InternalRestore ( albaStorageElement node)
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.

Member Data Documentation

◆ m_TraceabilityVector

std::vector<albaTraceability> albaAttributeTraceability::m_TraceabilityVector

Definition at line 71 of file albaAttributeTraceability.h.


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