ne_ven_addNewGlobalStyle

VGlobalStyle *sbne::ne_ven_addNewGlobalStyle(Veneer *ven, StyleType type = NUM_StyleType, RxnRoleType role = NUM_RxnRoleType, std::string styleId = "")

Creates a VGlobalStyle object, sets the values of its attributes, and adds it to the Veneer object.

Parameters
  • ven – a pointer to the Veneer object.

  • type – a StyleType to be added to the “typelist” attribute of the VGlobalStyle object.

  • role – a RxnRoleType to be added to the “roleelist” attribute of the VGlobalStyle object.

  • styleId – a string to use as the value of the “id” attribute of the VGlobalStyle object.

Returns

a pointer to the added VGlobalStyle object.