Scarab  v2.9.0
Project 8 C++ Utility Library
Public Types | Public Member Functions | Private Attributes | List of all members
common_iterator Class Reference

#include <numpy.h>

Public Types

using container_type = std::vector< ssize_t >
 
using value_type = container_type::value_type
 
using size_type = container_type::size_type
 

Public Member Functions

 common_iterator ()
 
 common_iterator (void *ptr, const container_type &strides, const container_type &shape)
 
void increment (size_type dim)
 
void * data () const
 

Private Attributes

char * p_ptr
 
container_type m_strides
 

Detailed Description

Definition at line 1280 of file numpy.h.

Member Typedef Documentation

◆ container_type

using container_type = std::vector<ssize_t>

Definition at line 1282 of file numpy.h.

◆ size_type

using size_type = container_type::size_type

Definition at line 1284 of file numpy.h.

◆ value_type

using value_type = container_type::value_type

Definition at line 1283 of file numpy.h.

Constructor & Destructor Documentation

◆ common_iterator() [1/2]

common_iterator ( )
inline

Definition at line 1286 of file numpy.h.

◆ common_iterator() [2/2]

common_iterator ( void *  ptr,
const container_type strides,
const container_type shape 
)
inline

Definition at line 1288 of file numpy.h.

Member Function Documentation

◆ data()

void* data ( ) const
inline

Definition at line 1302 of file numpy.h.

◆ increment()

void increment ( size_type  dim)
inline

Definition at line 1298 of file numpy.h.

Member Data Documentation

◆ m_strides

container_type m_strides
private

Definition at line 1308 of file numpy.h.

◆ p_ptr

char* p_ptr
private

Definition at line 1307 of file numpy.h.


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