|
| | RRNamedArray (const boost::intrusive_ptr< RRArray< typename RRPrimUtil< T >::ElementArrayType > > &rr_array) |
| | Construct a RRNamedArray object.
|
|
virtual size_t | size () const |
| | returns the number of elements (namedarray elements)
|
|
virtual size_t | size () |
| | returns the number of elements (namedarray elements)
|
|
virtual void * | void_ptr () |
| | get a void pointer to the underlying numeric array
|
|
RR_OVIRTUAL size_t | ElementSize () RR_OVERRIDE |
| | get the number of bytes per namedarray element of the array
|
|
RR_OVIRTUAL DataTypes | ElementArrayType () RR_OVERRIDE |
| | get the type of the underlying numeric array
|
|
RR_OVIRTUAL size_t | ElementArrayCount () RR_OVERRIDE |
| | get the total number of elements in the underlying numeric array
|
|
virtual boost::intrusive_ptr< RRArray< typename RRPrimUtil< T >::ElementArrayType > > | GetNumericArray () |
| | get the underlying numeric RRArray
|
|
RR_OVIRTUAL boost::intrusive_ptr< RRBaseArray > | GetNumericBaseArray () RR_OVERRIDE |
| | get the underlying numeric array as an RRBaseArray
|
|
iterator | begin () |
| | returns an iterator to the beginning
|
|
const_iterator | begin () const |
| | returns an iterator to the beginning
|
|
const_iterator | cbegin () const |
| | returns an iterator to the beginning
|
|
iterator | end () |
| | returns an iterator to the end
|
|
const_iterator | end () const |
| | returns an iterator to the end
|
|
const_iterator | cend () const |
| | returns an iterator to the end
|
|
reverse_iterator | rbegin () |
| | returns a reverse iterator to the beginning
|
|
const_reverse_iterator | rbegin () const |
| | returns a reverse iterator to the beginning
|
|
const_reverse_iterator | crbegin () const |
| | returns a reverse iterator to the beginning
|
|
reverse_iterator | rend () |
| | returns a reverse iterator to the end
|
|
const_reverse_iterator | rend () const |
| | returns a reverse iterator to the end
|
|
const_reverse_iterator | crend () const |
| | returns a reverse iterator to the end
|
|
reference | operator[] (size_type i) |
| | access specified namedarray element
|
|
const_reference | operator[] (size_type i) const |
| | access specified namedarray element
|
|
reference | at (size_type i) |
| | access specified namedarray element with bounds checking
|
|
const_reference | at (size_type i) const |
| | access specified namedarray element with bounds checking
|
|
reference | front () |
| | access the first element
|
|
const_reference | front () const |
| | access the first element
|
|
reference | back () |
| | access the last element
|
|
const_reference | back () const |
| | access the last element
|
|
bool | empty () |
| | checks whether the container is empty
|
|
size_type | max_size () |
| | returns the maximum possible number of elements
|
template<typename T>
class RobotRaconteur::RRNamedArray< T >
namedarray array value type
This class stores a named array. Named arrays should always be allocated using AllocateEmptyRRNamedArray()
T must be a namedarray type that has been generated as part of the thunk source.
RRNamedArray must be stored in RR_INTRUSIVE_PTR. It will be deleted automatically when the reference count goes to zero.
- Template Parameters
-
| T | The type of the array elements |