rheolef  6.3
Public Types | Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
rheolef::geo_element_indirect Class Reference

#include <geo_element_indirect.h>

Public Types

typedef size_t size_type
typedef short int orientation_type
typedef short int shift_type

Public Member Functions

 geo_element_indirect ()
 geo_element_indirect (orientation_type orient, size_type ige, size_type shift=0)
size_type index () const
orientation_type orientation () const
shift_type shift () const
void set_orientation (orientation_type orient)
void set_shift (size_type shift)
void set_index (size_type ige)
void set (orientation_type orient, size_type ige, size_type shift=0)
void dump (std::ostream &out=std::clog) const
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Protected Attributes

size_type _all

Static Protected Attributes

static const size_type orient_position = 8*sizeof(size_type)-1
static const size_type orient_mask = (size_type(1) << orient_position)
static const size_type shift_position = 8*sizeof(size_type)-4
static const size_type shift_mask
static const size_type index_mask = ~(orient_mask | shift_mask)

Detailed Description

Definition at line 8 of file geo_element_indirect.h.

Member Typedef Documentation

Definition at line 12 of file geo_element_indirect.h.

Definition at line 13 of file geo_element_indirect.h.

Definition at line 14 of file geo_element_indirect.h.

Constructor & Destructor Documentation

rheolef::geo_element_indirect::geo_element_indirect ( )
inline

Definition at line 17 of file geo_element_indirect.h.

rheolef::geo_element_indirect::geo_element_indirect ( orientation_type  orient,
size_type  ige,
size_type  shift = 0 
)
inline

Definition at line 19 of file geo_element_indirect.h.

Member Function Documentation

size_type rheolef::geo_element_indirect::index ( ) const
inline

Definition at line 24 of file geo_element_indirect.h.

orientation_type rheolef::geo_element_indirect::orientation ( ) const
inline

Definition at line 25 of file geo_element_indirect.h.

shift_type rheolef::geo_element_indirect::shift ( ) const
inline

Definition at line 26 of file geo_element_indirect.h.

void rheolef::geo_element_indirect::set_orientation ( orientation_type  orient)
inline

Definition at line 29 of file geo_element_indirect.h.

void rheolef::geo_element_indirect::set_shift ( size_type  shift)
inline

Definition at line 33 of file geo_element_indirect.h.

void rheolef::geo_element_indirect::set_index ( size_type  ige)
inline

Definition at line 37 of file geo_element_indirect.h.

void rheolef::geo_element_indirect::set ( orientation_type  orient,
size_type  ige,
size_type  shift = 0 
)
inline

Definition at line 41 of file geo_element_indirect.h.

void rheolef::geo_element_indirect::dump ( std::ostream &  out = std::clog) const
inline

Definition at line 49 of file geo_element_indirect.h.

template<class Archive >
void rheolef::geo_element_indirect::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

Definition at line 57 of file geo_element_indirect.h.

Member Data Documentation

const size_type rheolef::geo_element_indirect::orient_position = 8*sizeof(size_type)-1
staticprotected

Definition at line 62 of file geo_element_indirect.h.

const size_type rheolef::geo_element_indirect::orient_mask = (size_type(1) << orient_position)
staticprotected

Definition at line 63 of file geo_element_indirect.h.

const size_type rheolef::geo_element_indirect::shift_position = 8*sizeof(size_type)-4
staticprotected

Definition at line 65 of file geo_element_indirect.h.

const size_type rheolef::geo_element_indirect::shift_mask
staticprotected
Initial value:

Definition at line 66 of file geo_element_indirect.h.

const size_type rheolef::geo_element_indirect::index_mask = ~(orient_mask | shift_mask)
staticprotected

Definition at line 71 of file geo_element_indirect.h.

size_type rheolef::geo_element_indirect::_all
protected

Definition at line 74 of file geo_element_indirect.h.


The documentation for this class was generated from the following file: