OpendTect-6_4
6.4
|
Base class for TypeSet, usually not used as such. More...
Inherits OD::Set.
Inherited by LargeValVec< float >, and LargeValVec< od_uint64 >.
Public Types | |
typedef I | size_type |
typedef T | object_type |
Public Member Functions | |
virtual | ~TypeSetBase () |
TypeSetBase< T, I > & | operator= (const TypeSetBase< T, I > &ts) |
size_type | size () const |
virtual int64_t | nrItems () const |
virtual bool | setSize (size_type, T val=T()) |
virtual bool | setCapacity (size_type sz, bool withmargin) |
virtual size_type | getCapacity () const |
void | setAll (T) |
void | replace (T, T) |
T & | operator[] (size_type) |
const T & | operator[] (size_type) const |
T & | first () |
const T & | first () const |
T & | last () |
const T & | last () const |
virtual bool | validIdx (int64_t) const |
virtual size_type | indexOf (T, bool forward=true, size_type start=-1) const |
bool | isPresent (const T &) const |
size_type | count (const T &) const |
TypeSetBase< T, I > & | add (const T &) |
virtual void | insert (size_type, const T &) |
bool | push (const T &) |
T | pop () |
TypeSetBase< T, I > & | operator+= (const T &t) |
virtual bool | append (const T *, size_type) |
virtual bool | append (const TypeSetBase< T, I > &) |
virtual bool | addIfNew (const T &) |
virtual TypeSetBase< T, I > & | copy (const T *, size_type) |
virtual TypeSetBase< T, I > & | copy (const TypeSetBase< T, I > &) |
virtual void | createUnion (const TypeSetBase< T, I > &) |
virtual void | createIntersection (const TypeSetBase< T, I > &) |
Only keeps common items. More... | |
virtual void | createDifference (const TypeSetBase< T, I > &, bool must_preserve_order=false) |
Removes all items present in other set. More... | |
virtual void | swap (int64_t, int64_t) |
virtual void | move (size_type from, size_type to) |
virtual void | getReOrdered (const size_type *, TypeSetBase< T, I > &) |
Fills as per the given array of indexes. More... | |
virtual void | reverse () |
virtual void | erase () |
virtual void | removeSingle (size_type, bool preserver_order=true) |
TypeSetBase< T, I > & | operator-= (const T &) |
virtual void | removeRange (size_type from, size_type to) |
virtual T * | arr () |
3rd party access More... | |
virtual const T * | arr () const |
std::vector< T > & | vec () |
const std::vector< T > & | vec () const |
Public Member Functions inherited from OD::Set | |
virtual | ~Set () |
bool | isEmpty () const |
void | setEmpty () |
Protected Member Functions | |
TypeSetBase () | |
TypeSetBase (size_type nr, T typ) | |
TypeSetBase (const T *, size_type nr) | |
TypeSetBase (const TypeSetBase< T, size_type > &) | |
virtual T * | gtArr () const |
Protected Attributes | |
VectorAccess< T, I > | vec_ |
Base class for TypeSet, usually not used as such.
typedef T TypeSetBase< T, I >::object_type |
typedef I TypeSetBase< T, I >::size_type |
|
inlinevirtual |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
3rd party access
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Removes all items present in other set.
|
inlinevirtual |
Only keeps common items.
|
inlinevirtual |
Adds items not already there
|
inlinevirtual |
Implements OD::Set.
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Fills as per the given array of indexes.
|
inlineprotectedvirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Implements OD::Set.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Allocates mem only, no size() change
|
inlinevirtual |
val | value assigned to new items |
|
inline |
|
inlinevirtual |
Implements OD::Set.
|
inlinevirtual |
Implements OD::Set.
|
inline |
|
inline |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019