elementary_molecule.h 940 B

123456789101112131415161718192021222324252627282930313233343536
  1. /******************************************************************************
  2. *
  3. * Copyright (C) 2020 by
  4. * The Salk Institute for Biological Studies
  5. *
  6. * Use of this source code is governed by an MIT-style
  7. * license that can be found in the LICENSE file or at
  8. * https://opensource.org/licenses/MIT.
  9. *
  10. ******************************************************************************/
  11. #ifndef API_ELEMENTARY_MOLECULE_INSTANCE_H
  12. #define API_ELEMENTARY_MOLECULE_INSTANCE_H
  13. #include "generated/gen_elementary_molecule.h"
  14. #include "api/api_common.h"
  15. namespace MCell {
  16. namespace API {
  17. class ElementaryMolecule: public GenElementaryMolecule {
  18. public:
  19. ELEMENTARY_MOLECULE_CTOR()
  20. bool __eq__(const ElementaryMolecule& other) const override;
  21. std::string to_bngl_str(const bool with_compartment = true) const override;
  22. bool is_surf() const;
  23. };
  24. } // namespace API
  25. } // namespace MCell
  26. #endif // API_ELEMENTARY_MOLECULE_INSTANCE_H