(file) Return to InheritanceTree.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Repository

Diff for /pegasus/src/Pegasus/Repository/InheritanceTree.h between version 1.25 and 1.31

version 1.25, 2004/05/28 12:20:11 version 1.31, 2006/11/14 18:34:58
Line 1 
Line 1 
 //%2003////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.  // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
 // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
 // IBM Corp.; EMC Corporation, The Open Group. // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 23 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // 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
Line 40 
Line 41 
 #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
  
Line 171 
Line 172 
         @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
Line 255 
Line 259 
  
     InheritanceTreeRep* _rep;     InheritanceTreeRep* _rep;
  
     friend class InheritanceTreeNode;      friend struct InheritanceTreeNode;
 }; };
  
 /** The InvalidInheritanceTree exception is thrown when the /** The InvalidInheritanceTree exception is thrown when the
Line 263 
Line 267 
     was not fully specified (when any class was passed as a superClassName     was not fully specified (when any class was passed as a superClassName
     argument to insert() but never as a className argument.     argument to insert() but never as a className argument.
 */ */
 class 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


Legend:
Removed from v.1.25  
changed lines
  Added in v.1.31

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2