CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
DCCTBDataField Class Reference

#include <DCCDataMapper.h>

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_.

26  {
28  }
std::string name()
Definition: DCCDataMapper.h:34
uint32_t mask_
Definition: DCCDataMapper.h:51
uint32_t bitPosition()
Definition: DCCDataMapper.h:38
uint32_t mask()
Definition: DCCDataMapper.h:40
uint32_t bitPosition_
Definition: DCCDataMapper.h:50
uint32_t wordPosition()
Definition: DCCDataMapper.h:36
std::string name_
Definition: DCCDataMapper.h:45
uint32_t wordPosition_
Definition: DCCDataMapper.h:49
DCCTBDataField::~DCCTBDataField ( )
inline

Class destructor

Definition at line 45 of file DCCDataMapper.h.

45 { };

Member Function Documentation

uint32_t DCCTBDataField::bitPosition ( )
inline

Definition at line 38 of file DCCDataMapper.h.

References bitPosition_.

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

38 { return bitPosition_; }
uint32_t bitPosition_
Definition: DCCDataMapper.h:50
uint32_t DCCTBDataField::mask ( )
inline

Definition at line 40 of file DCCDataMapper.h.

References mask_.

Referenced by DCCTBDataField().

40 { return mask_; }
uint32_t mask_
Definition: DCCDataMapper.h:51
std::string DCCTBDataField::name ( void  )
inline

Definition at line 34 of file DCCDataMapper.h.

References name_.

Referenced by DCCTBDataField(), and python.Vispa.Views.PropertyView.Property::valueChanged().

34 { return name_; }
std::string name_
Definition: DCCDataMapper.h:45
void DCCTBDataField::setBitPosition ( uint32_t  bitpos)
inline

Definition at line 37 of file DCCDataMapper.h.

References bitPosition_.

37 { bitPosition_ = bitpos; }
uint32_t bitPosition_
Definition: DCCDataMapper.h:50
void DCCTBDataField::setMask ( uint32_t  maskvalue)
inline

Definition at line 39 of file DCCDataMapper.h.

References mask_.

39 { mask_=maskvalue; }
uint32_t mask_
Definition: DCCDataMapper.h:51
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_.

Referenced by python.Vispa.Gui.PortWidget.PortWidget::__init__(), and python.Vispa.Views.PropertyView.Property::__init__().

33 { name_.clear(); name_ = namestr; }
std::string name_
Definition: DCCDataMapper.h:45
void DCCTBDataField::setWordPosition ( uint32_t  wordpos)
inline

Definition at line 35 of file DCCDataMapper.h.

References wordPosition_.

35 { wordPosition_ = wordpos; }
uint32_t wordPosition_
Definition: DCCDataMapper.h:49
uint32_t DCCTBDataField::wordPosition ( )
inline

Definition at line 36 of file DCCDataMapper.h.

References wordPosition_.

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

36 { return wordPosition_; }
uint32_t wordPosition_
Definition: DCCDataMapper.h:49

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().