Logo Search packages:      
Sourcecode: massxpert version File versions

massXpert::PolChemDefEntity::PolChemDefEntity ( const PolChemDef polChemDef,
const QString &  name = QString("NOT_SET") 
)

Constructs a polymer chemistry definition entity.

Parameters:
polChemDef reference polymer chemistry definition. This pointer cannot be 0.
name name of the entity.

Definition at line 54 of file polChemDefEntity.cpp.

References m_name, and mp_polChemDef.

Referenced by clone().

  {
    Q_ASSERT(polChemDef);
    mp_polChemDef = polChemDef;
  
    Q_ASSERT(!name.isEmpty());
    m_name = name;
  }


Generated by  Doxygen 1.6.0   Back to index