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

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

#include <span.h>

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

List of all members.

Public Member Functions

COMMON_SPAN_TYPEDEFS NamedSpanImpl ()
 NamedSpanImpl (const pointer data_, const size_type size_, const String &name_=String(), const size_type sourceByteOffset_=0)
template<typename Other >
 NamedSpanImpl (const Other &other)
void clear ()
const Stringname () const
Stringname ()
const size_typesourceByteOffset () const
size_typesourceByteOffset ()
template<typename NewValueType >
const Derived< NewValueType > subspan (const index_type index, const size_type numEntries=kSpanMaxSize, const String &name_=String(), const size_type sourceByteOffset_=kSpanKeepOffset) const
template<typename NewValueType >
Derived< NewValueType > subspan (const index_type index, const size_type numEntries=kSpanMaxSize, const String &name_=String(), const size_type sourceByteOffset_=kSpanKeepOffset)
const_derived_type subspan (const index_type index, const size_type numEntries=kSpanMaxSize, const String &name_=String(), const size_type sourceByteOffset_=kSpanKeepOffset) const
mutable_derived_type subspan (const index_type index, const size_type numEntries=kSpanMaxSize, const String &name_=String(), const size_type sourceByteOffset_=kSpanKeepOffset)
String getValidationMessage (const index_type index, const difference_type deltaInBytes, const SpanValidationMode mode) const
mutable_value_derived_typeallocate (const size_type numEntries, const String &name_=String())
template<typename OtherValueType >
mutable_value_derived_typeallocateFromSpan (const NamedSpanImpl< OtherValueType, Derived > &other)
template<typename OtherValueType , template< typename > class OtherDerived>
mutable_value_derived_typeallocateFromSpan (const SpanImpl< OtherValueType, OtherDerived > &other)
mutable_value_derived_typeallocateFromStream (SeekableReadStream &stream, size_type numEntries=kSpanMaxSize, const String &name_=String())
mutable_value_derived_typeallocateFromStream (File &file, const size_type numEntries=kSpanMaxSize)

Protected Member Functions

template<typename NewValueType >
void populateSubspan (Derived< NewValueType > &span, const index_type index, size_type numEntries, const String &name_, const size_type sourceByteOffset_=kSpanKeepOffset) const

Private Types

typedef SpanImpl< 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

Private Attributes

String _name
size_type _sourceByteOffset

Friends

class NamedSpanImpl

Detailed Description

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

Definition at line 730 of file span.h.


Member Typedef Documentation

template<typename ValueType, template< typename > class Derived>
typedef AddConst<Derived<ValueType> >::type Common::NamedSpanImpl< ValueType, Derived >::const_derived_type [private]

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

Definition at line 732 of file span.h.

template<typename ValueType, template< typename > class Derived>
typedef RemoveConst<Derived<ValueType> >::type Common::NamedSpanImpl< ValueType, Derived >::mutable_derived_type [private]

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

Definition at line 733 of file span.h.

template<typename ValueType, template< typename > class Derived>
typedef Derived<mutable_value_type> Common::NamedSpanImpl< ValueType, Derived >::mutable_value_derived_type [private]

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

Definition at line 845 of file span.h.

template<typename ValueType, template< typename > class Derived>
typedef RemoveConst<value_type>::type Common::NamedSpanImpl< ValueType, Derived >::mutable_value_type [private]

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

Definition at line 844 of file span.h.

template<typename ValueType, template< typename > class Derived>
typedef SpanImpl<ValueType, Derived> Common::NamedSpanImpl< ValueType, Derived >::super_type [private]

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

Reimplemented in Common::NamedSpan< ValueType >.

Definition at line 731 of file span.h.


Constructor & Destructor Documentation

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

Definition at line 745 of file span.h.

template<typename ValueType, template< typename > class Derived>
Common::NamedSpanImpl< ValueType, Derived >::NamedSpanImpl ( const pointer  data_,
const size_type  size_,
const String name_ = String(),
const size_type  sourceByteOffset_ = 0 
) [inline]

Definition at line 747 of file span.h.

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

Definition at line 756 of file span.h.


Member Function Documentation

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

Definition at line 848 of file span.h.

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

Definition at line 856 of file span.h.

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

Definition at line 864 of file span.h.

template<typename ValueType, template< typename > class Derived>
mutable_value_derived_type& Common::NamedSpanImpl< ValueType, Derived >::allocateFromStream ( File file,
const size_type  numEntries = kSpanMaxSize 
) [inline]

Definition at line 876 of file span.h.

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

Definition at line 869 of file span.h.

template<typename ValueType, template< typename > class Derived>
void Common::NamedSpanImpl< ValueType, Derived >::clear (  )  [inline]

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

Definition at line 761 of file span.h.

template<typename ValueType, template< typename > class Derived>
String Common::NamedSpanImpl< ValueType, Derived >::getValidationMessage ( const index_type  index,
const difference_type  deltaInBytes,
const SpanValidationMode  mode 
) const [inline]

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

Definition at line 829 of file span.h.

template<typename ValueType, template< typename > class Derived>
const String& Common::NamedSpanImpl< ValueType, Derived >::name (  )  const [inline]

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

Definition at line 767 of file span.h.

template<typename ValueType, template< typename > class Derived>
String& Common::NamedSpanImpl< ValueType, Derived >::name (  )  [inline]

Definition at line 768 of file span.h.

template<typename ValueType, template< typename > class Derived>
template<typename NewValueType >
void Common::NamedSpanImpl< ValueType, Derived >::populateSubspan ( Derived< NewValueType > &  span,
const index_type  index,
size_type  numEntries,
const String name_,
const size_type  sourceByteOffset_ = kSpanKeepOffset 
) const [inline, protected]

Definition at line 809 of file span.h.

template<typename ValueType, template< typename > class Derived>
const size_type& Common::NamedSpanImpl< ValueType, Derived >::sourceByteOffset (  )  const [inline]

Definition at line 770 of file span.h.

template<typename ValueType, template< typename > class Derived>
size_type& Common::NamedSpanImpl< ValueType, Derived >::sourceByteOffset (  )  [inline]

Definition at line 771 of file span.h.

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

Definition at line 795 of file span.h.

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

Definition at line 789 of file span.h.

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

Definition at line 799 of file span.h.

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

Definition at line 782 of file span.h.


Friends And Related Function Documentation

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

Definition at line 736 of file span.h.


Member Data Documentation

template<typename ValueType, template< typename > class Derived>
String Common::NamedSpanImpl< ValueType, Derived >::_name [private]

Definition at line 774 of file span.h.

template<typename ValueType, template< typename > class Derived>
size_type Common::NamedSpanImpl< ValueType, Derived >::_sourceByteOffset [private]

Definition at line 775 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