HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_RLEArray< T >::Run Struct Reference

#include <UT_RLEArray.h>

Public Member Functions

 Run ()
 
 Run (const T &item, exint repeat, exint start_index)
 
SYS_FORCE_INLINE bool isEmpty () const
 
SYS_FORCE_INLINE bool isRun () const
 
SYS_FORCE_INLINE exint runSize () const
 
SYS_FORCE_INLINE exint size () const
 
SYS_FORCE_INLINE exint startIndex () const
 
SYS_FORCE_INLINE exint endIndex () const
 
SYS_FORCE_INLINE const TarrayItem (exint idx) const
 
SYS_FORCE_INLINE const Toperator[] (exint idx) const
 
SYS_FORCE_INLINE void appendRun (exint num=1)
 
SYS_FORCE_INLINE void appendSequence (const T &item)
 
SYS_FORCE_INLINE void convertToSequence (const T &item)
 
SYS_FORCE_INLINE exint matchesAtEnd (const T &item) const
 
SYS_FORCE_INLINE void removeItemsFromEnd (exint n)
 
SYS_FORCE_INLINE void adjustStartOffset (exint n)
 
SYS_FORCE_INLINE exint getMemoryUsage () const
 

Detailed Description

template<typename T>
struct UT_RLEArray< T >::Run

Definition at line 30 of file UT_RLEArray.h.

Constructor & Destructor Documentation

template<typename T>
UT_RLEArray< T >::Run::Run ( )
inline

Definition at line 32 of file UT_RLEArray.h.

template<typename T>
UT_RLEArray< T >::Run::Run ( const T item,
exint  repeat,
exint  start_index 
)
inline

Definition at line 38 of file UT_RLEArray.h.

Member Function Documentation

template<typename T>
SYS_FORCE_INLINE void UT_RLEArray< T >::Run::adjustStartOffset ( exint  n)
inline

Definition at line 106 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE void UT_RLEArray< T >::Run::appendRun ( exint  num = 1)
inline

Definition at line 73 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE void UT_RLEArray< T >::Run::appendSequence ( const T item)
inline

Definition at line 74 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE const T& UT_RLEArray< T >::Run::arrayItem ( exint  idx) const
inline

Definition at line 59 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE void UT_RLEArray< T >::Run::convertToSequence ( const T item)
inline

Definition at line 80 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE exint UT_RLEArray< T >::Run::endIndex ( ) const
inline

Definition at line 58 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE exint UT_RLEArray< T >::Run::getMemoryUsage ( ) const
inline

Definition at line 112 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE bool UT_RLEArray< T >::Run::isEmpty ( ) const
inline

Definition at line 46 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE bool UT_RLEArray< T >::Run::isRun ( ) const
inline

Definition at line 47 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE exint UT_RLEArray< T >::Run::matchesAtEnd ( const T item) const
inline

Return the number of items at the end of the sequence which match the item.

Definition at line 90 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE const T& UT_RLEArray< T >::Run::operator[] ( exint  idx) const
inline

Definition at line 63 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE void UT_RLEArray< T >::Run::removeItemsFromEnd ( exint  n)
inline

Definition at line 100 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE exint UT_RLEArray< T >::Run::runSize ( ) const
inline

Definition at line 48 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE exint UT_RLEArray< T >::Run::size ( void  ) const
inline

Definition at line 53 of file UT_RLEArray.h.

template<typename T>
SYS_FORCE_INLINE exint UT_RLEArray< T >::Run::startIndex ( ) const
inline

Definition at line 57 of file UT_RLEArray.h.


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