CVS log for pegasus/src/Pegasus/Common/XmlReader.cpp

(logo)

Help

(back) Up to [Pegasus] / pegasus / src / Pegasus / Common

Request diff between arbitrary revisions


Default branch: MAIN
Bookmark a link to: HEAD / (download)
Current tag: PEGASUS_2_5_0_PerformanceDev-lit-end

Revision 1.114.2.1 / (view) - annotate - [select for diffs] , Fri Sep 30 12:35:33 2005 UTC (18 years, 9 months ago) by r.kieninger
Branch: PEGASUS_2_5_0_PerformanceDev-branch
CVS Tags: PEGASUS_2_5_0_PerformanceDev-r2, PEGASUS_2_5_0_PerformanceDev-r1, PEGASUS_2_5_0_PerformanceDev-lit-end, PEGASUS_2_5_0_PerformanceDev-buffer-end
Changes since 1.114: +248 -248 lines
Diff to previous 1.114 to next main 1.115
BUG#:4200
TITLE: Avoid redundant or unnecessary validation of CIMNames

DESCRIPTION: For the modules changed with this checkin the used names either have already been validated before, or the CIMName objects contain static content. To avoid unnecessary calls to the CIMName::legal() method a new constructor of class CIMName is used in the following places:

CIMClassRep.cpp: Constructing CIMName from static string "key".

XMLReader.cpp: Returned name has been validated explicitly a few lines before
               using CIMName::legal().

InheritanceTree.cpp: It can be assumed that the CIMNames constructed from
                     class names have been validated in other places before.

CMPI_BrokerEnc.cpp: CIMNames used within the CMPI Provider Manager are derived
                    from previous getClass calls for the names of properties,
                    classes, methods and qualifiers.

CMPI_ContextArgs.cpp: Names used for context objects are statically defined
                      and can be assumed to be legal.

CMPI_Instance.cpp: Property names used by providers are matched against the
                   class definition anyway. No need to validate those names
                   therefore.

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Diffs between and
Type of Diff should be a

View only Branch:
Sort log by:

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2