Base class for TypeSet, usually not used as such.
More...
Inherits OD::Set.
Inherited by TypeSet< ::DataPack::ID >, TypeSet< Attrib::DescID >, TypeSet< Attrib::InputSpec >, TypeSet< Attrib::Scaling::Trend >, TypeSet< Attrib::SelSpec >, TypeSet< AuxDataType >, TypeSet< BinDataDesc >, TypeSet< BinID >, TypeSet< BinIDValueSet::SPos >, TypeSet< BlockIdxType >, TypeSet< BodyOperand >, TypeSet< bool ** >, TypeSet< BoolTypeSetType >, TypeSet< BufferString >, TypeSet< BufferStringSet >, TypeSet< CallBack >, TypeSet< char >, TypeSet< Color >, TypeSet< CompType >, TypeSet< ConstRefMan< ColTab::Mapper > >, TypeSet< ConstRefMan< ColTab::Sequence > >, TypeSet< ConstRefMan< Well::Data > >, TypeSet< CreateFunc >, TypeSet< Creator >, TypeSet< DAGTetrahedraTree::DAGTetrahedra >, TypeSet< DAGTriangleTree::DAGTriangle >, TypeSet< DataPack::FullID >, TypeSet< DataPack::ID >, TypeSet< DBKey >, TypeSet< DirtyCounter >, TypeSet< double >, TypeSet< DRowID >, TypeSet< ElasticFormula >, TypeSet< ElasticLayer >, TypeSet< ElasticModel >, TypeSet< EM::ObjectID >, TypeSet< EM::PosID >, TypeSet< EM::SectionID >, TypeSet< EM::SubID >, TypeSet< FileIdxType >, TypeSet< FileOffsType >, TypeSet< float ** >, TypeSet< float >, TypeSet< float_complex ** >, TypeSet< float_complex >, TypeSet< FontData::StdSz >, TypeSet< FT >, TypeSet< GatherInfo >, TypeSet< GaussianNDProbDenFunc::Corr >, TypeSet< GaussianNDProbDenFunc::VarDef >, TypeSet< Geom::Point2D >, TypeSet< Geom::Point2D< double > >, TypeSet< Geom::Point2D< float > >, TypeSet< Geom::Point2D< int > >, TypeSet< Geom::Point2D< T > >, TypeSet< Geom::Point3D >, TypeSet< Geom::Size2D >, TypeSet< Geometry::ExplPlaneIntersection::PlaneIntersection >, TypeSet< Geometry::IndexedGeometry * >, TypeSet< GeomPosID >, TypeSet< GlobExpr >, TypeSet< IdxType >, TypeSet< InitInfoType >, TypeSet< InputSlotID >, TypeSet< int >, TypeSet< int64_t >, TypeSet< IntegerID >, TypeSet< Interval< double > >, TypeSet< Interval< float > >, TypeSet< Interval< int > >, TypeSet< KeyIdxType >, TypeSet< KnotID >, TypeSet< LevelID >, TypeSet< Line2 >, TypeSet< Line2DInterSection::Line2DInterSection::Point >, TypeSet< LineTrcDistStats >, TypeSet< LMPropSpecificDispPars >, TypeSet< LoadState >, TypeSet< LocID >, TypeSet< LogID >, TypeSet< LVLZVals >, TypeSet< MarchingCubesModel >, TypeSet< MarkerID >, TypeSet< Math::Formula::InpDef >, TypeSet< OD::LineStyle >, TypeSet< OD::MarkerStyle2D >, TypeSet< OD::PlotAnnotation >, TypeSet< OD::PresentationManager::SyncInfo >, TypeSet< od_int32 >, TypeSet< od_int64 >, TypeSet< OffsetAzimuth >, TypeSet< OutputSlotID >, TypeSet< Pick::Location >, TypeSet< PickData >, TypeSet< Plane3 >, TypeSet< Point >, TypeSet< Point2D< double > >, TypeSet< Pos::GeomID >, TypeSet< PosInfo::CrdBidOffs >, TypeSet< PosInfo::Line2DPos >, TypeSet< PosType >, TypeSet< PreStack::EventSet * >, TypeSet< PreStack::TrimStatics::Iteration >, TypeSet< PreStackView::PSViewAppearance >, TypeSet< ProviderCreater >, TypeSet< QueueType >, TypeSet< ReflectivitySpike >, TypeSet< RowCol >, TypeSet< SamplingData< float > >, TypeSet< SamplingData< int > >, TypeSet< SectionID >, TypeSet< Seis::DataType >, TypeSet< Seis::PosKey >, TypeSet< SeisTrcInfo::Fld >, TypeSet< SelectionArea >, TypeSet< SpecVar >, TypeSet< SPos >, TypeSet< std::pair< VT, AVT > >, TypeSet< StepInterval< float > >, TypeSet< StepInterval< int > >, TypeSet< StickID >, TypeSet< StratSynthLevel * >, TypeSet< T ** >, TypeSet< Table::TargetInfo::Selection::Elem >, TypeSet< Threads::Work >, TypeSet< TranspPtType >, TypeSet< TrcKey >, TypeSet< TrcKeySampling >, TypeSet< TrcKeyValue >, TypeSet< TrcKeyZSampling >, TypeSet< TRowID >, TypeSet< TypeSet< CreateFunc > >, TypeSet< TypeSet< float > >, TypeSet< TypeSet< Geom::Point3D > >, TypeSet< TypeSet< int > >, TypeSet< TypeSet< int64_t > >, TypeSet< TypeSet< Interval< float > > >, TypeSet< TypeSet< Interval< int > > >, TypeSet< uiDataPointSet::DColID >, TypeSet< uiGenInputFieldIdx >, TypeSet< uiSetupGrpCreationFunc >, TypeSet< uiStoredAttribReplacer::StoredEntry >, TypeSet< unsigned char >, TypeSet< unsigned int >, TypeSet< V >, TypeSet< Vel::Pick >, TypeSet< visSurvey::VolumeDisplay::IsosurfaceSetting >, TypeSet< VolProc::Chain::Connection >, TypeSet< VT >, TypeSet< Well::Marker >, TypeSet< WellTie::Marker >, TypeSet< xT >, TypeSet< yT >, and TypeSet< ZType >.
|
| 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 & | get (size_type) |
| |
| const T & | get (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 () |
| |
| 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 | reverse () |
| |
| virtual void | erase () |
| |
| virtual void | removeSingle (size_type, bool preserver_order=true) |
| |
| 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 |
| |
| T & | operator[] (size_type i) |
| |
| const T & | operator[] (size_type i) const |
| |
| TypeSetBase< T, I > & | operator+= (const T &t) |
| |
| TypeSetBase< T, I > & | operator-= (const T &t) |
| |
| virtual | ~Set () |
| |
| bool | isEmpty () const |
| |
| void | setEmpty () |
| |
template<class T, class I>
class TypeSetBase< T, I >
Base class for TypeSet, usually not used as such.
template<class T, class I>
template<class T, class I>
template<class T , class I >
template<class T , class I >
template<class T, class I >
template<class T, class I >
template<class T, class I >
template<class T, class I >
template<class T, class I >
template<class T, class I >
template<class T, class I>
template<class T, class I>
template<class T, class I>
template<class T, class I >
template<class T, class I>
template<class T, class I >
template<class T, class I>
| void TypeSetBase< T, I >::createDifference |
( |
const TypeSetBase< T, I > & |
ts, |
|
|
bool |
must_preserve_order = false |
|
) |
| |
|
inlinevirtual |
Removes all items present in other set.
template<class T, class I>
template<class T, class I>
Adds items not already there
template<class T , class I >
template<class T , class I >
template<class T , class I >
template<class T , class I >
template<class T , class I >
template<class T , class I >
template<class T , class I >
template<class T, class I >
template<class T, class I >
template<class T, class I >
| bool TypeSetBase< T, I >::isPresent |
( |
const T & |
t | ) |
const |
|
inline |
template<class T , class I >
template<class T , class I >
template<class T , class I >
template<class T, class I>
template<class T, class I>
template<class T, class I >
template<class T, class I>
template<class T, class I>
template<class T, class I>
template<class T , class I >
template<class T, class I >
template<class T , class I >
template<class T , class I >
template<class T, class I >
template<class T , class I >
template<class T, class I >
template<class T , class I >
Allocates mem only, no size() change
template<class T, class I >
- Parameters
-
| val | value assigned to new items |
template<class T , class I >
template<class T , class I >
| void TypeSetBase< T, I >::swap |
( |
int64_t |
idx0, |
|
|
int64_t |
idx1 |
|
) |
| |
|
inlinevirtual |
template<class T , class I >
| bool TypeSetBase< T, I >::validIdx |
( |
int64_t |
idx | ) |
const |
|
inlinevirtual |
template<class T , class I >
template<class T , class I >
| const std::vector< T > & TypeSetBase< T, I >::vec |
( |
| ) |
const |
|
inline |
template<class T, class I>