version 1.37, 2006/02/22 07:18:26
|
version 1.38, 2006/07/21 18:32:13
|
|
|
throw Exception(_exception); | throw Exception(_exception); |
} | } |
| |
|
Boolean OperationContext::contains( |
|
const String& containerName) const |
|
{ |
|
Uint32 size = _rep->containers.size(); |
|
Container** data = (Container**)_rep->containers.getData(); |
|
|
|
for (; size--; data++) |
|
{ |
|
if (data[0]->getName() == containerName) |
|
return true; |
|
} |
|
|
|
return false; |
|
} |
|
|
void OperationContext::set(const OperationContext::Container & container) | void OperationContext::set(const OperationContext::Container & container) |
{ | { |
for(Uint32 i = 0, n = _rep->containers.size(); i < n; i++) | for(Uint32 i = 0, n = _rep->containers.size(); i < n; i++) |