version 1.37, 2006/02/08 20:56:48
|
version 1.38, 2006/02/10 22:20:42
|
|
|
}; | }; |
| |
| |
class SubscriptionLanguageListContainerRep; |
|
|
|
/** <I><B>Experimental Interface</B></I><BR> |
|
A SubscriptionLanguageListContainer object holds a list of languages that |
|
are acceptable in the indications associated with a given subscription. |
|
*/ |
|
class PEGASUS_COMMON_LINKAGE SubscriptionLanguageListContainer |
|
: virtual public OperationContext::Container |
|
{ |
|
public: |
|
|
|
/** |
|
The unique name for this container type. |
|
*/ |
|
static const String NAME; |
|
|
|
/** |
|
Constructs a SubscriptionLanguageListContainer object from the |
|
specified Container. |
|
@param container The Container object to copy. |
|
@exception DynamicCastFailedException If the specified Container |
|
object is not a SubscriptionLanguageListContainer object. |
|
*/ |
|
SubscriptionLanguageListContainer( |
|
const OperationContext::Container& container); |
|
|
|
/** |
|
Constructs a copy of the specified SubscriptionLanguageListContainer. |
|
@param container The SubscriptionLanguageListContainer object to copy. |
|
*/ |
|
SubscriptionLanguageListContainer( |
|
const SubscriptionLanguageListContainer& container); |
|
|
|
/** |
|
Constructs a SubscriptionLanguageListContainer with the specified |
|
accept language list. |
|
@param languages An AcceptLanguageList with the languages that are |
|
acceptable in the indications associated with a given subscription. |
|
*/ |
|
SubscriptionLanguageListContainer(const AcceptLanguageList& languages); |
|
|
|
/** |
|
Destructs the SubscriptionLanguageListContainer. |
|
*/ |
|
virtual ~SubscriptionLanguageListContainer(); |
|
|
|
/** |
|
Assigns the value of the specified SubscriptionLanguageListContainer |
|
object to this object. |
|
@param container The SubscriptionLanguageListContainer object to copy. |
|
*/ |
|
SubscriptionLanguageListContainer& operator=( |
|
const SubscriptionLanguageListContainer& container); |
|
|
|
/** |
|
Returns the unique name for this Container type. |
|
@return The String name of the Container type. |
|
*/ |
|
virtual String getName() const; |
|
|
|
/** |
|
Makes a copy of this SubscriptionLanguageListContainer object. |
|
The caller is responsible for cleaning up the copy by calling |
|
destroy() method. |
|
@return A pointer to the new Container object. |
|
*/ |
|
virtual OperationContext::Container* clone() const; |
|
|
|
/** |
|
Cleans up a SubscriptionLanguageListContainer object that was created |
|
by the clone() method. |
|
*/ |
|
virtual void destroy(); |
|
|
|
/** |
|
Gets the list of languages that are acceptable in indications from the |
|
AcceptLanguageListContainer. |
|
@return An AcceptLanguageList with the languages that are acceptable |
|
in the indications associated with a given subscription. |
|
*/ |
|
AcceptLanguageList getLanguages() const; |
|
|
|
protected: |
|
SubscriptionLanguageListContainerRep* _rep; |
|
|
|
private: |
|
SubscriptionLanguageListContainer(); // Unimplemented |
|
}; |
|
|
|
|
|
class ContentLanguageListContainerRep; | class ContentLanguageListContainerRep; |
| |
/** <I><B>Experimental Interface</B></I><BR> | /** <I><B>Experimental Interface</B></I><BR> |