SBMStructuralModelEvent Class Reference

This class describe a structural event.

Event types

enum  Type {
  AtomAdded,
  AtomRemoved,
  AtomTypeChanged,
  AtomNameChanged,
  AtomAltLocationChanged,
  AtomChainChanged,
  AtomInsertionCodeChanged,
  AtomSerialNumberChanged,
  AtomOccupancyChanged,
  AtomRecordTypeChanged,
  AtomResidueNameChanged,
  AtomResidueSequenceNumberChanged,
  AtomSegmentChanged,
  AtomPartialChargeChanged,
  AtomTemperatureFactorChanged,
  AtomFormalChargeChanged,
  AtomCommentChanged,
  AtomSYBYLTypeChanged,
  AtomStatusBitChanged,
  AtomMoleculeNameChanged,
  AtomSubstructureNameChanged,
  AtomSubstructureSequenceNumberChanged,
  AtomAnisotropicTFactorsChanged,
  AtomChainIDChanged,
  AtomOxydationStateChanged,
  AtomHybridizationChanged,
  AtomResonanceChanged,
  AtomAromaticityChanged,
  AtomElementChanged,
  AtomWaterFlagChanged,
  AtomCustomTypeChanged,
  BondAdded,
  BondRemoved,
  BondConnected,
  BondDisconnected,
  BondOrderChanged,
  BondTypeChanged,
  BondStatusBitChanged,
  BondCustomTypeChanged,
  ResidueAdded,
  ResidueRemoved,
  BackboneAdded,
  BackboneRemoved,
  SideChainAdded,
  SideChainRemoved,
  SegmentAdded,
  SegmentRemoved,
  ChainAdded,
  ChainRemoved,
  MoleculeAdded,
  MoleculeRemoved,
  StructuralGroupAdded,
  StructuralGroupRemoved,
  StructuralGroupCommentChanged,
  StructuralGroupStatusBitChanged,
  ParticlePositionChanged,
  ParticleMassChanged,
  MobilityFlagChanged,
  TitleInformationChanged,
  PrimaryStructureInformationChanged,
  HeterogenInformationChanged,
  SecondaryStructureInformationChanged,
  ConnectivityAnnotationInformationChanged,
  MiscellaneousInformationChanged,
  CrystallographicAndTransformationInformationChanged,
  SecondaryStructureChanged,
  PseudoAtomAdded,
  PseudoAtomRemoved
}
 The type of the structural event. More...
 

Constructors and destructors

 SBMStructuralModelEvent (SBDDataGraphNode *sender, Type type, SBDDataGraphNode *auxiliaryNode=0)
 Constructs a structural event.
 
virtual ~SBMStructuralModelEvent ()
 Destructs the structural event.
 

Identity

virtual Category getCategory () const
 Returns the category of the event (SBDDataGraphEvent::StructuralEvent)
 
Type getType () const
 Returns the event type.
 
SBDDataGraphNodegetAuxiliaryNode () const
 Returns the auxiliary node.
 
static std::string getTypeString (Type type)
 Returns the event type as a string.
 

Debugging

virtual void print (unsigned int offset=0) const
 Prints the structural event.
 

Identity attributes

Type eventType
 The event type.
 
SBDDataGraphNodeauxiliaryNode
 The auxiliary node.
 

Additional Inherited Members

- Public Types inherited from SBDDataGraphEvent
enum  Category {
  UndefinedEvent,
  BaseEvent,
  DocumentEvent,
  StructuralEvent,
  VisualEvent,
  DynamicalEvent,
  InteractionEvent,
  PropertyEvent,
  StateUpdaterEvent,
  SimulatorEvent,
  ControllerEvent
}
 The category of the data graph event. More...
 
- Public Member Functions inherited from SBDDataGraphEvent
 SBDDataGraphEvent (SBDDataGraphNode *sender)
 
virtual ~SBDDataGraphEvent ()
 
SBDDataGraphNodegetSender () const
 This function returns the sender of an event.
 
- Static Public Member Functions inherited from SBDDataGraphEvent
static std::string getCategoryString (Category category)
 

Member Enumeration Documentation

