OpenSubdiv
Loading...
Searching...
No Matches
Array< TYPE > Class Template Reference

#include <array.h>

Inheritance diagram for Array< TYPE >:
ConstArray< TYPE >

Public Types

typedef TYPE value_type
 
typedef int size_type
 
typedef TYPE const & const_reference
 
typedef TYPE & reference
 
typedef TYPE * iterator
 
- Public Types inherited from ConstArray< TYPE >
typedef TYPE value_type
 
typedef int size_type
 
typedef TYPE const & const_reference
 
typedef TYPE const * const_iterator
 
typedef TYPE & reference
 
typedef TYPE * iterator
 

Public Member Functions

 Array ()
 
 Array (value_type *ptr, size_type sizeArg)
 
const_reference operator[] (int index) const
 
reference operator[] (int index)
 
iterator begin ()
 
iterator end ()
 
- Public Member Functions inherited from ConstArray< TYPE >
 ConstArray ()
 
 ConstArray (value_type const *ptr, size_type sizeArg)
 
size_type size () const
 
bool empty () const
 
const_reference operator[] (int index) const
 
const_iterator begin () const
 
const_iterator end () const
 
size_type FindIndexIn4Tuple (value_type value) const
 
size_type FindIndex (value_type value) const
 

Additional Inherited Members

- Protected Attributes inherited from ConstArray< TYPE >
value_type const * _begin
 
size_type _size
 

Detailed Description

template<typename TYPE>
class OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Array< TYPE >

Definition at line 105 of file array.h.

Member Typedef Documentation

◆ const_reference

typedef TYPE const& const_reference

Definition at line 111 of file array.h.

◆ iterator

typedef TYPE* iterator

Definition at line 114 of file array.h.

◆ reference

typedef TYPE& reference

Definition at line 113 of file array.h.

◆ size_type

typedef int size_type

Definition at line 109 of file array.h.

◆ value_type

typedef TYPE value_type

Definition at line 108 of file array.h.

Constructor & Destructor Documentation

◆ Array() [1/2]

Array ( )
inline

Definition at line 118 of file array.h.

◆ Array() [2/2]

Array ( value_type ptr,
size_type  sizeArg 
)
inline

Definition at line 120 of file array.h.

Member Function Documentation

◆ begin()

iterator begin ( )
inline

Definition at line 132 of file array.h.

◆ end()

iterator end ( )
inline

Definition at line 136 of file array.h.

◆ operator[]() [1/2]

reference operator[] ( int  index)
inline

Definition at line 128 of file array.h.

◆ operator[]() [2/2]

const_reference operator[] ( int  index) const
inline

Definition at line 124 of file array.h.


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