CMS 3D CMS Logo

Public Member Functions | Protected Attributes

DCCTBDataField Class Reference

#include <DCCDataMapper.h>

List of all members.

Public Member Functions

uint32_t bitPosition ()
 DCCTBDataField (std::string name, uint32_t wordPosition, uint32_t bitPosition, uint32_t mask)
uint32_t mask ()
std::string name ()
void setBitPosition (uint32_t bitpos)
void setMask (uint32_t maskvalue)
void setName (std::string namestr)
void setWordPosition (uint32_t wordpos)
uint32_t wordPosition ()
 ~DCCTBDataField ()

Protected Attributes

uint32_t bitPosition_
uint32_t mask_
std::string name_
uint32_t wordPosition_

Detailed Description

Definition at line 21 of file DCCDataMapper.h.


Constructor & Destructor Documentation

DCCTBDataField::DCCTBDataField ( std::string  name,
uint32_t  wordPosition,
uint32_t  bitPosition,
uint32_t  mask 
) [inline]

Class constructor (sets data field's characteristics)

Definition at line 26 of file DCCDataMapper.h.

References bitPosition(), bitPosition_, mask(), mask_, name(), name_, wordPosition(), and wordPosition_.

DCCTBDataField::~DCCTBDataField ( ) [inline]

Class destructor

Definition at line 45 of file DCCDataMapper.h.

{ };

Member Function Documentation

uint32_t DCCTBDataField::bitPosition ( ) [inline]

Definition at line 38 of file DCCDataMapper.h.

References bitPosition_.

Referenced by DCCTBDataField(), and DCCTBDataFieldComparator::operator()().

{ return bitPosition_;            }
uint32_t DCCTBDataField::mask ( ) [inline]

Definition at line 40 of file DCCDataMapper.h.

References mask_.

Referenced by DCCTBDataField().

{ return mask_;                   }
std::string DCCTBDataField::name ( void  ) [inline]

Definition at line 34 of file DCCDataMapper.h.

References name_.

Referenced by DCCTBDataField().

{ return name_;                   }
void DCCTBDataField::setBitPosition ( uint32_t  bitpos) [inline]

Definition at line 37 of file DCCDataMapper.h.

References bitPosition_.

{ bitPosition_ = bitpos;          }
void DCCTBDataField::setMask ( uint32_t  maskvalue) [inline]

Definition at line 39 of file DCCDataMapper.h.

References mask_.

{ mask_=maskvalue;                }
void DCCTBDataField::setName ( std::string  namestr) [inline]

Return and set methods for field's data

Definition at line 33 of file DCCDataMapper.h.

References name_.

{ name_.clear(); name_ = namestr; }
void DCCTBDataField::setWordPosition ( uint32_t  wordpos) [inline]

Definition at line 35 of file DCCDataMapper.h.

References wordPosition_.

{ wordPosition_ = wordpos;        }
uint32_t DCCTBDataField::wordPosition ( ) [inline]

Definition at line 36 of file DCCDataMapper.h.

References wordPosition_.

Referenced by DCCTBDataField(), and DCCTBDataFieldComparator::operator()().

{ return wordPosition_;           }

Member Data Documentation

uint32_t DCCTBDataField::bitPosition_ [protected]

Definition at line 50 of file DCCDataMapper.h.

Referenced by bitPosition(), DCCTBDataField(), and setBitPosition().

uint32_t DCCTBDataField::mask_ [protected]

Definition at line 51 of file DCCDataMapper.h.

Referenced by DCCTBDataField(), mask(), and setMask().

std::string DCCTBDataField::name_ [protected]

Definition at line 45 of file DCCDataMapper.h.

Referenced by DCCTBDataField(), name(), and setName().

uint32_t DCCTBDataField::wordPosition_ [protected]

Definition at line 49 of file DCCDataMapper.h.

Referenced by DCCTBDataField(), setWordPosition(), and wordPosition().