some doc, deploy tool fix
This commit is contained in:
@@ -55,12 +55,23 @@ inline complexd sign(const complexd & x) {
|
||||
return complexd(sign(x.real()), sign(x.imag()));
|
||||
}
|
||||
|
||||
//! \~\brief
|
||||
//! \~english Round, floor, and ceil functions for complex numbers.
|
||||
//! \~russian Округление, округление вниз и округление вверх комплексных чисел.
|
||||
inline complexd round(const complexd & c) {
|
||||
return complexd(piRound<double>(c.real()), piRound<double>(c.imag()));
|
||||
}
|
||||
|
||||
//! \~\brief
|
||||
//! \~english Floor a complex number.
|
||||
//! \~russian Округление комплексного числа вниз.
|
||||
inline complexd floor(const complexd & c) {
|
||||
return complexd(floor(c.real()), floor(c.imag()));
|
||||
}
|
||||
|
||||
//! \~\brief
|
||||
//! \~english Ceil a complex number.
|
||||
//! \~russian Округление комплексного числа вверх.
|
||||
inline complexd ceil(const complexd & c) {
|
||||
return complexd(ceil(c.real()), ceil(c.imag()));
|
||||
}
|
||||
|
||||
@@ -33,63 +33,83 @@
|
||||
//! \ingroup Types
|
||||
//! \~\brief
|
||||
//! \~english Network address, IP and port.
|
||||
//! \~russian Сетевой адрес, IP и порт.
|
||||
//! \~russian Класс для работы с сетевым адресом, IP и портом.
|
||||
class PIP_EXPORT PINetworkAddress {
|
||||
friend class PIEthernet;
|
||||
|
||||
public:
|
||||
//! Contructs %Address with binary representation of IP and port
|
||||
//! \~english Contructs %Address with binary representation of IP and port
|
||||
//! \~russian Конструктор для создания объекта адреса с бинарным представлением IP и порта
|
||||
PINetworkAddress(uint ip = 0, ushort port = 0);
|
||||
|
||||
//! Contructs %Address with string representation "i.i.i.i:p"
|
||||
//! \~english Contructs %Address with string representation "i.i.i.i:p"
|
||||
//! \~russian Конструктор для создания объекта адреса с представлением IP и порта в виде строки "i.i.i.i:p"
|
||||
PINetworkAddress(const PIString & ip_port);
|
||||
|
||||
//! Contructs %Address with IP string representation "i.i.i.i" and port
|
||||
//! \~english Contructs %Address with IP string representation "i.i.i.i" and port
|
||||
//! \~russian Конструктор для создания объекта адреса с представлением IP в виде строки "i.i.i.i" и порта
|
||||
PINetworkAddress(const PIString & ip, ushort port);
|
||||
|
||||
//! Returns binary IP
|
||||
//! \~english Returns binary IP
|
||||
//! \~russian Возвращает IP-адрес в бинарном виде
|
||||
uint ip() const { return ip_; }
|
||||
|
||||
//! Returns port
|
||||
//! \~english Returns port
|
||||
//! \~russian Возвращает порт
|
||||
ushort port() const { return port_; }
|
||||
|
||||
//! Returns string IP
|
||||
//! \~english Returns string IP
|
||||
//! \~russian Возвращает IP-адрес в виде строки
|
||||
PIString ipString() const;
|
||||
|
||||
//! Returns string representation of IP and port "i.i.i.i:p"
|
||||
//! \~english Returns string representation of IP and port "i.i.i.i:p"
|
||||
//! \~russian Возвращает представление адреса в виде строки "i.i.i.i:p"
|
||||
PIString toString() const;
|
||||
|
||||
//! Set address IP
|
||||
//! \~english Set address IP
|
||||
//! \~russian Устанавливает IP-адрес
|
||||
void setIP(uint ip);
|
||||
|
||||
//! Set address IP
|
||||
//! \~english Set address IP
|
||||
//! \~russian Устанавливает IP-адрес
|
||||
void setIP(const PIString & ip);
|
||||
|
||||
//! Set address port
|
||||
//! \~english Set address port
|
||||
//! \~russian Устанавливает порт
|
||||
void setPort(ushort port);
|
||||
|
||||
//! Set address IP and port, "i.i.i.i:p"
|
||||
//! \~english Set address IP and port, "i.i.i.i:p"
|
||||
//! \~russian Устанавливает IP-адрес и порт в виде строки "i.i.i.i:p"
|
||||
void set(const PIString & ip_port);
|
||||
|
||||
//! Set address IP and port, "i.i.i.i"
|
||||
//! \~english Set address IP and port, "i.i.i.i"
|
||||
//! \~russian Устанавливает IP-адрес в виде строки "i.i.i.i" и порт
|
||||
void set(const PIString & ip, ushort port);
|
||||
|
||||
//! Set address binary IP and port
|
||||
//! \~english Set address binary IP and port
|
||||
//! \~russian Устанавливает IP-адрес и порт в бинарном виде
|
||||
void set(uint ip, ushort port);
|
||||
|
||||
//! Set IP and port to 0
|
||||
//! \~english Set IP and port to 0
|
||||
//! \~russian Устанавливает IP-адрес и порт равными 0
|
||||
void clear();
|
||||
|
||||
//! Returns if IP and port is 0
|
||||
//! \~english Returns if IP and port is 0
|
||||
//! \~russian Возвращает true, если IP-адрес равен 0 и порт равен 0
|
||||
bool isNull() const;
|
||||
|
||||
//! Resolve hostname "host:port" and return it address or null address on error
|
||||
//! \~english Resolve hostname "host:port" and return it address or null address on error
|
||||
//! \~russian Получает IP-адрес и порт по имени хоста "host:port" и возвращает объект адреса, если получить удалось, иначе - null
|
||||
static PINetworkAddress resolve(const PIString & host_port);
|
||||
|
||||
//! Resolve hostname "host" with port "port" and return it address or null address on error
|
||||
//! \~english Resolve hostname "host" with port "port" and return it address or null address on error
|
||||
//! \~russian Получает IP-адрес и порт по имени хоста "host" и порту "port" и возвращает объект адреса, если получить удалось, иначе -
|
||||
//! null
|
||||
static PINetworkAddress resolve(const PIString & host, ushort port);
|
||||
|
||||
static void splitIPPort(const PIString & ipp, PIString * ip, int * port);
|
||||
//! \~english Splits IP and port from string "i.i.i.i:p" to separate strings
|
||||
//! \~russian Разделяет IP-адрес и порт на отдельные строки
|
||||
static void splitIPPort(const PIString & ipp, PIString * _ip, int * _port);
|
||||
|
||||
private:
|
||||
void initIP(const PIString & _ip);
|
||||
|
||||
@@ -720,8 +720,6 @@ int main(int argc, char * argv[]) {
|
||||
PIVector<PIString> qlibs = qt_libs.toVector();
|
||||
piCout << "check for installed Qt" << qlibs;
|
||||
piForeach(PIString l, qlibs) {
|
||||
l = findLib(l);
|
||||
if (l.isEmpty()) continue;
|
||||
if (procDpkg(l)) {
|
||||
piCout << "system Qt found!";
|
||||
need_qt_plugins = false;
|
||||
|
||||
Reference in New Issue
Block a user