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< OD::Color >, TypeSet< xT >, TypeSet< Attrib::Scaling::Trend >, TypeSet< TypeSet< Interval< float > > >, TypeSet< ColTab::MapperSetup >, TypeSet< std::pair< VT, AVT > >, TypeSet< Seis::PosKey >, TypeSet< PlotAnnotation >, TypeSet< double >, TypeSet< TypeSet< int > >, TypeSet< ProviderCreater >, TypeSet< Interval< float > >, TypeSet< Horizon2DDataHolder >, TypeSet< CallBack >, TypeSet< Point2D< double > >, TypeSet< BufferStringSet >, TypeSet< GlobExpr >, TypeSet< Pick::Location >, TypeSet< Geom::Point2D< T > >, TypeSet< Line2DInterSection::Point >, TypeSet< Creator >, TypeSet< EM::ObjectID >, TypeSet< TrcKey >, TypeSet< BinDataDesc >, TypeSet< TrcKeyZSampling >, TypeSet< uiWellDahDisplay::PickData >, TypeSet< OutputSlotID >, TypeSet< VolProc::Chain::Connection >, TypeSet< PreStack::TrimStatics::Iteration >, TypeSet< od_int32 >, TypeSet< TrcKeyValue >, TypeSet< float >, TypeSet< RT >, TypeSet< WellTie::Marker >, TypeSet< SynthGenParams >, TypeSet< VisID >, TypeSet< uiSetupGrpCreationFunc >, TypeSet< AuxDataType >, 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< DataPack::FullID >, TypeSet< Threads::Work >, TypeSet< FourierInterpol3D::Point >, 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< IntegerID< std::int32_t > >, TypeSet< DAGTetrahedraTree::DAGTetrahedra >, TypeSet< unsigned char >, TypeSet< Geom::Point2D >, TypeSet< Strat::LithologyID >, TypeSet< PropType >, TypeSet< SeisTrcInfo::Fld >, TypeSet< GaussianNDProbDenFunc::VarDef >, TypeSet< od_int64 >, TypeSet< RowCol >, 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< Network::Service::ID >, TypeSet< BinID >, TypeSet< Attrib::DescID >, TypeSet< SpecVar >, TypeSet< visSurvey::VolumeDisplay::IsosurfaceSetting >, TypeSet< IntegerID< od_int32 > >, TypeSet< uiStoredAttribReplacer::StoredEntry >, TypeSet< MarkerStyle3D::Type >, TypeSet< uiBodyOperatorDlg::BodyOperand >, TypeSet< Status >, TypeSet< SeisInterpol::TrcPosTrl >, TypeSet< PreStackView::PSViewAppearance >, TypeSet< IdxType >, TypeSet< block_idx_type >, TypeSet< Attrib::SelSpec >, TypeSet< Interval< int > >, TypeSet< TypeSet< VisID > >, TypeSet< Seis::GeomType >, TypeSet< MarkerStyle2D::Type >, TypeSet< OD::LineStyle >, TypeSet< DRowID >, TypeSet< InputSlotID >, TypeSet< SynthID >, TypeSet< PosInfo::LineSet2DData::LineTrcDistStats >, TypeSet< PosInfo::CrdBidOffs >, TypeSet< Line2 >, TypeSet< Coord >, TypeSet< PosInfo::Line2DPos >, TypeSet< SamplingData< float > >, TypeSet< HdrEntryRecord >, TypeSet< TRowID >, TypeSet< QueueType >, TypeSet< PreStackView::GatherInfo >, TypeSet< BufferString >, TypeSet< BoolTypeSetType >, TypeSet< EM::SubID >, 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 override=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 |
|
void | erase () override |
|
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) |
|
std::int64_t | nrItems () const override |
|
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) |
|
void | reverse () override |
|
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) |
|
void | swapItems (std::int64_t i1, std::int64_t i2) override |
|
virtual void | useIndexes (const idx_type *) |
|
bool | validIdx (std::int64_t) const override |
|
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< OD::Color >, TypeSet< xT >, TypeSet< Attrib::Scaling::Trend >, TypeSet< TypeSet< Interval< float > > >, TypeSet< ColTab::MapperSetup >, TypeSet< std::pair< VT, AVT > >, TypeSet< Seis::PosKey >, TypeSet< PlotAnnotation >, TypeSet< double >, TypeSet< TypeSet< int > >, TypeSet< ProviderCreater >, TypeSet< Interval< float > >, TypeSet< Horizon2DDataHolder >, TypeSet< CallBack >, TypeSet< Point2D< double > >, TypeSet< BufferStringSet >, TypeSet< GlobExpr >, TypeSet< Pick::Location >, TypeSet< Geom::Point2D< T > >, TypeSet< Line2DInterSection::Point >, TypeSet< Creator >, TypeSet< EM::ObjectID >, TypeSet< TrcKey >, TypeSet< BinDataDesc >, TypeSet< TrcKeyZSampling >, TypeSet< uiWellDahDisplay::PickData >, TypeSet< OutputSlotID >, TypeSet< VolProc::Chain::Connection >, TypeSet< PreStack::TrimStatics::Iteration >, TypeSet< od_int32 >, TypeSet< TrcKeyValue >, TypeSet< float >, TypeSet< RT >, TypeSet< WellTie::Marker >, TypeSet< SynthGenParams >, TypeSet< VisID >, TypeSet< uiSetupGrpCreationFunc >, TypeSet< AuxDataType >, 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< DataPack::FullID >, TypeSet< Threads::Work >, TypeSet< FourierInterpol3D::Point >, 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< IntegerID< std::int32_t > >, TypeSet< DAGTetrahedraTree::DAGTetrahedra >, TypeSet< unsigned char >, TypeSet< Geom::Point2D >, TypeSet< Strat::LithologyID >, TypeSet< PropType >, TypeSet< SeisTrcInfo::Fld >, TypeSet< GaussianNDProbDenFunc::VarDef >, TypeSet< od_int64 >, TypeSet< RowCol >, 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< Network::Service::ID >, TypeSet< BinID >, TypeSet< Attrib::DescID >, TypeSet< SpecVar >, TypeSet< visSurvey::VolumeDisplay::IsosurfaceSetting >, TypeSet< IntegerID< od_int32 > >, TypeSet< uiStoredAttribReplacer::StoredEntry >, TypeSet< MarkerStyle3D::Type >, TypeSet< uiBodyOperatorDlg::BodyOperand >, TypeSet< Status >, TypeSet< SeisInterpol::TrcPosTrl >, TypeSet< PreStackView::PSViewAppearance >, TypeSet< IdxType >, TypeSet< block_idx_type >, TypeSet< Attrib::SelSpec >, TypeSet< Interval< int > >, TypeSet< TypeSet< VisID > >, TypeSet< Seis::GeomType >, TypeSet< MarkerStyle2D::Type >, TypeSet< OD::LineStyle >, TypeSet< DRowID >, TypeSet< InputSlotID >, TypeSet< SynthID >, TypeSet< PosInfo::LineSet2DData::LineTrcDistStats >, TypeSet< PosInfo::CrdBidOffs >, TypeSet< Line2 >, TypeSet< Coord >, TypeSet< PosInfo::Line2DPos >, TypeSet< SamplingData< float > >, TypeSet< HdrEntryRecord >, TypeSet< TRowID >, TypeSet< QueueType >, TypeSet< PreStackView::GatherInfo >, TypeSet< BufferString >, TypeSet< BoolTypeSetType >, TypeSet< EM::SubID >, 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 >
std::int64_t OD::ValVec< T, IT >::nrItems |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ 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 >
void OD::ValVec< T, IT >::swapItems |
( |
std::int64_t |
i1, |
|
|
std::int64_t |
i2 |
|
) |
| |
|
inlineoverridevirtual |
◆ useIndexes()
template<class T , class IT >
◆ validIdx()
template<class T , class IT >
bool OD::ValVec< T, IT >::validIdx |
( |
std::int64_t |
vidx | ) |
const |
|
inlineoverridevirtual |
◆ vec() [1/2]
template<class T , class IT >
◆ vec() [2/2]
template<class T , class IT >
◆ vec_
template<class T , class IT >