SEOverrides.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/engine/SEAction.h"
6
7class CDM_DECL SEOverrides : public SEAction
8{
9 friend class PBAction;//friend the serialization class
10public:
11
12 SEOverrides(Logger* logger=nullptr);
13 virtual ~SEOverrides();
14
15 static constexpr char const* Name = "Overrides";
16 std::string GetName() const override{ return Name; }
17
18 void Clear() override; //clear memory
19 virtual void Copy(const SEOverrides& src);
20
21 bool IsValid() const override;
22
23 virtual bool HasScalarProperties() const;
24 virtual SEScalarProperties& GetScalarProperties();
25 virtual const SEScalarProperties& GetScalarProperties() const;
26
27 const SEScalar* GetScalar(const std::string& name) override;
28
29protected:
30 SEScalarProperties m_ScalarProperties;
31};
Definition: Logger.h:71
Definition: PBActions.h:15
Definition: SEAction.h:14
virtual const SEScalar * GetScalar(const std::string &name)=0
virtual bool IsValid() const
Definition: SEAction.h:35
virtual void Clear()
Definition: SEAction.cpp:21
static SEAction * Copy(const SEAction &, const SESubstanceManager &)
Definition: SEAction.cpp:53
Definition: SEOverrides.h:8
SEScalarProperties m_ScalarProperties
Definition: SEOverrides.h:30
std::string GetName() const override
Definition: SEOverrides.h:16
Definition: SEScalar.h:19

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.