__PIP_TYPENAME_DECLARE
This commit is contained in:
@@ -210,4 +210,12 @@ typedef PILine<float> PILinef;
|
||||
//! \~russian Псевдоним отрезка с координатами типа `double`.
|
||||
typedef PILine<double> PILined;
|
||||
|
||||
|
||||
#if !PIP_HAS_RTTI
|
||||
__PIP_TYPENAME_DECLARE(PILined, "PILined")
|
||||
__PIP_TYPENAME_DECLARE(PILinei, "PILinei")
|
||||
__PIP_TYPENAME_DECLARE(PILinef, "PILinef")
|
||||
__PIP_TYPENAME_DECLARE(PILineu, "PILineu")
|
||||
#endif
|
||||
|
||||
#endif // PILINE_H
|
||||
|
||||
@@ -186,4 +186,11 @@ inline bool PIMathFloatNullCompare(const T v) {
|
||||
return (abs(v) < float(1E-200));
|
||||
}
|
||||
|
||||
|
||||
#if !PIP_HAS_RTTI
|
||||
__PIP_TYPENAME_DECLARE(complexf, "complexf")
|
||||
__PIP_TYPENAME_DECLARE(complexd, "complexd")
|
||||
__PIP_TYPENAME_DECLARE(complexld, "complexld")
|
||||
#endif
|
||||
|
||||
#endif // PIMATHCOMPLEX_H
|
||||
|
||||
@@ -1652,6 +1652,12 @@ PIMathMatrix<complex<T>> hermitian(const PIMathMatrix<complex<T>> & m) {
|
||||
return ret.transposed();
|
||||
}
|
||||
|
||||
|
||||
#if !PIP_HAS_RTTI
|
||||
__PIP_TYPENAME_DECLARE(PIMathMatrixd, "PIMathMatrixd")
|
||||
__PIP_TYPENAME_DECLARE(PIMathMatrixi, "PIMathMatrixi")
|
||||
#endif
|
||||
|
||||
#undef PIMM_FOR
|
||||
#undef PIMM_FOR_A
|
||||
#undef PIMM_FOR_C
|
||||
|
||||
@@ -909,4 +909,10 @@ typedef PIMathVector<int> PIMathVectori;
|
||||
//! \~russian Динамический вектор из \c double.
|
||||
typedef PIMathVector<double> PIMathVectord;
|
||||
|
||||
|
||||
#if !PIP_HAS_RTTI
|
||||
__PIP_TYPENAME_DECLARE(PIMathVectord, "PIMathVectord")
|
||||
__PIP_TYPENAME_DECLARE(PIMathVectori, "PIMathVectori")
|
||||
#endif
|
||||
|
||||
#endif // PIMATHVECTOR_H
|
||||
|
||||
@@ -286,4 +286,12 @@ typedef PIPoint<float> PIPointf;
|
||||
//! \~russian Псевдоним точки с координатами типа `double`.
|
||||
typedef PIPoint<double> PIPointd;
|
||||
|
||||
|
||||
#if !PIP_HAS_RTTI
|
||||
__PIP_TYPENAME_DECLARE(PIPointd, "PIPointd")
|
||||
__PIP_TYPENAME_DECLARE(PIPointi, "PIPointi")
|
||||
__PIP_TYPENAME_DECLARE(PIPointf, "PIPointf")
|
||||
__PIP_TYPENAME_DECLARE(PIPointu, "PIPointu")
|
||||
#endif
|
||||
|
||||
#endif // PIPOINT_H
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
//! \~russian Класс прямоугольника для 2D геометрии
|
||||
/*
|
||||
PIP - Platform Independent Primitives
|
||||
Rect class for 2D geometry
|
||||
Rect class for 2D geometry
|
||||
Ivan Pelipenko peri4ko@yandex.ru, Andrey Bychkov work.a.b@yandex.ru
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
@@ -444,4 +444,12 @@ typedef PIRect<float> PIRectf;
|
||||
//! \~russian Псевдоним прямоугольника с координатами типа `double`.
|
||||
typedef PIRect<double> PIRectd;
|
||||
|
||||
|
||||
#if !PIP_HAS_RTTI
|
||||
__PIP_TYPENAME_DECLARE(PIRectd, "PIRectd")
|
||||
__PIP_TYPENAME_DECLARE(PIRecti, "PIRecti")
|
||||
__PIP_TYPENAME_DECLARE(PIRectf, "PIRectf")
|
||||
__PIP_TYPENAME_DECLARE(PIRectu, "PIRectu")
|
||||
#endif
|
||||
|
||||
#endif // PIRECT_H
|
||||
|
||||
Reference in New Issue
Block a user