SGConditionRef typedef. No functional changes.
This commit is contained in:
parent
bd9fa7017f
commit
645cae184b
@ -69,7 +69,7 @@ public:
|
|||||||
virtual bool test () const;
|
virtual bool test () const;
|
||||||
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
|
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
|
||||||
private:
|
private:
|
||||||
SGSharedPtr<SGCondition> _condition;
|
SGConditionRef _condition;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ public:
|
|||||||
virtual void addCondition (SGCondition * condition);
|
virtual void addCondition (SGCondition * condition);
|
||||||
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
|
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
|
||||||
private:
|
private:
|
||||||
std::vector<SGSharedPtr<SGCondition> > _conditions;
|
std::vector<SGConditionRef> _conditions;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ public:
|
|||||||
virtual void addCondition (SGCondition * condition);
|
virtual void addCondition (SGCondition * condition);
|
||||||
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
|
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const;
|
||||||
private:
|
private:
|
||||||
std::vector<SGSharedPtr<SGCondition> > _conditions;
|
std::vector<SGConditionRef> _conditions;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@ public:
|
|||||||
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const { }
|
virtual void collectDependentProperties(std::set<const SGPropertyNode*>& props) const { }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef SGSharedPtr<SGCondition> SGConditionRef;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for a conditional components.
|
* Base class for a conditional components.
|
||||||
@ -56,7 +58,7 @@ public:
|
|||||||
virtual const SGCondition * getCondition () const { return _condition; }
|
virtual const SGCondition * getCondition () const { return _condition; }
|
||||||
virtual bool test () const;
|
virtual bool test () const;
|
||||||
private:
|
private:
|
||||||
SGSharedPtr<SGCondition> _condition;
|
SGConditionRef _condition;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user