Extending Qt Creator Manual | PortList

Extending Qt Creator Manual 4.7.1

# PortList Class

(Debugger::Utils::PortList)

- List of all members, including inherited members

## Public Functions

| PortList()
| PortList(const Debugger::Utils::PortList &other)
| ~PortList()
void | addPort(Debugger::Utils::Port port)
void | addRange(Debugger::Utils::Port startPort, Debugger::Utils::Port endPort)
bool | contains(Debugger::Utils::Port port) const
int | count() const
Debugger::Utils::Port | getNext()
bool | hasMore() const
Debugger::QString | toString() const
Debugger::Utils::PortList & | operator=(const Debugger::Utils::PortList &other)

## Static Public Members

Debugger::Utils::PortList | fromString(const Debugger::QString &portsSpec)
Debugger::QString | regularExpression()

## Member Function Documentation

### PortList::PortList()

Default constructs an instance of PortList.

### PortList::PortList(const Debugger::Utils::PortList &other)

Default constructs an instance of PortList.

### PortList::~PortList()

Destroys the instance of PortList.

### void PortList::addPort(Debugger::Utils::Port port)

### void PortList::addRange(Debugger::Utils::Port startPort, Debugger::Utils::Port endPort)

### bool PortList::contains(Debugger::Utils::Port port) const

### int PortList::count() const

### `[static]` Debugger::Utils::PortList PortList::fromString(const Debugger::QString &portsSpec)

### Debugger::Utils::Port PortList::getNext()

### bool PortList::hasMore() const

### `[static]` Debugger::QString PortList::regularExpression()

### Debugger::QString PortList::toString() const

### Debugger::Utils::PortList &PortList::operator=(const Debugger::Utils::PortList &other)

Copy-assignment operator.