Skip to content

InscoperAPI/API/Base/Recipe/RecipeElementGroup.h

Namespaces

Name
Inscoper
Inscoper namespace.

Classes

Name
class Inscoper::RecipeElementGroup
RecipeElementGroup class represents a recipe element that holds other recipe elements.

Source code

#ifndef RECIPEELEMENTGROUP_H
#define RECIPEELEMENTGROUP_H

#include <Base/Recipe/RecipeElement.h>

namespace Inscoper {

class INSCOPER_EXPORT RecipeElementGroup : public RecipeElement {
public:
  RecipeElementGroup();

  void fromXML(Inscoper::XMLNode &xml) INSCOPER_EXCEPTION override;

  void toXML(Inscoper::XMLNode &xmlParent) INSCOPER_EXCEPTION override;

  virtual Inscoper::ERecipeElementType getType() override;

  const std::string &getRecipeName() const;

  void setRecipeName(const std::string &recipeName);

private:
  std::string _recipeName;
};

typedef std::shared_ptr<RecipeElementGroup> RecipeElementGroupPtr;

} // namespace Inscoper

#endif // RECIPEELEMENTGROUP_H

Updated on 2026-09-03 at 12:14:17 +0200