version 1.1.2.1, 2004/08/20 18:22:36
|
version 1.1.2.2, 2004/08/30 18:34:38
|
|
|
parse(identifier); | parse(identifier); |
} | } |
| |
|
CQLIdentifier::CQLIdentifier(const CQLIdentifier& id){ |
|
_name = id.getName(); |
|
_indices = id.getSubRanges(); |
|
_symbolicConstant = id.getSymbolicConstantName(); |
|
_scope = id.getScope(); |
|
_isWildcard = id.isWildcard(); |
|
} |
|
|
const CIMName& CQLIdentifier::getName()const | const CIMName& CQLIdentifier::getName()const |
{ | { |
return _name; | return _name; |
|
|
return (_scope != String::EMPTY); | return (_scope != String::EMPTY); |
} | } |
| |
|
void CQLIdentifier::applyScope(String scope) |
|
{ |
|
_scope = scope; |
|
} |
|
|
|
|
Boolean CQLIdentifier::operator==(const CIMName &rhs)const{ | Boolean CQLIdentifier::operator==(const CIMName &rhs)const{ |
if(_name == rhs) return true; | if(_name == rhs) return true; |
return false; | return false; |