mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9572 from Icinga/ApplyRule-getters
ApplyRule#GetF*Var(): return by const ref
This commit is contained in:
commit
e713eb5c1c
|
@ -37,16 +37,6 @@ String ApplyRule::GetPackage() const
|
|||
return m_Package;
|
||||
}
|
||||
|
||||
String ApplyRule::GetFKVar() const
|
||||
{
|
||||
return m_FKVar;
|
||||
}
|
||||
|
||||
String ApplyRule::GetFVVar() const
|
||||
{
|
||||
return m_FVVar;
|
||||
}
|
||||
|
||||
Expression::Ptr ApplyRule::GetFTerm() const
|
||||
{
|
||||
return m_FTerm;
|
||||
|
|
|
@ -55,8 +55,17 @@ public:
|
|||
Expression::Ptr GetExpression() const;
|
||||
Expression::Ptr GetFilter() const;
|
||||
String GetPackage() const;
|
||||
String GetFKVar() const;
|
||||
String GetFVVar() const;
|
||||
|
||||
inline const String& GetFKVar() const noexcept
|
||||
{
|
||||
return m_FKVar;
|
||||
}
|
||||
|
||||
inline const String& GetFVVar() const noexcept
|
||||
{
|
||||
return m_FVVar;
|
||||
}
|
||||
|
||||
Expression::Ptr GetFTerm() const;
|
||||
bool GetIgnoreOnError() const;
|
||||
DebugInfo GetDebugInfo() const;
|
||||
|
|
Loading…
Reference in New Issue