version 1.22, 2003/10/22 14:26:03
|
version 1.23, 2003/11/15 02:49:54
|
|
|
//throw Exception("object not found"); | //throw Exception("object not found"); |
} | } |
| |
#ifndef PEGASUS_REMOVE_DEPRECATED |
#ifdef PEGASUS_USE_DEPRECATED_INTERFACES |
const OperationContext::Container & OperationContext::get(const Uint32 key) const | const OperationContext::Container & OperationContext::get(const Uint32 key) const |
{ | { |
for(Uint32 i = 0, n = _rep->containers.size(); i < n; i++) | for(Uint32 i = 0, n = _rep->containers.size(); i < n; i++) |
|
|
//throw Exception("object not found"); | //throw Exception("object not found"); |
} | } |
| |
#ifndef PEGASUS_REMOVE_DEPRECATED |
#ifdef PEGASUS_USE_DEPRECATED_INTERFACES |
void OperationContext::remove(const Uint32 key) | void OperationContext::remove(const Uint32 key) |
{ | { |
for(Uint32 i = 0, n = _rep->containers.size(); i < n; i++) | for(Uint32 i = 0, n = _rep->containers.size(); i < n; i++) |
|
|
// OperationContext::Container | // OperationContext::Container |
// | // |
| |
#ifndef PEGASUS_REMOVE_DEPRECATED |
#ifdef PEGASUS_USE_DEPRECATED_INTERFACES |
OperationContext::Container::Container(const Uint32 key) : _key(key) | OperationContext::Container::Container(const Uint32 key) : _key(key) |
{ | { |
} | } |
|
|
{ | { |
} | } |
| |
#ifndef PEGASUS_REMOVE_DEPRECATED |
#ifdef PEGASUS_USE_DEPRECATED_INTERFACES |
const Uint32 & OperationContext::Container::getKey(void) const | const Uint32 & OperationContext::Container::getKey(void) const |
{ | { |
return(_key); | return(_key); |
|
|
const String IdentityContainer::NAME = "IdentityContainer"; | const String IdentityContainer::NAME = "IdentityContainer"; |
| |
IdentityContainer::IdentityContainer(const OperationContext::Container & container) | IdentityContainer::IdentityContainer(const OperationContext::Container & container) |
#ifndef PEGASUS_REMOVE_DEPRECATED |
#ifdef PEGASUS_USE_DEPRECATED_INTERFACES |
: OperationContext::Container(container.getKey()) | : OperationContext::Container(container.getKey()) |
#endif | #endif |
{ | { |
|
|
} | } |
| |
IdentityContainer::IdentityContainer(const String & userName) | IdentityContainer::IdentityContainer(const String & userName) |
#ifndef PEGASUS_REMOVE_DEPRECATED |
#ifdef PEGASUS_USE_DEPRECATED_INTERFACES |
: OperationContext::Container(CONTEXT_IDENTITY) | : OperationContext::Container(CONTEXT_IDENTITY) |
#endif | #endif |
{ | { |