OpendTect  6.3
Classes | Macros
integerid.h File Reference
Include dependency graph for integerid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TypeSet< T >
 Set of (small) copyable elements. More...
 
class  IntegerID< IntType >
 single integer ID with comparison but no automatic conversion. Note that you will want to make a subclass to make the IDs specific for your class. Therefore, use the mDefIntegerID macro. More...
 

Macros

#define mDefIntegerIDType(IntType, classname)
 

Macro Definition Documentation

#define mDefIntegerIDType (   IntType,
  classname 
)
Value:
\
class classname : public IntegerID<IntType> \
{ \
public: \
\
inline classname() {} \
\
static inline classname get( IntType i ) \
{ return classname(i); } \
\
inline bool operator ==( const classname& oth ) const \
inline bool operator !=( const classname& oth ) const \
\
static inline classname getInvalid() { return classname(-1); } \
\
protected: \
\
inline classname( IntType i ) \
\
friend class TypeSet<classname>; \
\
}
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:51
bool operator==(const IntegerID &oth) const
Definition: integerid.h:60
single integer ID with comparison but no automatic conversion. Note that you will want to make a subc...
Definition: integerid.h:47
bool operator!=(const IntegerID &oth) const
Definition: integerid.h:62
Set of (small) copyable elements.
Definition: commontypes.h:26
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:60

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