version 1.16, 2001/07/10 22:31:21
|
version 1.17, 2002/01/15 22:53:36
|
|
|
| |
void print(PEGASUS_STD(ostream)& os) const; | void print(PEGASUS_STD(ostream)& os) const; |
| |
Boolean isSubClass(const String& className); |
Boolean isSubClass(const String& className) const; |
| |
String className; | String className; |
InheritanceTreeNode* superClass; | InheritanceTreeNode* superClass; |
|
|
} | } |
} | } |
| |
Boolean InheritanceTreeNode::isSubClass(const String& className_) |
Boolean InheritanceTreeNode::isSubClass(const String& className_) const |
{ | { |
if (String::equalNoCase(className, className_)) | if (String::equalNoCase(className, className_)) |
return true; | return true; |
|
|
return false; | return false; |
} | } |
| |
Boolean InheritanceTree::isSubClass(const String& class1, const String& class2) |
Boolean InheritanceTree::isSubClass( |
|
const String& class1, |
|
const String& class2) const |
{ | { |
InheritanceTreeNode* node = 0; | InheritanceTreeNode* node = 0; |
| |