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

#include <SIM_ObjectArray.h>

+ Inheritance diagram for SIM_ObjectAtTimeArray:

Public Member Functions

 SIM_ObjectAtTimeArray (int objectid)
 ~SIM_ObjectAtTimeArray () override
int getObjectId () const
- Public Member Functions inherited from SIM_PtrArraySorted< SIM_ObjectAtTime * >
 SIM_PtrArraySorted ()
 SIM_PtrArraySorted (typename UT_ValArray< SIM_ObjectAtTime * >::Comparator comparator)
 SIM_PtrArraySorted (const SIM_PtrArraySorted &src)
virtual ~SIM_PtrArraySorted ()
void setComparator (typename UT_ValArray< SIM_ObjectAtTime * >::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_ObjectAtTime * operator() (int index) const
SIM_ObjectAtTime * last () const
int find (SIM_ObjectAtTime *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_ObjectAtTime *ptr)
void remove (const SIM_PtrArraySorted &src)
void keepOnly (const SIM_PtrArraySorted &src)
SIM_PtrArraySortedoperator= (const SIM_PtrArraySorted &src)
int add (SIM_ObjectAtTime *ptr)
void set (const SIM_PtrArraySorted &src)
void setUnsorted (const UT_ValArray< SIM_ObjectAtTime * > &src, SIM_PtrArraySorted &duplicates)
void merge (const SIM_PtrArraySorted &src)
void mergeSelected (const SIM_PtrArraySorted &src, bool(*selectfunc)(SIM_ObjectAtTime *))
void appendUnsafe (SIM_ObjectAtTime *ptr)
const UT_ValArray
< SIM_ObjectAtTime * > & 
getRawArray () const
UT_ValArray< SIM_ObjectAtTime * > & getRawArray ()

Static Public Member Functions

static int compareObjectTimes (SIM_ObjectAtTime *const *, SIM_ObjectAtTime *const *)

Detailed Description

Definition at line 89 of file SIM_ObjectArray.h.

Constructor & Destructor Documentation

SIM_ObjectAtTimeArray::SIM_ObjectAtTimeArray ( int  objectid)
SIM_ObjectAtTimeArray::~SIM_ObjectAtTimeArray ( )

Member Function Documentation

static int SIM_ObjectAtTimeArray::compareObjectTimes ( SIM_ObjectAtTime *const ,
SIM_ObjectAtTime *const  

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

int SIM_ObjectAtTimeArray::getObjectId ( ) const

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