Inherits OD::Set.
Inherited by LargeValVec< od_uint64 >, LargeValVec< float >, LargeValVec< idx_type >, TypeSet< uiDirLightDlg::InitInfo >, TypeSet< uiDataPointSet::DColID >, TypeSet< SelectionArea >, TypeSet< Geom::Size2D >, TypeSet< EM::PosID >, TypeSet< VT >, TypeSet< DAGTriangleTree::DAGTriangle >, TypeSet< xT >, TypeSet< Attrib::Scaling::Trend >, TypeSet< TypeSet< Interval< float > > >, TypeSet< ColTab::MapperSetup >, TypeSet< std::pair< VT, AVT > >, TypeSet< Seis::PosKey >, TypeSet< double >, TypeSet< PlotAnnotation >, TypeSet< TypeSet< int > >, TypeSet< Color >, TypeSet< ProviderCreater >, TypeSet< Interval< float > >, TypeSet< CallBack >, TypeSet< Point2D< double > >, TypeSet< WeakPtr< T > >, TypeSet< GlobExpr >, TypeSet< Geom::Point2D< T > >, TypeSet< Math::Formula::InpDef >, TypeSet< Line2DInterSection::Point >, TypeSet< EM::ObjectID >, TypeSet< Creator >, TypeSet< BufferStringSet >, TypeSet< TrcKey >, TypeSet< BinDataDesc >, TypeSet< TrcKeyZSampling >, TypeSet< Location >, TypeSet< uiWellDahDisplay::PickData >, TypeSet< LMPropSpecificDispPars >, TypeSet< OutputSlotID >, TypeSet< VolProc::Chain::Connection >, TypeSet< PreStack::TrimStatics::Iteration >, TypeSet< od_int32 >, TypeSet< TrcKeyValue >, TypeSet< float >, TypeSet< RT >, TypeSet< WellTie::Marker >, TypeSet< IOPar >, TypeSet< uiSetupGrpCreationFunc >, TypeSet< SectionID >, TypeSet< AuxDataType >, TypeSet< FaultID >, TypeSet< Plane3 >, TypeSet< Pos::GeomID >, TypeSet< T ** >, TypeSet< int >, TypeSet< ColTab::Sequence >, TypeSet< uiGenInputFieldIdx >, TypeSet< HelpKey >, TypeSet< SamplingData< int > >, TypeSet< unsigned int >, TypeSet< FourierInterpol2D::Point >, TypeSet< KnotID >, TypeSet< Well::LoadReqs >, TypeSet< float_complex >, TypeSet< Threads::Work >, TypeSet< DataPack::ID >, TypeSet< FourierInterpol3D::Point >, TypeSet< ElasticFormula >, TypeSet< EM::SectionID >, TypeSet< MultiID >, TypeSet< FontData::StdSz >, TypeSet< Table::TargetInfo::Selection::Elem >, TypeSet< V >, TypeSet< MarkerStyle2D >, TypeSet< Coord3 >, TypeSet< Seis::DataType >, TypeSet< uiConstraint >, TypeSet< idx_type >, TypeSet< FourierInterpol1D::Point >, TypeSet< DAGTetrahedraTree::DAGTetrahedra >, TypeSet< unsigned char >, TypeSet< Geom::Point2D >, TypeSet< SeisTrcInfo::Fld >, TypeSet< GaussianNDProbDenFunc::VarDef >, TypeSet< od_int64 >, TypeSet< RowCol >, TypeSet< Attrib::TableOutput::PosAndRowIDPair >, TypeSet< Interval< double > >, TypeSet< char >, TypeSet< Geometry::ExplPlaneIntersection::PlaneIntersection >, TypeSet< GeomPosID >, TypeSet< Geom::Point2D< float > >, TypeSet< TypeSet< float > >, TypeSet< T *** >, TypeSet< TrcKeySampling >, TypeSet< SlabDimSpec >, TypeSet< StepInterval< float > >, TypeSet< GaussianNDProbDenFunc::Corr >, TypeSet< StepInterval< int > >, TypeSet< BinID >, TypeSet< Attrib::DescID >, TypeSet< SpecVar >, TypeSet< ElasticLayer >, TypeSet< visSurvey::VolumeDisplay::IsosurfaceSetting >, TypeSet< uiStoredAttribReplacer::StoredEntry >, TypeSet< MarkerStyle3D::Type >, TypeSet< uiBodyOperatorDlg::BodyOperand >, TypeSet< float * >, TypeSet< SeisInterpol::TrcPosTrl >, TypeSet< PreStackView::PSViewAppearance >, TypeSet< IdxType >, TypeSet< ::DataPack::ID >, TypeSet< Attrib::SelSpec >, TypeSet< Interval< int > >, TypeSet< Seis::GeomType >, TypeSet< MarkerStyle2D::Type >, TypeSet< OD::LineStyle >, TypeSet< DRowID >, TypeSet< InputSlotID >, TypeSet< ReflectivitySpike >, TypeSet< SamplingData< float > >, TypeSet< PosInfo::LineSet2DData::LineTrcDistStats >, TypeSet< PosInfo::CrdBidOffs >, TypeSet< Line2 >, TypeSet< PosInfo::Line2DPos >, TypeSet< Coord >, TypeSet< HdrEntryRecord >, TypeSet< TRowID >, TypeSet< QueueType >, TypeSet< ElasticModel >, TypeSet< PreStackView::GatherInfo >, TypeSet< BufferString >, TypeSet< BoolTypeSetType >, TypeSet< StickID >, TypeSet< EM::SubID >, TypeSet< Coords::AuthorityCode >, TypeSet< BinIDValueSet::SPos >, TypeSet< Attrib::InputSpec >, TypeSet< TypeSet< Interval< int > > >, TypeSet< Point2D< int > >, TypeSet< OffsetAzimuth >, TypeSet< FT >, and TypeSet< yT >.
|
virtual | ~ValVec () |
|
ValVec & | add (const T &) |
|
virtual bool | addIfNew (const T &) |
|
virtual bool | append (const T *, size_type) |
|
virtual bool | append (const ValVec &) |
|
virtual T * | arr () |
| 3rd party access More...
|
|
virtual const T * | arr () const |
|
iterator | begin () |
|
const_iterator | begin () const |
|
const_iterator | cbegin () const |
|
const_iterator | cend () const |
|
ValVec * | clone () const =0 |
|
virtual ValVec & | copy (const T *, size_type) |
|
virtual ValVec & | copy (const ValVec &) |
|
size_type | count (const T &) const |
|
virtual void | createDifference (const ValVec &, bool must_preserve_order=false) |
| Removes all items present in other set. More...
|
|
virtual void | createIntersection (const ValVec &) |
| Only keeps common items. More...
|
|
virtual void | createUnion (const ValVec &) |
|
bool | empty () const |
|
iterator | end () |
|
const_iterator | end () const |
|
virtual void | erase () |
|
T & | first () |
|
const T & | first () const |
|
T & | get (idx_type) |
|
const T & | get (idx_type) const |
|
virtual size_type | getCapacity () const |
|
idx_type | getIdx (const_iterator it) const |
|
idx_type | getIdx (iterator it) const |
|
virtual idx_type | indexOf (T, bool forward=true, idx_type start=-1) const |
|
virtual void | insert (idx_type, const T &) |
|
bool | isPresent (const T &) const |
|
T & | last () |
|
const T & | last () const |
|
size_type | max_size () const |
|
virtual void | move (idx_type from, idx_type to) |
|
virtual int64_t | nrItems () const |
|
bool | operator!= (const ValVec &oth) const |
|
ValVec & | operator+= (const T &t) |
|
ValVec & | operator-= (const T &t) |
|
ValVec & | operator= (const ValVec &oth) |
|
bool | operator== (const ValVec &) const |
|
T & | operator[] (idx_type i) |
|
const T & | operator[] (idx_type i) const |
|
T | pop () |
|
bool | push (const T &) |
|
virtual void | removeRange (idx_type from, idx_type to) |
|
virtual void | removeSingle (idx_type, bool preserver_order=true) |
|
void | replace (T, T) |
|
virtual void | reverse () |
|
void | setAll (T) |
|
virtual bool | setCapacity (size_type sz, bool withmargin) |
|
virtual bool | setSize (size_type sz, T val=T()) |
|
size_type | size () const |
|
void | swap (IT, IT) |
|
void | swap (ValVec &oth) |
|
virtual void | swapItems (int64_t i1, int64_t i2) |
|
virtual void | useIndexes (const idx_type *) |
|
virtual bool | validIdx (int64_t) const |
|
std::vector< T > & | vec () |
|
const std::vector< T > & | vec () const |
|
virtual | ~Set () |
|
bool | isEmpty () const |
|
void | setEmpty () |
|
template<class T, class IT>
class OD::ValVec< T, IT >
<>
◆ const_iterator
template<class T , class IT >
◆ const_reference
template<class T , class IT >
◆ difference_type
template<class T , class IT >
◆ idx_type
template<class T , class IT >
◆ impl_type
template<class T , class IT >
◆ iterator
template<class T , class IT >
◆ object_type
template<class T , class IT >
◆ reference
template<class T , class IT >
◆ size_type
template<class T , class IT >
◆ value_type
template<class T , class IT >
◆ ~ValVec()
template<class T , class IT >
◆ ValVec() [1/4]
template<class T , class IT >
◆ ValVec() [2/4]
template<class T , class IT >
◆ ValVec() [3/4]
template<class T , class IT >
◆ ValVec() [4/4]
template<class T , class IT >
◆ add()
template<class T , class IT >
◆ addIfNew()
template<class T , class IT >
bool OD::ValVec< T, IT >::addIfNew |
( |
const T & |
typ | ) |
|
|
inlinevirtual |
◆ append() [1/2]
template<class T , class IT >
◆ append() [2/2]
template<class T , class IT >
◆ arr() [1/2]
template<class T , class IT >
◆ arr() [2/2]
template<class T , class IT >
virtual const T* OD::ValVec< T, IT >::arr |
( |
| ) |
const |
|
inlinevirtual |
◆ begin() [1/2]
template<class T , class IT >
◆ begin() [2/2]
template<class T , class IT >
◆ cbegin()
template<class T , class IT >
◆ cend()
template<class T , class IT >
◆ clone()
template<class T , class IT >
Implements OD::Set.
Implemented in LargeValVec< T >, LargeValVec< od_uint64 >, LargeValVec< float >, LargeValVec< idx_type >, TypeSet< T >, TypeSet< uiDirLightDlg::InitInfo >, TypeSet< uiDataPointSet::DColID >, TypeSet< SelectionArea >, TypeSet< Geom::Size2D >, TypeSet< EM::PosID >, TypeSet< VT >, TypeSet< DAGTriangleTree::DAGTriangle >, TypeSet< xT >, TypeSet< Attrib::Scaling::Trend >, TypeSet< TypeSet< Interval< float > > >, TypeSet< ColTab::MapperSetup >, TypeSet< std::pair< VT, AVT > >, TypeSet< Seis::PosKey >, TypeSet< double >, TypeSet< PlotAnnotation >, TypeSet< TypeSet< int > >, TypeSet< Color >, TypeSet< ProviderCreater >, TypeSet< Interval< float > >, TypeSet< CallBack >, TypeSet< Point2D< double > >, TypeSet< WeakPtr< T > >, TypeSet< GlobExpr >, TypeSet< Geom::Point2D< T > >, TypeSet< Math::Formula::InpDef >, TypeSet< Line2DInterSection::Point >, TypeSet< EM::ObjectID >, TypeSet< Creator >, TypeSet< BufferStringSet >, TypeSet< TrcKey >, TypeSet< BinDataDesc >, TypeSet< TrcKeyZSampling >, TypeSet< Location >, TypeSet< uiWellDahDisplay::PickData >, TypeSet< LMPropSpecificDispPars >, TypeSet< OutputSlotID >, TypeSet< VolProc::Chain::Connection >, TypeSet< PreStack::TrimStatics::Iteration >, TypeSet< od_int32 >, TypeSet< TrcKeyValue >, TypeSet< float >, TypeSet< RT >, TypeSet< WellTie::Marker >, TypeSet< IOPar >, TypeSet< uiSetupGrpCreationFunc >, TypeSet< SectionID >, TypeSet< AuxDataType >, TypeSet< FaultID >, TypeSet< Plane3 >, TypeSet< Pos::GeomID >, TypeSet< T ** >, TypeSet< int >, TypeSet< ColTab::Sequence >, TypeSet< uiGenInputFieldIdx >, TypeSet< HelpKey >, TypeSet< SamplingData< int > >, TypeSet< unsigned int >, TypeSet< FourierInterpol2D::Point >, TypeSet< KnotID >, TypeSet< Well::LoadReqs >, TypeSet< float_complex >, TypeSet< Threads::Work >, TypeSet< DataPack::ID >, TypeSet< FourierInterpol3D::Point >, TypeSet< ElasticFormula >, TypeSet< EM::SectionID >, TypeSet< MultiID >, TypeSet< FontData::StdSz >, TypeSet< Table::TargetInfo::Selection::Elem >, TypeSet< V >, TypeSet< MarkerStyle2D >, TypeSet< Coord3 >, TypeSet< Seis::DataType >, TypeSet< uiConstraint >, TypeSet< idx_type >, TypeSet< FourierInterpol1D::Point >, TypeSet< DAGTetrahedraTree::DAGTetrahedra >, TypeSet< unsigned char >, TypeSet< Geom::Point2D >, TypeSet< SeisTrcInfo::Fld >, TypeSet< GaussianNDProbDenFunc::VarDef >, TypeSet< od_int64 >, TypeSet< RowCol >, TypeSet< Attrib::TableOutput::PosAndRowIDPair >, TypeSet< Interval< double > >, TypeSet< char >, TypeSet< Geometry::ExplPlaneIntersection::PlaneIntersection >, TypeSet< GeomPosID >, TypeSet< Geom::Point2D< float > >, TypeSet< TypeSet< float > >, TypeSet< T *** >, TypeSet< TrcKeySampling >, TypeSet< SlabDimSpec >, TypeSet< StepInterval< float > >, TypeSet< GaussianNDProbDenFunc::Corr >, TypeSet< StepInterval< int > >, TypeSet< BinID >, TypeSet< Attrib::DescID >, TypeSet< SpecVar >, TypeSet< ElasticLayer >, TypeSet< visSurvey::VolumeDisplay::IsosurfaceSetting >, TypeSet< uiStoredAttribReplacer::StoredEntry >, TypeSet< MarkerStyle3D::Type >, TypeSet< uiBodyOperatorDlg::BodyOperand >, TypeSet< float * >, TypeSet< SeisInterpol::TrcPosTrl >, TypeSet< PreStackView::PSViewAppearance >, TypeSet< IdxType >, TypeSet< ::DataPack::ID >, TypeSet< Attrib::SelSpec >, TypeSet< Interval< int > >, TypeSet< Seis::GeomType >, TypeSet< MarkerStyle2D::Type >, TypeSet< OD::LineStyle >, TypeSet< DRowID >, TypeSet< InputSlotID >, TypeSet< ReflectivitySpike >, TypeSet< SamplingData< float > >, TypeSet< PosInfo::LineSet2DData::LineTrcDistStats >, TypeSet< PosInfo::CrdBidOffs >, TypeSet< Line2 >, TypeSet< PosInfo::Line2DPos >, TypeSet< Coord >, TypeSet< HdrEntryRecord >, TypeSet< TRowID >, TypeSet< QueueType >, TypeSet< ElasticModel >, TypeSet< PreStackView::GatherInfo >, TypeSet< BufferString >, TypeSet< BoolTypeSetType >, TypeSet< StickID >, TypeSet< EM::SubID >, TypeSet< Coords::AuthorityCode >, TypeSet< BinIDValueSet::SPos >, TypeSet< Attrib::InputSpec >, TypeSet< TypeSet< Interval< int > > >, TypeSet< Point2D< int > >, TypeSet< OffsetAzimuth >, TypeSet< FT >, and TypeSet< yT >.
◆ copy() [1/2]
template<class T , class IT >
◆ copy() [2/2]
template<class T , class IT >
◆ count()
template<class T , class IT >
IT OD::ValVec< T, IT >::count |
( |
const T & |
typ | ) |
const |
|
inline |
◆ createDifference()
template<class T , class IT >
void OD::ValVec< T, IT >::createDifference |
( |
const ValVec< T, IT > & |
oth, |
|
|
bool |
must_preserve_order = false |
|
) |
| |
|
inlinevirtual |
Removes all items present in other set.
◆ createIntersection()
template<class T , class IT >
◆ createUnion()
template<class T , class IT >
Adds items not already there
◆ empty()
template<class T , class IT >
◆ end() [1/2]
template<class T , class IT >
◆ end() [2/2]
template<class T , class IT >
◆ erase()
template<class T , class IT >
◆ first() [1/2]
template<class T , class IT >
◆ first() [2/2]
template<class T , class IT >
◆ get() [1/2]
template<class T , class IT >
◆ get() [2/2]
template<class T , class IT >
◆ getCapacity()
template<class T , class IT >
◆ getIdx() [1/2]
template<class T , class IT >
◆ getIdx() [2/2]
template<class T , class IT >
◆ gtArr()
template<class T , class IT >
◆ indexOf()
template<class T , class IT >
◆ insert()
template<class T , class IT >
◆ isPresent()
template<class T , class IT >
bool OD::ValVec< T, IT >::isPresent |
( |
const T & |
t | ) |
const |
|
inline |
◆ last() [1/2]
template<class T , class IT >
◆ last() [2/2]
template<class T , class IT >
◆ max_size()
template<class T , class IT >
◆ move()
template<class T , class IT >
◆ nrItems()
template<class T , class IT >
virtual int64_t OD::ValVec< T, IT >::nrItems |
( |
| ) |
const |
|
inlinevirtual |
◆ operator!=()
template<class T , class IT >
◆ operator+=()
template<class T , class IT >
◆ operator-=()
template<class T , class IT >
◆ operator=()
template<class T , class IT >
◆ operator==()
template<class T , class IT >
◆ operator[]() [1/2]
template<class T , class IT >
◆ operator[]() [2/2]
template<class T , class IT >
◆ pop()
template<class T , class IT >
◆ push()
template<class T , class IT >
◆ removeRange()
template<class T , class IT >
◆ removeSingle()
template<class T , class IT >
◆ replace()
template<class T , class IT >
void OD::ValVec< T, IT >::replace |
( |
T |
val, |
|
|
T |
newval |
|
) |
| |
|
inline |
◆ reverse()
template<class T , class IT >
◆ setAll()
template<class T , class IT >
◆ setCapacity()
template<class T , class IT >
Allocates mem only, no size() change
◆ setSize()
template<class T , class IT >
- Parameters
-
sz | number of new items |
val | value assigned to new items |
◆ size()
template<class T , class IT >
◆ swap() [1/2]
template<class T , class IT >
void OD::ValVec< T, IT >::swap |
( |
IT |
idx1, |
|
|
IT |
idx2 |
|
) |
| |
|
inline |
◆ swap() [2/2]
template<class T , class IT >
◆ swapItems()
template<class T , class IT >
virtual void OD::ValVec< T, IT >::swapItems |
( |
int64_t |
i1, |
|
|
int64_t |
i2 |
|
) |
| |
|
inlinevirtual |
◆ useIndexes()
template<class T , class IT >
◆ validIdx()
template<class T , class IT >
bool OD::ValVec< T, IT >::validIdx |
( |
int64_t |
vidx | ) |
const |
|
inlinevirtual |
◆ vec() [1/2]
template<class T , class IT >
◆ vec() [2/2]
template<class T , class IT >
◆ vec_
template<class T , class IT >