CommentRule.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzCore/Memory/Memory.h>
  10. #include <AzCore/std/string/string.h>
  11. #include <SceneAPI/SceneCore/DataTypes/Rules/ICommentRule.h>
  12. namespace AZ
  13. {
  14. class ReflectContext;
  15. namespace SceneAPI
  16. {
  17. namespace Containers
  18. {
  19. class Scene;
  20. }
  21. namespace SceneData
  22. {
  23. class CommentRule
  24. : public DataTypes::ICommentRule
  25. {
  26. public:
  27. AZ_RTTI(CommentRule, "{9A20AC53-04B3-4A2F-A43F-338456974874}", DataTypes::ICommentRule);
  28. AZ_CLASS_ALLOCATOR_DECL
  29. ~CommentRule() override = default;
  30. const AZStd::string& GetComment() const override;
  31. static void Reflect(ReflectContext* context);
  32. protected:
  33. AZStd::string m_comment;
  34. };
  35. } // SceneData
  36. } // SceneAPI
  37. } // AZ