OpendTect  7.0
Public Member Functions | List of all members
Strat::ContentSet Class Reference

set of names for stuff that can be inside porous layers More...

Inheritance diagram for Strat::ContentSet:
[legend]

Public Member Functions

 ContentSet ()
 
 ~ContentSet ()
 
ContentgetByName (const char *s)
 
const ContentgetByName (const char *s) const
 
const ContentgetContent (const char *s) const
 
int getIndexOf (const char *) const
 
- Public Member Functions inherited from ObjectSet< Content >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (Content *)
 
 ObjectSet (Content *, Content *)
 
 ObjectSet (Content *, Content *, Content *)
 
virtual ~ObjectSet ()
 
ObjectSetadd (Content *t)
 
bool addIfNew (Content *)
 
void allowNull (bool yn=true)
 
virtual void append (const ObjectSet &)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
ObjectSetclone () const override
 
virtual void copy (const ObjectSet &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase () override
 
Content * first ()
 
const Content * first () const
 
virtual Content * get (const Content *) const
 check & unconst More...
 
virtual Content * get (idx_type)
 
virtual const Content * get (idx_type) const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const Content *) const
 
virtual void insertAfter (Content *newptr, idx_type)
 
virtual void insertAt (Content *newptr, idx_type)
 
virtual bool isManaged () const
 
virtual bool isPresent (const Content *) const
 
Content * last ()
 
const Content * last () const
 
size_type max_size () const
 
std::int64_t nrItems () const override
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (Content *t)
 
virtual ObjectSetoperator-= (Content *)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const Content * operator[] (const Content *t) const
 
Content * operator[] (idx_type i)
 
const Content * operator[] (idx_type i) const
 
void plainErase ()
 
virtual Content * pop ()
 
void push (Content *t)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual Content * removeSingle (idx_type, bool keep_order=true)
 
virtual Content * replace (idx_type, Content *)
 
void reverse () override
 
void setNullAllowed (bool yn=true)
 
size_type size () const
 
void swap (idx_type, idx_type)
 
void swap (ObjectSet &oth)
 
void swapItems (std::int64_t i1, std::int64_t i2) override
 
void useIndexes (const idx_type *)
 
bool validIdx (std::int64_t) const override
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Additional Inherited Members

- Public Types inherited from ObjectSet< Content >
typedef impl_type::const_iterator const_iterator
 
typedef const value_typeconst_reference
 
typedef size_type difference_type
 
typedef size_type idx_type
 
typedef impl_type::iterator iterator
 
typedef Content object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef Content * value_type
 
- Static Public Member Functions inherited from OD::Set
static std::int32_t maxIdx32 ()
 
static std::int64_t maxIdx64 ()
 
- Protected Types inherited from ObjectSet< Content >
typedef VectorAccess< Content *, size_typeimpl_type
 
- Protected Member Functions inherited from ObjectSet< Content >
virtual ObjectSetdoAdd (Content *)
 
- Protected Attributes inherited from ObjectSet< Content >
bool allow0_
 
impl_type vec_
 

Detailed Description

set of names for stuff that can be inside porous layers

<>

Constructor & Destructor Documentation

◆ ContentSet()

Strat::ContentSet::ContentSet ( )

◆ ~ContentSet()

Strat::ContentSet::~ContentSet ( )

Member Function Documentation

◆ getByName() [1/2]

Content* Strat::ContentSet::getByName ( const char *  s)
inline

◆ getByName() [2/2]

const Content* Strat::ContentSet::getByName ( const char *  s) const
inline

◆ getContent()

const Content& Strat::ContentSet::getContent ( const char *  s) const
inline

◆ getIndexOf()

int Strat::ContentSet::getIndexOf ( const char *  ) const

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