bool
ClientClassDictionary::dependOnClass(const std::string& name,
- std::string& depend) const {
+ std::string& dependent_class) const {
// Skip previous classes as they should not depend on name.
bool found = false;
for (ClientClassDefList::iterator this_class = list_->begin();
this_class != list_->end(); ++this_class) {
if (found) {
if ((*this_class)->dependOnClass(name)) {
- depend = (*this_class)->getName();
+ dependent_class = (*this_class)->getName();
return (true);
}
} else {
/// @brief Checks direct dependency.
///
/// @param name The client class name.
- /// @param depend Set to the name of the first depending class.
+ /// @param [out] dependent_class Reference to a variable where the
+ /// name of the first class depending on the checked class is set.
///
/// @return true if a definition depends on the class name, false if none.
- bool dependOnClass(const std::string& name, std::string& depend) const;
+ bool dependOnClass(const std::string& name, std::string& dependent_class) const;
/// @brief Compares two @c ClientClassDictionary objects for equality.
///