version 1.32, 2005/11/18 21:15:34
|
version 1.32.2.2, 2006/03/07 18:45:46
|
|
|
//%2005//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// EMC Corporation; VERITAS Software Corporation; The Open Group. | // EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec 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 |
|
|
} | } |
| |
IdentityContainer::IdentityContainer(const IdentityContainer & container) | IdentityContainer::IdentityContainer(const IdentityContainer & container) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined (PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
: OperationContext::Container() | : OperationContext::Container() |
#endif | #endif |
{ | { |
|
|
return(_rep->userName); | return(_rep->userName); |
} | } |
| |
// Unimplemented, hidden constructor not intended for actual use |
|
IdentityContainer::IdentityContainer() |
|
{ |
|
} |
|
| |
// | // |
// SubscriptionInstanceContainer | // SubscriptionInstanceContainer |
|
|
| |
SubscriptionInstanceContainer::SubscriptionInstanceContainer | SubscriptionInstanceContainer::SubscriptionInstanceContainer |
(const SubscriptionInstanceContainer & container) | (const SubscriptionInstanceContainer & container) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
: OperationContext::Container() | : OperationContext::Container() |
#endif | #endif |
{ | { |
|
|
return(_rep->subscriptionInstance); | return(_rep->subscriptionInstance); |
} | } |
| |
// Unimplemented, hidden constructor not intended for actual use |
|
SubscriptionInstanceContainer::SubscriptionInstanceContainer() |
|
{ |
|
} |
|
| |
// | // |
// SubscriptionInstanceNamesContainer | // SubscriptionInstanceNamesContainer |
|
|
| |
SubscriptionInstanceNamesContainer::SubscriptionInstanceNamesContainer | SubscriptionInstanceNamesContainer::SubscriptionInstanceNamesContainer |
(const SubscriptionInstanceNamesContainer & container) | (const SubscriptionInstanceNamesContainer & container) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
: OperationContext::Container() | : OperationContext::Container() |
#endif | #endif |
{ | { |
|
|
return(_rep->subscriptionInstanceNames); | return(_rep->subscriptionInstanceNames); |
} | } |
| |
// Unimplemented, hidden constructor not intended for actual use |
|
SubscriptionInstanceNamesContainer::SubscriptionInstanceNamesContainer() |
|
{ |
|
} |
|
| |
// | // |
// SubscriptionFilterConditionContainer | // SubscriptionFilterConditionContainer |
|
|
| |
SubscriptionFilterConditionContainer::SubscriptionFilterConditionContainer | SubscriptionFilterConditionContainer::SubscriptionFilterConditionContainer |
(const SubscriptionFilterConditionContainer & container) | (const SubscriptionFilterConditionContainer & container) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
: OperationContext::Container() | : OperationContext::Container() |
#endif | #endif |
{ | { |
|
|
return(_rep->queryLanguage); | return(_rep->queryLanguage); |
} | } |
| |
// Unimplemented, hidden constructor not intended for actual use |
|
SubscriptionFilterConditionContainer::SubscriptionFilterConditionContainer() |
|
{ |
|
} |
|
| |
// | // |
// SubscriptionFilterQueryContainer | // SubscriptionFilterQueryContainer |
|
|
| |
SubscriptionFilterQueryContainer::SubscriptionFilterQueryContainer | SubscriptionFilterQueryContainer::SubscriptionFilterQueryContainer |
(const SubscriptionFilterQueryContainer & container) | (const SubscriptionFilterQueryContainer & container) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
: OperationContext::Container() | : OperationContext::Container() |
#endif | #endif |
{ | { |
|
|
return(_rep->sourceNameSpace); | return(_rep->sourceNameSpace); |
} | } |
| |
// Unimplemented, hidden constructor not intended for actual use |
|
SubscriptionFilterQueryContainer::SubscriptionFilterQueryContainer() |
|
{ |
|
} |
|
| |
// | // |
// TimeoutContainer | // TimeoutContainer |
|
|
} | } |
| |
| |
// l10n start |
|
|
|
// | // |
// AcceptLanguageListContainer | // AcceptLanguageListContainer |
// | // |
|
|
class AcceptLanguageListContainerRep | class AcceptLanguageListContainerRep |
{ | { |
public: | public: |
AcceptLanguages languages; |
AcceptLanguageList languages; |
}; | }; |
| |
const String AcceptLanguageListContainer::NAME = | const String AcceptLanguageListContainer::NAME = |
|
|
| |
AcceptLanguageListContainer::AcceptLanguageListContainer | AcceptLanguageListContainer::AcceptLanguageListContainer |
(const AcceptLanguageListContainer & container) | (const AcceptLanguageListContainer & container) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
: OperationContext::Container() | : OperationContext::Container() |
#endif | #endif |
{ | { |
|
|
} | } |
| |
AcceptLanguageListContainer::AcceptLanguageListContainer | AcceptLanguageListContainer::AcceptLanguageListContainer |
(const AcceptLanguages & languages) |
(const AcceptLanguageList & languages) |
{ | { |
_rep = new AcceptLanguageListContainerRep(); | _rep = new AcceptLanguageListContainerRep(); |
_rep->languages = languages; | _rep->languages = languages; |
|
|
delete this; | delete this; |
} | } |
| |
AcceptLanguages AcceptLanguageListContainer::getLanguages(void) const |
AcceptLanguageList AcceptLanguageListContainer::getLanguages(void) const |
{ |
|
return(_rep->languages); |
|
} |
|
|
|
// Unimplemented, hidden constructor not intended for actual use |
|
AcceptLanguageListContainer::AcceptLanguageListContainer() |
|
{ |
|
} |
|
|
|
// |
|
// SubscriptionLanguageListContainer |
|
// |
|
|
|
class SubscriptionLanguageListContainerRep |
|
{ |
|
public: |
|
AcceptLanguages languages; |
|
}; |
|
|
|
const String SubscriptionLanguageListContainer::NAME = |
|
"SubscriptionLanguageListContainer"; |
|
|
|
SubscriptionLanguageListContainer::SubscriptionLanguageListContainer |
|
(const OperationContext::Container & container) |
|
{ |
|
const SubscriptionLanguageListContainer * p = |
|
dynamic_cast<const SubscriptionLanguageListContainer *>(&container); |
|
|
|
if(p == 0) |
|
{ |
|
throw DynamicCastFailedException(); |
|
} |
|
|
|
_rep = new SubscriptionLanguageListContainerRep(); |
|
_rep->languages = p->_rep->languages; |
|
} |
|
|
|
SubscriptionLanguageListContainer::SubscriptionLanguageListContainer |
|
(const SubscriptionLanguageListContainer & container) |
|
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
|
: OperationContext::Container() |
|
#endif |
|
{ |
|
_rep = new SubscriptionLanguageListContainerRep(); |
|
_rep->languages = container._rep->languages; |
|
} |
|
|
|
SubscriptionLanguageListContainer::SubscriptionLanguageListContainer |
|
(const AcceptLanguages & languages) |
|
{ |
|
_rep = new SubscriptionLanguageListContainerRep(); |
|
_rep->languages = languages; |
|
} |
|
|
|
SubscriptionLanguageListContainer::~SubscriptionLanguageListContainer(void) |
|
{ |
|
delete _rep; |
|
} |
|
|
|
SubscriptionLanguageListContainer & SubscriptionLanguageListContainer::operator=( |
|
const SubscriptionLanguageListContainer & container) |
|
{ |
|
if (this == &container) |
|
{ |
|
return (*this); |
|
} |
|
|
|
_rep->languages = container._rep->languages; |
|
|
|
return (*this); |
|
} |
|
|
|
String SubscriptionLanguageListContainer::getName(void) const |
|
{ |
|
return(NAME); |
|
} |
|
|
|
OperationContext::Container * SubscriptionLanguageListContainer::clone(void) const |
|
{ |
|
return(new SubscriptionLanguageListContainer(_rep->languages)); |
|
} |
|
|
|
void SubscriptionLanguageListContainer::destroy(void) |
|
{ |
|
delete this; |
|
} |
|
|
|
AcceptLanguages SubscriptionLanguageListContainer::getLanguages(void) const |
|
{ | { |
return(_rep->languages); | return(_rep->languages); |
} | } |
| |
// Unimplemented, hidden constructor not intended for actual use |
|
SubscriptionLanguageListContainer::SubscriptionLanguageListContainer() |
|
{ |
|
} |
|
| |
// | // |
// ContentLanguageListContainer | // ContentLanguageListContainer |
|
|
class ContentLanguageListContainerRep | class ContentLanguageListContainerRep |
{ | { |
public: | public: |
ContentLanguages languages; |
ContentLanguageList languages; |
}; | }; |
| |
const String ContentLanguageListContainer::NAME = | const String ContentLanguageListContainer::NAME = |
|
|
| |
ContentLanguageListContainer::ContentLanguageListContainer | ContentLanguageListContainer::ContentLanguageListContainer |
(const ContentLanguageListContainer & container) | (const ContentLanguageListContainer & container) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
: OperationContext::Container() | : OperationContext::Container() |
#endif | #endif |
{ | { |
|
|
} | } |
| |
ContentLanguageListContainer::ContentLanguageListContainer | ContentLanguageListContainer::ContentLanguageListContainer |
(const ContentLanguages & languages) |
(const ContentLanguageList & languages) |
{ | { |
_rep = new ContentLanguageListContainerRep(); | _rep = new ContentLanguageListContainerRep(); |
_rep->languages = languages; | _rep->languages = languages; |
|
|
delete this; | delete this; |
} | } |
| |
ContentLanguages ContentLanguageListContainer::getLanguages(void) const |
ContentLanguageList ContentLanguageListContainer::getLanguages(void) const |
{ | { |
return(_rep->languages); | return(_rep->languages); |
} | } |
| |
// Unimplemented, hidden constructor not intended for actual use |
|
ContentLanguageListContainer::ContentLanguageListContainer() |
|
{ |
|
} |
|
| |
// l10n end |
|
| |
// | // |
// SnmpTrapOidContainer | // SnmpTrapOidContainer |
|
|
| |
SnmpTrapOidContainer::SnmpTrapOidContainer | SnmpTrapOidContainer::SnmpTrapOidContainer |
(const SnmpTrapOidContainer & container) | (const SnmpTrapOidContainer & container) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU) |
: OperationContext::Container() | : OperationContext::Container() |
#endif | #endif |
{ | { |
|
|
return(_rep->snmpTrapOid); | return(_rep->snmpTrapOid); |
} | } |
| |
// Unimplemented, hidden constructor not intended for actual use |
|
SnmpTrapOidContainer::SnmpTrapOidContainer() |
|
{ |
|
} |
|
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |