version 1.27, 2002/08/20 17:39:37
|
version 1.30, 2003/10/22 14:26:02
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2003//////////////////////////////////////////////////////////////////////// |
// | // |
// 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. |
// | // |
// 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 |
|
|
return _qualifiers.size(); | return _qualifiers.size(); |
} | } |
| |
/** getQualifer - Gets the qaulifier defined at the position provided |
/** getQualifer - Gets the qaulifier defined at the index provided |
in the Qualifier list. | in the Qualifier list. |
@param pos - The position in the qualifierlist containing the |
@param index - The position in the qualifierlist containing the |
qualifier. | qualifier. |
@return CIMQualifier object. | @return CIMQualifier object. |
@exception - Throws OutofBounds exception of pso not within the | @exception - Throws OutofBounds exception of pso not within the |
qualifier list. | qualifier list. |
ATTN: P0 KS Mar 2002 Add the outofbounds exception. | ATTN: P0 KS Mar 2002 Add the outofbounds exception. |
*/ | */ |
CIMQualifier& getQualifier(Uint32 pos); |
CIMQualifier& getQualifier(Uint32 index); |
| |
const CIMQualifier& getQualifier(Uint32 pos) const |
const CIMQualifier& getQualifier(Uint32 index) const |
{ | { |
return _qualifiers[pos]; |
return _qualifiers[index]; |
} | } |
| |
/** removeQualifier - Removes the Qualifier defined by | /** removeQualifier - Removes the Qualifier defined by |
the pos parameter |
the index parameter |
@exception IndexOutOfBoundsException if pos not within |
@exception IndexOutOfBoundsException if index not within |
range of current qualifiers. | range of current qualifiers. |
*/ | */ |
void removeQualifier(Uint32 pos); |
void removeQualifier(Uint32 index); |
| |
/** find - Searches for a qualifier with the specified ` | /** find - Searches for a qualifier with the specified ` |
input name if it exists in the class | input name if it exists in the class |
|
|
*/ | */ |
void resolve( | void resolve( |
DeclContext* declContext, | DeclContext* declContext, |
const String& nameSpace, |
const CIMNamespaceName & nameSpace, |
CIMScope scope, | CIMScope scope, |
Boolean isInstancePart, | Boolean isInstancePart, |
CIMQualifierList& inheritedQualifiers, | CIMQualifierList& inheritedQualifiers, |