ARB
Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
TypedAliData< T > Class Template Referenceabstract
Inheritance diagram for TypedAliData< T >:
Inheritance graph
[legend]
Collaboration diagram for TypedAliData< T >:
Collaboration graph
[legend]

Public Member Functions

 TypedAliData (size_t size_, T gap_)
 
const Tstd_gap () const
 
size_t unitsize () const OVERRIDE
 
bool has_slice () const OVERRIDE
 
virtual UnitPtr at_ptr (size_t pos) const =0
 
AliDataPtr create_gap (size_t gapsize, const UnitPair &) const OVERRIDE
 
__ATTR__NORETURN AliDataPtr slice_down (size_t, size_t) const OVERRIDE
 
UnitPtr unit_left_of (size_t pos) const OVERRIDE
 
UnitPtr unit_right_of (size_t pos) const OVERRIDE
 
- Public Member Functions inherited from AliData
 AliData (size_t size_)
 
virtual ~AliData ()
 
void clear_error () const
 
void set_error (GB_ERROR error) const
 
virtual int operate_on_mem (void *mem, size_t start, size_t count, memop op) const =0
 
virtual int cmp_data (size_t start, const AliData &other, size_t ostart, size_t count) const =0
 
void copyPartTo (void *mem, size_t start, size_t count) const
 
int cmpPartWith (const void *mem, size_t start, size_t count) const
 
GB_ERROR check_delete_allowed (size_t start, size_t count) const
 
size_t elems () const
 
size_t memsize () const
 
void copyTo (void *mem) const
 
bool empty () const
 
int cmp_whole_data (const AliData &other) const
 
bool equals (const AliData &other) const
 
bool differs_from (const AliData &other) const
 
bool is_valid_pos (size_t pos) const
 
bool is_valid_between (size_t pos) const
 
bool is_valid_part (size_t start, size_t count) const
 

Protected Member Functions

const Tstd_gap_ptr () const
 

Static Protected Member Functions

static const Ttyped_ptr (const UnitPtr &uptr)
 

Additional Inherited Members

- Public Types inherited from AliData
enum  memop { COPY_TO, COMPARE_WITH, CHECK_DELETE }
 

Detailed Description

template<typename T>
class TypedAliData< T >

Definition at line 371 of file insdel.cxx.

Constructor & Destructor Documentation

template<typename T>
TypedAliData< T >::TypedAliData ( size_t  size_,
T  gap_ 
)
inline

Definition at line 379 of file insdel.cxx.

Member Function Documentation

template<typename T>
static const T* TypedAliData< T >::typed_ptr ( const UnitPtr uptr)
inlinestaticprotected

Definition at line 375 of file insdel.cxx.

template<typename T>
const T* TypedAliData< T >::std_gap_ptr ( ) const
inlineprotected

Definition at line 376 of file insdel.cxx.

template<typename T>
const T& TypedAliData< T >::std_gap ( ) const
inline

Definition at line 384 of file insdel.cxx.

Referenced by SpecificGap< T >::cmp_data().

template<typename T>
size_t TypedAliData< T >::unitsize ( ) const
inlinevirtual

Implements AliData.

Definition at line 386 of file insdel.cxx.

template<typename T>
bool TypedAliData< T >::has_slice ( ) const
inlinevirtual

Implements AliData.

Definition at line 387 of file insdel.cxx.

template<typename T>
virtual UnitPtr TypedAliData< T >::at_ptr ( size_t  pos) const
pure virtual
template<typename T >
AliDataPtr TypedAliData< T >::create_gap ( size_t  gapsize,
const UnitPair  
) const
virtual

Implements AliData.

Definition at line 449 of file insdel.cxx.

template<typename T>
__ATTR__NORETURN AliDataPtr TypedAliData< T >::slice_down ( size_t  ,
size_t   
) const
inlinevirtual

Implements AliData.

Definition at line 391 of file insdel.cxx.

template<typename T>
UnitPtr TypedAliData< T >::unit_left_of ( size_t  pos) const
inlinevirtual

Implements AliData.

Definition at line 394 of file insdel.cxx.

template<typename T>
UnitPtr TypedAliData< T >::unit_right_of ( size_t  pos) const
inlinevirtual

Implements AliData.

Definition at line 398 of file insdel.cxx.


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