ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Common::SpanImpl< ValueType, Derived > Class Template Reference

#include <span.h>

Inheritance diagram for Common::SpanImpl< ValueType, Derived >:
Collaboration diagram for Common::SpanImpl< ValueType, Derived >:

List of all members.

Public Member Functions

COMMON_SPAN_TYPEDEFS SpanImpl ()
 SpanImpl (const pointer data_, const size_type size_)
template<typename Other >
 SpanImpl (const Other &other)
void clear ()
size_type size () const
pointer data () const
const_iterator cbegin () const
const_iterator cend () const
const_iterator begin () const
const_iterator end () const
iterator begin ()
iterator end ()
const String name () const
String getValidationMessage (const index_type index, const difference_type deltaInBytes, const SpanValidationMode mode) const
template<typename NewValueType >
const Derived< NewValueType > subspan (const index_type index, size_type numEntries=kSpanMaxSize) const
template<typename NewValueType >
Derived< NewValueType > subspan (const index_type index, size_type numEntries=kSpanMaxSize)
const_derived_type subspan (const index_type index, const size_type numEntries=kSpanMaxSize) const
mutable_derived_type subspan (const index_type index, const size_type numEntries=kSpanMaxSize)
mutable_value_derived_typeallocate (const size_type numEntries)
template<typename Other >
mutable_value_derived_typeallocateFromSpan (const Other &other)
mutable_value_derived_typeallocateFromStream (SeekableReadStream &stream, size_type numEntries=kSpanMaxSize)

Public Attributes

value_type_data
size_type _size

Protected Member Functions

template<typename NewValueType >
void populateSubspan (Derived< NewValueType > &span, const index_type index, size_type numEntries) const

Private Types

typedef SpanBase< ValueType,
Derived > 
super_type
typedef AddConst< Derived
< ValueType > >::type 
const_derived_type
typedef RemoveConst< Derived
< ValueType > >::type 
mutable_derived_type
typedef RemoveConst
< value_type >::type 
mutable_value_type
typedef Derived
< mutable_value_type
mutable_value_derived_type

Friends

class SpanImpl

Detailed Description

template<typename ValueType, template< typename > class Derived>
class Common::SpanImpl< ValueType, Derived >

Definition at line 545 of file span.h.


Member Typedef Documentation

template<typename ValueType, template< typename > class Derived>
typedef AddConst<Derived<ValueType> >::type Common::SpanImpl< ValueType, Derived >::const_derived_type [private]
template<typename ValueType, template< typename > class Derived>
typedef RemoveConst<Derived<ValueType> >::type Common::SpanImpl< ValueType, Derived >::mutable_derived_type [private]
template<typename ValueType, template< typename > class Derived>
typedef Derived<mutable_value_type> Common::SpanImpl< ValueType, Derived >::mutable_value_derived_type [private]
template<typename ValueType, template< typename > class Derived>
typedef RemoveConst<value_type>::type Common::SpanImpl< ValueType, Derived >::mutable_value_type [private]
template<typename ValueType, template< typename > class Derived>
typedef SpanBase<ValueType, Derived> Common::SpanImpl< ValueType, Derived >::super_type [private]

Constructor & Destructor Documentation

template<typename ValueType, template< typename > class Derived>
COMMON_SPAN_TYPEDEFS Common::SpanImpl< ValueType, Derived >::SpanImpl (  )  [inline]

Definition at line 560 of file span.h.

template<typename ValueType, template< typename > class Derived>
Common::SpanImpl< ValueType, Derived >::SpanImpl ( const pointer  data_,
const size_type  size_ 
) [inline]

Definition at line 562 of file span.h.

template<typename ValueType, template< typename > class Derived>
template<typename Other >
Common::SpanImpl< ValueType, Derived >::SpanImpl ( const Other &  other  )  [inline]

Definition at line 568 of file span.h.


Member Function Documentation

template<typename ValueType, template< typename > class Derived>
mutable_value_derived_type& Common::SpanImpl< ValueType, Derived >::allocate ( const size_type  numEntries  )  [inline]

Definition at line 666 of file span.h.

template<typename ValueType, template< typename > class Derived>
template<typename Other >
mutable_value_derived_type& Common::SpanImpl< ValueType, Derived >::allocateFromSpan ( const Other &  other  )  [inline]

Definition at line 675 of file span.h.

template<typename ValueType, template< typename > class Derived>
mutable_value_derived_type& Common::SpanImpl< ValueType, Derived >::allocateFromStream ( SeekableReadStream stream,
size_type  numEntries = kSpanMaxSize 
) [inline]

