DataDirector API
Public Member Functions | List of all members
DDD_EndpointList Class Reference

The DDD_EndpintList class. A list of DDD_Endpoints. More...

#include <DDD_ConnectionEndpoint.h>

Inheritance diagram for DDD_EndpointList:
DynamicPtrArray< DDD_ConnectionEndpoint * >

Public Member Functions

 DDD_EndpointList ()
 
int ConnectedAttributeIndex (DDD_AttributeBase *attr)
 
unsigned int NumberOfReferences (DDD_AttributeBase *attr)
 
- Public Member Functions inherited from DynamicPtrArray< DDD_ConnectionEndpoint * >
unsigned int Size () const
 
 DynamicPtrArray (int initialSize=0)
 
 ~DynamicPtrArray (void)
 
unsigned int Count () const
 
void InsertObject (const DDD_ConnectionEndpoint * &obj, unsigned int loc)
 
unsigned int InsertObject (const DDD_ConnectionEndpoint * &obj)
 
void PushObject (const DDD_ConnectionEndpoint * &obj)
 
void InsertObjectAfter (const DDD_ConnectionEndpoint * &obj, unsigned int loc)
 
bool DeleteObject (const DDD_ConnectionEndpoint * &obj)
 
bool DeleteObjectAtIndex (unsigned int index)
 
bool RemoveAndDeallocateObjectAtIndex (unsigned int index)
 
int Position (const DDD_ConnectionEndpoint * &obj)
 
bool RemoveAndDeallocate (DDD_ConnectionEndpoint * &obj)
 
void Swap (unsigned int a, unsigned int b)
 
void EmptyList (void)
 
void ClearList (void)
 
DDD_ConnectionEndpoint * & operator[] (int index)
 
const DDD_ConnectionEndpoint * & operator[] (int index) const
 
DDD_ConnectionEndpoint * * InternalArray (void)
 
DynamicPtrArray< DDD_ConnectionEndpoint * > & operator= (const DynamicPtrArray< DDD_ConnectionEndpoint * > &right)
 
bool IsEmpty (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from DynamicPtrArray< DDD_ConnectionEndpoint * >
void GrowArray (void)
 
void Size (unsigned int newSize)
 
- Protected Attributes inherited from DynamicPtrArray< DDD_ConnectionEndpoint * >
unsigned int _count
 
DDD_ConnectionEndpoint * * _objects
 

Detailed Description

The DDD_EndpintList class. A list of DDD_Endpoints.

Constructor & Destructor Documentation

DDD_EndpointList ( )
inline

Constructor

Member Function Documentation

int ConnectedAttributeIndex ( DDD_AttributeBase attr)

Returns which index within this EndpointList the attribute is at

Parameters
attrThe attribute to find
Returns
The (first) index the attribute is at or -1 if it is not in the list
unsigned int NumberOfReferences ( DDD_AttributeBase attr)
Returns
Returns the number of times the specified attribute is referenced
Parameters
attrThe attribute to search for

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