version 1.30, 2006/06/19 19:37:42
|
version 1.31, 2006/11/14 18:34:58
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) |
|
// |
|
// Modified By: Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_InheritanceTree_h | #ifndef Pegasus_InheritanceTree_h |
|
|
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/InternalException.h> | #include <Pegasus/Common/InternalException.h> |
#include <Pegasus/Repository/Linkage.h> | #include <Pegasus/Repository/Linkage.h> |
#include <Pegasus/Common/MessageLoader.h> //l10n |
#include <Pegasus/Common/MessageLoader.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
@param superClassName - name of super class of class. | @param superClassName - name of super class of class. |
*/ | */ |
void insert(const String& className, const String& superClassName); | void insert(const String& className, const String& superClassName); |
void insert(const String& className, const String& superClassName, |
void insert( |
InheritanceTree &parentTree, NameSpace *parent); |
const String& className, |
|
const String& superClassName, |
|
InheritanceTree& parentTree, |
|
NameSpace* parent); |
| |
/** Scan directory for file names of the form <ClassName>.<SuperClass> and | /** Scan directory for file names of the form <ClassName>.<SuperClass> and |
call insert on insert for each one. Note that root classes (classes with | call insert on insert for each one. Note that root classes (classes with |
|
|
class PEGASUS_REPOSITORY_LINKAGE InvalidInheritanceTree : public Exception | class PEGASUS_REPOSITORY_LINKAGE InvalidInheritanceTree : public Exception |
{ | { |
public: | public: |
//l10n start |
|
//InvalidInheritanceTree(const String& className) |
|
//: Exception("Invalid inheritance tree: unknown class: " + className) { } |
|
InvalidInheritanceTree(const String& className) | InvalidInheritanceTree(const String& className) |
: Exception(MessageLoaderParms("Repository.InheritanceTree.INVALID_INHERITANCE_TREE", |
: Exception(MessageLoaderParms( |
"Invalid inheritance tree: unknown class: $0", className)) { } |
"Repository.InheritanceTree.INVALID_INHERITANCE_TREE", |
//l10n end |
"Invalid inheritance tree: unknown class: $0", className)) |
|
{ |
|
} |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |