6#ifndef SWIFT_MISC_NETWORK_SERVERLIST_H
7#define SWIFT_MISC_NETWORK_SERVERLIST_H
19namespace swift::misc::network
Generic ordered container with value semantics.
CSequence()=default
Default constructor.
Value object for a FSD setup.
Value object encapsulating information of a FSD server.
Value object encapsulating a list of servers.
CSequence()=default
Default constructor.
CServerList()=default
Default constructor.
void setFsdSetup(const CFsdSetup &setup)
Set FSD setup for all entries.
bool containsName(const QString &name) const
Contains name.
bool containsAddressPort(const CServer &server)
Contains server with same address/port.
bool removeByName(const QString &name)
Remove by name.
void removeUsers()
Remove passwords.
void addIfAddressNotExists(const CServer &server)
Add if address not already exists.
#define SWIFT_DECLARE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template declaration of mixins for a CSequence subclass to be placed near the top of the hea...
#define SWIFT_MISC_EXPORT
Export a class or function from the library.