OpendTect-6_4  6.4
Public Member Functions | List of all members
LargeValVec< T > Class Template Reference

Large Value Vector. More...

Inheritance diagram for LargeValVec< T >:
[legend]

Public Member Functions

 LargeValVec ()
 
 LargeValVec (int64_t nr, T typ)
 
 LargeValVec (const T *t, int64_t nr)
 
 LargeValVec (const TypeSet< T > &t)
 
- Public Member Functions inherited from TypeSetBase< T, int64_t >
virtual ~TypeSetBase ()
 
TypeSetBase< T, int64_t > & operator= (const TypeSetBase< T, int64_t > &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, int64_t > & add (const T &)
 
virtual void insert (size_type, const T &)
 
bool push (const T &)
 
pop ()
 
TypeSetBase< T, int64_t > & operator+= (const T &t)
 
virtual bool append (const T *, size_type)
 
virtual bool append (const TypeSetBase< T, int64_t > &)
 
virtual bool addIfNew (const T &)
 
virtual TypeSetBase< T, int64_t > & copy (const T *, size_type)
 
virtual TypeSetBase< T, int64_t > & copy (const TypeSetBase< T, int64_t > &)
 
virtual void createUnion (const TypeSetBase< T, int64_t > &)
 
virtual void createIntersection (const TypeSetBase< T, int64_t > &)
 Only keeps common items. More...
 
virtual void createDifference (const TypeSetBase< T, int64_t > &, 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, int64_t > &)
 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, int64_t > & 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 ()
 

Additional Inherited Members

- Public Types inherited from TypeSetBase< T, int64_t >
typedef int64_t size_type
 
typedef T object_type
 
- Protected Member Functions inherited from TypeSetBase< T, int64_t >
 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 inherited from TypeSetBase< T, int64_t >
VectorAccess< T, int64_t > vec_
 

Detailed Description

template<class T>
class LargeValVec< T >

Large Value Vector.

Constructor & Destructor Documentation

template<class T>
LargeValVec< T >::LargeValVec ( )
inline
template<class T>
LargeValVec< T >::LargeValVec ( int64_t  nr,
typ 
)
inline
template<class T>
LargeValVec< T >::LargeValVec ( const T *  t,
int64_t  nr 
)
inline
template<class T>
LargeValVec< T >::LargeValVec ( const TypeSet< T > &  t)
inline

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019