(file) Return to RepositoryQueryContext.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / CQL

File: [Pegasus] / pegasus / src / Pegasus / CQL / Attic / RepositoryQueryContext.cpp (download)
Revision: 1.1.2.1, Fri Aug 20 17:22:36 2004 UTC (19 years, 10 months ago) by humberto
Branch: CQL_2_5_BRANCH
Changes since 1.1: +35 -0 lines
BUG#: 1907

TITLE: CQL updates

DESCRIPTION: CQL updates

#include "RepositoryQueryContext.h"

PEGASUS_NAMESPACE_BEGIN
                                                                                                                           
                                                                                                                          
RepositoryQueryContext::RepositoryQueryContext(CIMNamespaceName inNS, CIMRepository* inCIMRep):QueryContext(inNS){
	_CIMRep = inCIMRep;
}

CIMClass RepositoryQueryContext::getClass(CIMName inClassName){
	/* Hardcoded defaults */
        Boolean localOnly = false;
        Boolean includeQualifiers = true;
        Boolean includeClassOrigin = false;
        CIMPropertyList _emptyCIMPropertyList;
                                                                                                                                       
        try{
                CIMClass _class = _CIMRep->getClass(
                                               getNamespace(),
                                               inClassName,
                                               localOnly,
                                               includeQualifiers,
                                               includeClassOrigin,
                                               _emptyCIMPropertyList);
		return _class;
        }catch(Exception e){
                // error
		PEGASUS_STD(cout) << e.getMessage() << PEGASUS_STD(endl);
		return CIMClass();
        }

}
                                                                                                                           
PEGASUS_NAMESPACE_END


No CVS admin address has been configured
Powered by
ViewCVS 0.9.2