Definition at line 684 of file span.h.

template<typename ValueType, template< typename > class Derived>
iterator Common::SpanImpl< ValueType, Derived >::begin (  )  [inline]

Reimplemented from Common::SpanBase< ValueType, Derived >.

Definition at line 585 of file span.h.

template<typename ValueType, template< typename > class Derived>
const_iterator Common::SpanImpl< ValueType, Derived >::begin (  )  const [inline]

Reimplemented from Common::SpanBase< ValueType, Derived >.

Definition at line 583 of file span.h.

template<typename ValueType, template< typename > class Derived>
const_iterator Common::SpanImpl< ValueType, Derived >::cbegin (  )  const [inline]

Reimplemented from Common::SpanBase< ValueType, Derived >.

Definition at line 581 of file span.h.

template<typename ValueType, template< typename > class Derived>
const_iterator Common::SpanImpl< ValueType, Derived >::cend (  )  const [inline]

Reimplemented from Common::SpanBase< ValueType, Derived >.

Definition at line 582 of file span.h.

template<typename ValueType, template< typename > class Derived>
void Common::SpanImpl< ValueType, Derived >::clear (  )  [inline]
template<typename ValueType, template< typename > class Derived>
pointer Common::SpanImpl< ValueType, Derived >::data (  )  const [inline]

Reimplemented from Common::SpanBase< ValueType, Derived >.

Definition at line 579 of file span.h.

template<typename ValueType, template< typename > class Derived>
iterator Common::SpanImpl< ValueType, Derived >::end (  )  [inline]

Reimplemented from Common::SpanBase< ValueType, Derived >.

Definition at line 586 of file span.h.

template<typename ValueType, template< typename > class Derived>
const_iterator Common::SpanImpl< ValueType, Derived >::end (  )  const [inline]

Reimplemented from Common::SpanBase< ValueType, Derived >.

Definition at line 584 of file span.h.

template<typename ValueType, template< typename > class Derived>
String Common::SpanImpl< ValueType, Derived >::getValidationMessage ( const index_type  index,
const difference_type  deltaInBytes,
const SpanValidationMode  mode 
) const [inline]
template<typename ValueType, template< typename > class Derived>
const String Common::SpanImpl< ValueType, Derived >::name (  )  const [inline]
template<typename ValueType, template< typename > class Derived>
template<typename NewValueType >
void Common::SpanImpl< ValueType, Derived >::populateSubspan ( Derived< NewValueType > &  span,
const index_type  index,
size_type  numEntries 
) const [inline, protected]

Definition at line 646 of file span.h.

template<typename ValueType, template< typename > class Derived>
size_type Common::SpanImpl< ValueType, Derived >::size (  )  const [inline]

Reimplemented from Common::SpanBase< ValueType, Derived >.

Definition at line 578 of file span.h.

template<typename ValueType, template< typename > class Derived>
template<typename NewValueType >
const Derived<NewValueType> Common::SpanImpl< ValueType, Derived >::subspan ( const index_type  index,
size_type  numEntries = kSpanMaxSize 
) const [inline]

Definition at line 619 of file span.h.

template<typename ValueType, template< typename > class Derived>
template<typename NewValueType >
Derived<NewValueType> Common::SpanImpl< ValueType, Derived >::subspan ( const index_type  index,
size_type  numEntries = kSpanMaxSize 
) [inline]

Definition at line 626 of file span.h.

template<typename ValueType, template< typename > class Derived>
const_derived_type Common::SpanImpl< ValueType, Derived >::subspan ( const index_type  index,
const size_type  numEntries = kSpanMaxSize 
) const [inline]

Definition at line 632 of file span.h.

template<typename ValueType, template< typename > class Derived>
mutable_derived_type Common::SpanImpl< ValueType, Derived >::subspan ( const index_type  index,
const size_type  numEntries = kSpanMaxSize 
) [inline]

Definition at line 636 of file span.h.


Friends And Related Function Documentation

template<typename ValueType, template< typename > class Derived>
friend class SpanImpl [friend]

Definition at line 551 of file span.h.


Member Data Documentation

template<typename ValueType, template< typename > class Derived>
value_type* Common::SpanImpl< ValueType, Derived >::_data

Definition at line 697 of file span.h.

template<typename ValueType, template< typename > class Derived>
size_type Common::SpanImpl< ValueType, Derived >::_size

Definition at line 698 of file span.h.


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


Generated on Sat Sep 26 2020 05:03:12 for ResidualVM by doxygen 1.7.1
curved edge   curved edge