4#include <system/collections/icollection.h>
5#include <system/collections/ienumerator.h>
6#include <system/collections/list.h>
7#include <system/shared_ptr.h>
11namespace System {
namespace Net {
25 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
27 ASPOSECPP_SHARED_RTTI_INFO_DECL();
45 ASPOSECPP_SHARED_API int32_t
get_Count()
const override;
78 ASPOSECPP_SHARED_API
void Clear()
override;
98 ASPOSECPP_SHARED_API
void RemoveAt(int32_t idx);
105 ASPOSECPP_SHARED_API System::Details::VirtualizedIteratorBase<System::SharedPtr<Cookie>>*
virtualizeEndIterator()
override;
118 bool _hasOtherVersions;
122 bool get_IsSynchronized();
Interface of collection of elements. Objects of this class should only be allocated using System::Mak...
Definition: icollection.h:20
Represents a specific date and time value on the time continuum. This type should be allocated on sta...
Definition: date_time.h:50
Represents a list of sorted cookies. Objects of this class should only be allocated using System::Mak...
Definition: cookie_collection.h:18
void Add(System::SharedPtr< CookieCollection > cookies)
Adds cookies from the specified collection to the current one.
void RemoveAt(int32_t idx)
Removes a cookie at the specified index.
void Add(const System::SharedPtr< Cookie > &cookie) override
Adds a cookie to the collection.
bool Contains(const System::SharedPtr< Cookie > &cookie) const override
Checks if the collection contains the specified cookie.
CookieCollection()
Constructs a new instance.
System::Details::VirtualizedIteratorBase< System::SharedPtr< Cookie > > * virtualizeEndIterator() override
Gets the implementation of end iterator for the current container.
System::Details::VirtualizedIteratorBase< System::SharedPtr< Cookie > > * virtualizeBeginConstIterator() const override
Gets the implementation of begin const iterator for the current container.
System::Details::VirtualizedIteratorBase< System::SharedPtr< Cookie > > * virtualizeBeginIterator() override
Gets the implementation of begin iterator for the current container.
bool get_IsOtherVersionSeen()
Returns a value that indicates if the collection contains a cookie with a version that is not equal t...
int32_t InternalAdd(System::SharedPtr< Cookie > cookie, bool isStrict)
Adds the specified cookie to the collection.
bool Remove(const System::SharedPtr< Cookie > &cookie) override
Removes the specified cookie from the collection.
System::SharedPtr< Collections::Generic::IEnumerator< System::SharedPtr< Cookie > > > GetEnumerator() override
Gets enumerator.
System::SharedPtr< Cookie > idx_get(String name)
Returns a cookie from the cookie collection by specified name.
System::Details::VirtualizedIteratorBase< System::SharedPtr< Cookie > > * virtualizeEndConstIterator() const override
Gets the implementation of end const iterator for the current container.
System::SharedPtr< Cookie > idx_get(int32_t index)
Returns a cookie from the cookie collection at the specified index.
int32_t IndexOf(System::SharedPtr< Cookie > cookie)
Returns an index of the specified cookie.
void Clear() override
Removes all cookies from the collection.
Stamp
Enumerates the timestamp set operations.
Definition: cookie_collection.h:32
int32_t get_Count() const override
Gets number of elements in collection.
DateTime TimeStamp(CookieCollection::Stamp how)
Updates the timestamp by specified scenario and returns a new value.
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9