◆ Type

Enumerator
AtomAdded 

An atom was added to the structural model.

AtomRemoved 

An atom was removed from the structural model.

AtomTypeChanged 

An atom type changed.

AtomNameChanged 

An atom name changed.

AtomAltLocationChanged 

An atom alt location changed.

AtomChainChanged 

An atom chain changed.

AtomInsertionCodeChanged 

An atom insertion code changed.

AtomSerialNumberChanged 

An atom serial number changed.

AtomOccupancyChanged 

An atom occupancy changed.

AtomRecordTypeChanged 

An atom record type changed.

AtomResidueNameChanged 

An atom residue name changed.

AtomResidueSequenceNumberChanged 

An atom residue sequence number changed.

AtomSegmentChanged 

An atom segment changed.

AtomPartialChargeChanged 

An atom partial charge changed.

AtomTemperatureFactorChanged 

An atom temperature factor changed.

AtomFormalChargeChanged 

An atom formal charge changed.

AtomCommentChanged 

An atom comment changed.

AtomSYBYLTypeChanged 

An atom SYBYL type changed.

AtomStatusBitChanged 

An atom status bit changed.

AtomMoleculeNameChanged 

An atom molecule name changed.

AtomSubstructureNameChanged 

An atom substructure name changed.

AtomSubstructureSequenceNumberChanged 

An atom substructure sequence number changed.

AtomAnisotropicTFactorsChanged 

An atom anisotropic T factor changed.

AtomChainIDChanged 

An atom chain ID changed.

AtomOxydationStateChanged 

An atom oxydation state changed.

AtomHybridizationChanged 

An atom hybridization state changed.

AtomResonanceChanged 

An atom resonance changed.

AtomAromaticityChanged 

An atom aromaticity changed.

AtomElementChanged 

An atom element changed.

AtomWaterFlagChanged 

An atom water flag changed.

AtomCustomTypeChanged 

An atom custom type changed.

BondAdded 

A bond was added to the structural model.

BondRemoved 

A bond was removed from the structural model.

BondConnected 

A bond was connected to an atom.

BondDisconnected 

A bond was disconnected from an atom.

BondOrderChanged 

A bond order changed.

BondTypeChanged 

A bond type changed.

BondStatusBitChanged 

A bond status bit changed.

BondCustomTypeChanged 

A bond custom type changed.

ResidueAdded 

A residue was added to the structural model.

ResidueRemoved 

A residue was removed from the structural model.

BackboneAdded 

A backbone was added to the structural model.

BackboneRemoved 

A backbone was removed from the structural model.

SideChainAdded 

A side-chain was added to the structural model.

SideChainRemoved 

A side-chain was removed from the structural model.

SegmentAdded 

A segment was added to the structural model.

SegmentRemoved 

A segment was removed from the structural model.

ChainAdded 

A chain was added to the structural model.

ChainRemoved 

A chain was removed from the structural model.

MoleculeAdded 

A molecule was added to the structural model.

MoleculeRemoved 

A molecule was removed from the structural model.

StructuralGroupAdded 

A structural group was added to the structural model.

StructuralGroupRemoved 

A structural group was removed from the structural model.

StructuralGroupCommentChanged 

A structural group comment changed.

StructuralGroupStatusBitChanged 

A structural group status bit changed.

ParticlePositionChanged 

A particle position changed.

ParticleMassChanged 

A particle mass changed.

MobilityFlagChanged 

A mobility flag changed.

TitleInformationChanged 

A title information changed.

PrimaryStructureInformationChanged 

A primary structure information changed.

HeterogenInformationChanged 

A heterogen information changed.

SecondaryStructureInformationChanged 

A secondary structure information changed.

ConnectivityAnnotationInformationChanged 

A connectivity annotation information changed.

MiscellaneousInformationChanged 

A miscellaneous information changed.

CrystallographicAndTransformationInformationChanged 

A crystallographic and transformation information changed.

SecondaryStructureChanged 

A secondary structure changed.

PseudoAtomAdded 

A pseudo-atom was added to the structural model.

PseudoAtomRemoved 

A pseudo-atom was removed from the structural model.