Overture  Version 25
Public Member Functions | Friends | List of all members
ParentChildSiblingInfoData Class Reference

#include <ParentChildSiblingInfo.h>

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

Public Member Functions

 ParentChildSiblingInfoData ()
 default constructor
 
 ParentChildSiblingInfoData (const ParentChildSiblingInfoData &x, const CopyType ct=DEEP)
 copy constructor
 
 ~ParentChildSiblingInfoData ()
 destructor
 
ParentChildSiblingInfoDataoperator= (const ParentChildSiblingInfoData &x)
 assignment operator
 
virtual aString getClassName (void) const
 returns the name of this class
 
void reference (const ParentChildSiblingInfoData &x)
 
virtual void breakReference (void)
 break the reference to an object
 
virtual void consistencyCheck (void) const
 performs internal error and consistency checks
 
virtual Integer get (const GenericDataBase &db, const aString &name)
 read from a database
 
virtual Integer put (const GenericDataBase &db, const aString &name) const
 write to a database
 
const list< ParentInfo * > & getParents (void) const
 returns a reference to the ParentList
 
const list< ChildInfo * > & getChildren (void) const
 returns a reference to the ChildList
 
const list< SiblingInfo * > & getSiblings (void) const
 returns a reference to the SiblingList
 
void addParent (ParentInfo *)
 add a ParentInfo object to ParentList
 
void addChild (ChildInfo *)
 add a ChildInfo object to ChildList
 
void addSibling (SiblingInfo *)
 add a SiblingInfo object to SiblingList
 
- Public Member Functions inherited from ReferenceCounting
 ReferenceCounting ()
 
 ReferenceCounting (const ReferenceCounting &x, const CopyType ct=DEEP)
 
virtual ~ReferenceCounting ()
 
Integer incrementReferenceCount ()
 
Integer decrementReferenceCount ()
 
Integer getReferenceCount () const
 
Logical uncountedReferencesMayExist ()
 
Integer getGlobalID () const
 
void setGlobalID (int id)
 

Friends

ostream & operator<< (ostream &s, const ParentChildSiblingInfoData &pcsInfoData)
 write a description of pcsInfoData to the output stream s
 

Constructor & Destructor Documentation

ParentChildSiblingInfoData::ParentChildSiblingInfoData ( )

default constructor

ParentChildSiblingInfoData::ParentChildSiblingInfoData ( const ParentChildSiblingInfoData x,
const CopyType  ct = DEEP 
)

copy constructor

References NOCOPY.

ParentChildSiblingInfoData::~ParentChildSiblingInfoData ( )

destructor

References NULL.

Member Function Documentation

void ParentChildSiblingInfoData::addChild ( ChildInfo childInfo)

add a ChildInfo object to ChildList

void ParentChildSiblingInfoData::addParent ( ParentInfo parentInfo)

add a ParentInfo object to ParentList

void ParentChildSiblingInfoData::addSibling ( SiblingInfo siblingInfo)

add a SiblingInfo object to SiblingList

void ParentChildSiblingInfoData::breakReference ( void  )
virtual

break the reference to an object

Reimplemented from ReferenceCounting.

References ReferenceCounting::breakReference().

void ParentChildSiblingInfoData::consistencyCheck ( void  ) const
virtual

performs internal error and consistency checks

Reimplemented from ReferenceCounting.

References assert, ReferenceCounting::consistencyCheck(), and NULL.

Referenced by ParentChildSiblingInfo::consistencyCheck().

Integer ParentChildSiblingInfoData::get ( const GenericDataBase db,
const aString name 
)
virtual

read from a database

const list<ChildInfo* >& ParentChildSiblingInfoData::getChildren ( void  ) const
inline

returns a reference to the ChildList

Referenced by ParentChildSiblingInfo::getChildren(), operator<<(), and operator=().

virtual aString ParentChildSiblingInfoData::getClassName ( void  ) const
inlinevirtual

returns the name of this class

Reimplemented from ReferenceCounting.

Referenced by ParentChildSiblingInfo::operator=(), and put().

const list<ParentInfo* >& ParentChildSiblingInfoData::getParents ( void  ) const
inline

returns a reference to the ParentList

Referenced by ParentChildSiblingInfo::getParents(), operator<<(), and operator=().

const list<SiblingInfo*>& ParentChildSiblingInfoData::getSiblings ( void  ) const
inline

returns a reference to the SiblingList

Referenced by ParentChildSiblingInfo::getSiblings(), operator<<(), and operator=().

ParentChildSiblingInfoData & ParentChildSiblingInfoData::operator= ( const ParentChildSiblingInfoData x)
Integer ParentChildSiblingInfoData::put ( const GenericDataBase db,
const aString name 
) const
virtual
void ParentChildSiblingInfoData::reference ( const ParentChildSiblingInfoData x)

creates a reference to another ParentChildSiblingInfoData object should not be called in general

References ReferenceCounting::reference().

Friends And Related Function Documentation

ostream& operator<< ( ostream &  s,
const ParentChildSiblingInfoData pcsInfoData 
)
friend

write a description of pcsInfoData to the output stream s


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