16#ifndef __albaAttribute_h
17#define __albaAttribute_h
64 virtual void Print(std::ostream& os,
const int tabs=0)
const;
An abstract class for objects representing an attribute for albaVMEs.
const char * GetName() const
bool Equals(const albaAttribute *a) const
return true if this attribute equals the given one
albaAttribute * NewInstance() const
defined to allow the definition of MakeCopy().
albaAbstractTypeMacro(albaAttribute, albaReferenceCounted)
virtual void DeepCopy(const albaAttribute *a)
copy the content of the given attribute.
albaObject * NewObjectInstance() const
defined to allow the definition of MakeCopy().
void SetName(const char *name)
Set the name of this attribute.
bool operator==(const albaAttribute &a) const
virtual void Print(std::ostream &os, const int tabs=0) const
dump the object to output stream
void operator=(const albaAttribute &a)
attributes must define a copy rule
virtual int InternalStore(albaStorageElement *parent)
This is called by Store() and must be reimplemented by subclasses.
virtual int InternalRestore(albaStorageElement *node)
This is called by Restore() and must be reimplemented by subclasses The element from which the object...
albaAttribute * MakeCopy()
create a copy of this attribute
Abstract superclass for all ALBA classes implementing RTTI APIs.
static albaObject * SafeDownCast(albaObject *o)
Cast with dynamic type checking.
virtual albaObject * NewObjectInstance() const =0
Return a new instance of the same type.
albaReferenceCounted - abstract base class for ALBA objects with reference counting.
albaStorable is an interface for serializable objects.
Abstract class representing the interface for the unit of information stored in the storage.
albaString - performs common string operations on c-strings.