Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Friends

Strat::Lithology Class Reference

a name and an ID. More...

Inheritance diagram for Strat::Lithology:
NamedObject CallBacker

List of all members.

Public Types

typedef int ID

Public Member Functions

 Lithology (ID id, const char *nm, bool por=false)
 Lithology (const Lithology &l)
Lithologyoperator= (const Lithology &)
bool operator== (const Lithology &l) const
bool isUdf () const
ID id () const
bool & porous ()
bool porous () const
 Lithology (const char *)
void fill (BufferString &) const

Static Public Member Functions

static bool isUdf (ID id)
static const Lithologyundef ()

Protected Attributes

const ID id_
bool porous_

Friends

class LithologySet

Detailed Description

a name and an ID.

The reason we don't manage the ID is that user may have their own IDs. For example, it may correspond with a lithology log value.


Member Typedef Documentation

typedef int Strat::Lithology::ID

Constructor & Destructor Documentation

Strat::Lithology::Lithology ( ID  id,
const char *  nm,
bool  por = false 
)
Strat::Lithology::Lithology ( const Lithology l  )  [inline]
Strat::Lithology::Lithology ( const char *   ) 

Member Function Documentation

void Strat::Lithology::fill ( BufferString  )  const
ID Strat::Lithology::id (  )  const [inline]
bool Strat::Lithology::isUdf (  )  const [inline]
static bool Strat::Lithology::isUdf ( ID  id  )  [inline, static]
Lithology& Strat::Lithology::operator= ( const Lithology  ) 
bool Strat::Lithology::operator== ( const Lithology l  )  const [inline]
bool Strat::Lithology::porous (  )  const [inline]
bool& Strat::Lithology::porous (  )  [inline]
static const Lithology& Strat::Lithology::undef (  )  [static]

Friends And Related Function Documentation

friend class LithologySet [friend]

Member Data Documentation

const ID Strat::Lithology::id_ [protected]
bool Strat::Lithology::porous_ [protected]