version 1.17, 2002/08/17 00:59:36
|
version 1.21, 2005/02/05 22:59:23
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2005//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// 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.; |
|
// 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. |
// | // |
// 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 |
|
|
String tmp; | String tmp; |
| |
if (this->hasScope (CIMScope::CLASS)) | if (this->hasScope (CIMScope::CLASS)) |
tmp += "CLASS "; |
tmp.append("CLASS "); |
| |
if (this->hasScope (CIMScope::ASSOCIATION)) | if (this->hasScope (CIMScope::ASSOCIATION)) |
tmp += "ASSOCIATION "; |
tmp.append("ASSOCIATION "); |
| |
if (this->hasScope (CIMScope::INDICATION)) | if (this->hasScope (CIMScope::INDICATION)) |
tmp += "INDICATION "; |
tmp.append("INDICATION "); |
| |
if (this->hasScope (CIMScope::PROPERTY)) | if (this->hasScope (CIMScope::PROPERTY)) |
tmp += "PROPERTY "; |
tmp.append("PROPERTY "); |
| |
if (this->hasScope (CIMScope::REFERENCE)) | if (this->hasScope (CIMScope::REFERENCE)) |
tmp += "REFERENCE "; |
tmp.append("REFERENCE "); |
| |
if (this->hasScope (CIMScope::METHOD)) | if (this->hasScope (CIMScope::METHOD)) |
tmp += "METHOD "; |
tmp.append("METHOD "); |
| |
if (this->hasScope (CIMScope::PARAMETER)) | if (this->hasScope (CIMScope::PARAMETER)) |
tmp += "PARAMETER "; |
tmp.append("PARAMETER "); |
| |
if (tmp.size()) | if (tmp.size()) |
tmp.remove(tmp.size() - 1); | tmp.remove(tmp.size() - 1); |