HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_ObjectAtTimeMatrix Class Reference

#include <SIM_ObjectArray.h>

+ Inheritance diagram for SIM_ObjectAtTimeMatrix:

Public Member Functions

 SIM_ObjectAtTimeMatrix ()
 
 ~SIM_ObjectAtTimeMatrix () override
 
void deleteAllEntries ()
 
int fullCount () const
 
void addObjectAtTime (SIM_ObjectAtTime *objectattime)
 
- Public Member Functions inherited from SIM_PtrArraySorted< SIM_ObjectAtTimeArray * >
 SIM_PtrArraySorted ()
 
 SIM_PtrArraySorted (typename UT_ValArray< SIM_ObjectAtTimeArray * >::Comparator comparator)
 
 SIM_PtrArraySorted (const SIM_PtrArraySorted &src)
 
virtual ~SIM_PtrArraySorted ()
 
void setComparator (typename UT_ValArray< SIM_ObjectAtTimeArray * >::Comparator cmp)
 
void sort ()
 
exint size () const
 
void setSize (exint newsize)
 
void setCapacity (exint newcapacity)
 
exint entries () const
 
void entries (int newnumentries)
 
void resize (int newsize)
 
SIM_ObjectAtTimeArrayoperator() (int index) const
 
SIM_ObjectAtTimeArraylast () const
 
int find (SIM_ObjectAtTimeArray *ptr) const
 
bool operator== (const SIM_PtrArraySorted &cmp) const
 
bool containsAny (const SIM_PtrArraySorted &cmp) const
 
bool containsFully (const SIM_PtrArraySorted &cmp) const
 
void remove (int index)
 
void remove (SIM_ObjectAtTimeArray *ptr)
 
void remove (const SIM_PtrArraySorted &src)
 
void keepOnly (const SIM_PtrArraySorted &src)
 
SIM_PtrArraySortedoperator= (const SIM_PtrArraySorted &src)
 
int add (SIM_ObjectAtTimeArray *ptr)
 
void set (const SIM_PtrArraySorted &src)
 
void setUnsorted (const UT_ValArray< SIM_ObjectAtTimeArray * > &src, SIM_PtrArraySorted &duplicates)
 
void merge (const SIM_PtrArraySorted &src)
 
void mergeSelected (const SIM_PtrArraySorted &src, bool(*selectfunc)(SIM_ObjectAtTimeArray *))
 
void appendUnsafe (SIM_ObjectAtTimeArray *ptr)
 
const UT_ValArray
< SIM_ObjectAtTimeArray * > & 
getRawArray () const
 
UT_ValArray
< SIM_ObjectAtTimeArray * > & 
getRawArray ()
 

Static Public Member Functions

static int compareObjectId (SIM_ObjectAtTimeArray *const *, SIM_ObjectAtTimeArray *const *)
 

Detailed Description

Definition at line 107 of file SIM_ObjectArray.h.

Constructor & Destructor Documentation

SIM_ObjectAtTimeMatrix::SIM_ObjectAtTimeMatrix ( )
inline

Definition at line 111 of file SIM_ObjectArray.h.

SIM_ObjectAtTimeMatrix::~SIM_ObjectAtTimeMatrix ( )
inlineoverride

Definition at line 114 of file SIM_ObjectArray.h.

Member Function Documentation

void SIM_ObjectAtTimeMatrix::addObjectAtTime ( SIM_ObjectAtTime *  objectattime)

Finds or creates a SIM_ObjectAtTimeArray for the object, and adds the specified entry to the array.

static int SIM_ObjectAtTimeMatrix::compareObjectId ( SIM_ObjectAtTimeArray *const *  ,
SIM_ObjectAtTimeArray *const *   
)
static

This function is used for sorting the objects in the array. It compares objects using the object id values.

void SIM_ObjectAtTimeMatrix::deleteAllEntries ( )
int SIM_ObjectAtTimeMatrix::fullCount ( ) const

Returns the total number of SIM_ObjectAtTime entries in all the arrays stored in this matrix.


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