![]() ![]() |
![]() |
File: [Pegasus] / pegasus / src / Pegasus / Common / Attic / CIMNameUnchecked.h
(download)
Revision: 1.1, Thu Nov 10 15:10:13 2005 UTC (18 years, 7 months ago) by r.kieninger Branch: MAIN CVS Tags: STABLE, PEP244_ServerProfile-root, PEP244_ServerProfile-branch, PEP233_EmbeddedInstSupport-root, BUG_4225_PERFORMANCE_VERSION_1_DONE Branch point for: PEP233_EmbeddedInstSupport-branch BUG#:4256 TITLE: Redundant or unnecessary validation of CIMName objects DESCRIPTION: Commiting proposed performance fixes for CIMName class |
#ifndef _Pegasus_CIMNameUnchecked_h #define _Pegasus_CIMNameUnchecked_h #include <Pegasus/Common/Config.h> #include <Pegasus/Common/CIMName.h> PEGASUS_NAMESPACE_BEGIN class CIMNameUnchecked : public CIMName { public: #ifdef PEGASUS_DEBUG CIMNameUnchecked(const String& str) : CIMName(str) { // Call base class constructor for force CIMName::legal() call. } #else /* PEGASUS_DEBUG */ CIMNameUnchecked(const String& str) { // Bypass CIMName::legal() call. Must be friend to do this. cimName = str; } #endif /* PEGASUS_DEBUG */ }; PEGASUS_NAMESPACE_END #endif /* _Pegasus_CIMNameUnchecked_h */
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |