All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Array< TYPE > Class Template Reference

#include <array.h>

Public Types

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 (const Array< value_type > &array)
 
 Array (const value_type *ptr, size_type size)
 
 ~Array ()
 
size_type size () const
 
const_reference operator[] (int index) const
 
const_iterator begin () const
 
const_iterator end () const
 
reference operator[] (int index)
 
iterator begin ()
 
iterator end ()
 

Protected Attributes

value_type_begin
 
size_type _size
 

Detailed Description

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

Definition at line 51 of file array.h.

Member Typedef Documentation

typedef TYPE const* const_iterator

Definition at line 58 of file array.h.

typedef TYPE const& const_reference

Definition at line 57 of file array.h.

typedef TYPE* iterator

Definition at line 61 of file array.h.

typedef TYPE& reference

Definition at line 60 of file array.h.

typedef int size_type

Definition at line 55 of file array.h.

typedef TYPE value_type

Definition at line 54 of file array.h.

Constructor & Destructor Documentation

Array ( )
inline

Definition at line 64 of file array.h.

Array ( const Array< value_type > &  array)
inline

Definition at line 65 of file array.h.

Array ( const value_type ptr,
size_type  size 
)
inline

Definition at line 67 of file array.h.

~Array ( )
inline

Definition at line 69 of file array.h.

Member Function Documentation

const_iterator begin ( ) const
inline

Definition at line 74 of file array.h.

iterator begin ( )
inline

Definition at line 78 of file array.h.

const_iterator end ( ) const
inline

Definition at line 75 of file array.h.

iterator end ( )
inline

Definition at line 79 of file array.h.

const_reference operator[] ( int  index) const
inline

Definition at line 73 of file array.h.

reference operator[] ( int  index)
inline

Definition at line 77 of file array.h.

size_type size ( ) const
inline

Definition at line 71 of file array.h.

Member Data Documentation

value_type* _begin
protected

Definition at line 82 of file array.h.

size_type _size
protected

Definition at line 83 of file array.h.


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