AGX Dynamics 2.42.2.1
Loading...
Searching...
No Matches
agxData::EntityRange Class Reference

#include <EntityPtr.h>

+ Inheritance diagram for agxData::EntityRange:

Public Member Functions

 EntityRange ()
 
 EntityRange (EntityStorage *storage, size_t start, size_t end)
 
EntityPtr at (size_t index)
 
EntityRange operator[] (agx::IndexRange subRange)
 
EntityPtr operator[] (size_t index)
 
- Public Member Functions inherited from agx::IndexRangeT< agx::UInt >
 IndexRangeT ()
 
 IndexRangeT (agx::UInt start, agx::UInt end)
 
agx::UIntbegin ()
 
const agx::UIntbegin () const
 
void clamp (const IndexRangeT< agx::UInt > &other)
 Clamp range using another range as limits.
 
bool contains (agx::UInt index) const
 
bool empty () const
 
agx::UIntend ()
 
const agx::UIntend () const
 
bool hasOverlap (const IndexRangeT< agx::UInt > &other) const
 
bool hasOverlap (const IndexRangeT< agx::UInt32 > &other) const
 
bool hasOverlap (const IndexRangeT< agx::UInt64 > &other) const
 
 operator IndexRangeT< T2 > () const
 
bool operator!= (const IndexRangeT< agx::UInt > &other) const
 
IndexRangeT< agx::UIntoperator+ (agx::UInt rhs) const
 
IndexRangeT< agx::UInt > & operator+= (agx::UInt rhs)
 
IndexRangeT< agx::UIntoperator- (agx::UInt rhs) const
 
IndexRangeT< agx::UInt > & operator-= (agx::UInt rhs)
 
bool operator== (const IndexRangeT< agx::UInt > &other) const
 
agx::UInt operator[] (agx::UInt localIndex) const
 []-operator
 
void set (agx::UInt begin, agx::UInt end)
 Set the range.
 
agx::UInt size () const
 
bool valid () const
 

Additional Inherited Members

- Public Types inherited from agx::IndexRangeT< agx::UInt >
typedef agx::UInt Type
 

Detailed Description

Definition at line 247 of file EntityPtr.h.

Constructor & Destructor Documentation

◆ EntityRange() [1/2]

agxData::EntityRange::EntityRange ( )

Definition at line 848 of file EntityStorage.h.

Referenced by operator[]().

◆ EntityRange() [2/2]

agxData::EntityRange::EntityRange ( EntityStorage storage,
size_t  start,
size_t  end 
)

Definition at line 851 of file EntityStorage.h.

Member Function Documentation

◆ at()

EntityPtr agxData::EntityRange::at ( size_t  index)
inline

Definition at line 855 of file EntityStorage.h.

References operator[]().

◆ operator[]() [1/2]

EntityRange agxData::EntityRange::operator[] ( agx::IndexRange  subRange)

◆ operator[]() [2/2]

EntityPtr agxData::EntityRange::operator[] ( size_t  index)
inline

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