|
DxLibEx
|
Namespaces | |
| char_constant | |
| color | |
| detail | |
| DxStructs | |
| DxLibのstructのusing宣言を集めたnamespaceです | |
| graph2d | |
| 2Dグラフィック | |
| impl | |
| 実装用のものが集まる名前空間です。開発者以外がここの機能を使うのはお勧めできません。 | |
| math | |
| time | |
| type_traits | |
| inline | |
| utility | |
Classes | |
| struct | distance_result_type |
| class | point3d_c |
Template class for 3D points specified by its coordinates x and y. More... | |
| class | point_c |
Template class for 2D points specified by its coordinates x and y. More... | |
| class | size_c |
Template class for 2D sizes specified by its coordinates width and height. More... | |
| struct | use_big_type_when_one_byte |
Typedefs | |
| template<typename T1 , typename T2 > | |
| using | distance_result_type_t = typename distance_result_type< T1, T2 >::type |
| typedef point_c< int > | pointi |
| typedef point_c< std::uint8_t > | pointu8i |
| typedef point_c< std::int8_t > | point8i |
| typedef point_c< double > | pointd |
| typedef point_c< float > | pointf |
| typedef point3d_c< int > | point3di |
| typedef point3d_c< std::uint8_t > | point3du8i |
| typedef point3d_c< std::int8_t > | point3d8i |
| typedef point3d_c< double > | point3dd |
| typedef point3d_c< float > | point3df |
| typedef size_c< unsigned int > | sizeui |
| typedef size_c< double > | sized |
| typedef size_c< float > | sizef |
| typedef size_c< std::size_t > | size |
| using | tstring = std::basic_string< TCHAR > |
| template<typename T > | |
| using | use_big_type_when_one_byte_t = typename use_big_type_when_one_byte< T >::type |
| for int8_t/uint8_t More... | |
Functions | |
| template<typename from , typename to , bool do_cast> | |
| DXLE_CONSTEXPR to | static_cast_if (const from &n) DXLE_NOEXCEPT_IF_EXPR((dxle |
| template<typename from , typename to , bool do_cast> | |
| DXLE_CONSTEXPR to | static_cast_if (from &&n) DXLE_NOEXCEPT_IF_EXPR((dxle |
| template<typename T1 , typename T2 > | |
| DXLE_CONSTEXPR auto | safe_dist (const T1 &n1, const T2 &n2) DXLE_NOEXCEPT_IF_EXPR((n1 - n2)) -> decltype(n1 - n2) |
| point_c< T1 > T2 DXLE_CONSTEXPR auto | operator+ (const point_c< T1 > &l, const point_c< T2 > &r) DXLE_NOEXCEPT_IF_EXPR(l.x+r.x) -> point_c< decltype(std::declval< std::remove_cv_t< T1 >>()+std::declval< std::remove_cv_t< T2 >>())> |
| point_c< T1 > T2 DXLE_CONSTEXPR auto | operator/ (const point_c< T1 > &l, T2 r) DXLE_NOEXCEPT_IF_EXPR(l.x/r) -> point_c< decltype(std::declval< std::remove_cv_t< T1 >>()/std::declval< std::remove_cv_t< T2 >>())> |
| point_c< T1 > T2 DXLE_CONSTEXPR auto | dot (const point_c< T1 > &p1, const point_c< T2 > &p2) DXLE_NOEXCEPT_IF_EXPR(p1.x *p2.x+p1.y *p2.y) -> decltype(std::declval< std::remove_cv_t< T1 >>() *std::declval< std::remove_cv_t< T2 >>()) |
| point3d_c< T1 > T2 DXLE_CONSTEXPR auto | operator+ (const point3d_c< T1 > &l, const point3d_c< T2 > &r) DXLE_NOEXCEPT_IF_EXPR(l.x+r.x) -> point3d_c< decltype(std::declval< std::remove_cv_t< T1 >>()+std::declval< std::remove_cv_t< T2 >>())> |
| point3d_c< T1 > T2 DXLE_CONSTEXPR auto | operator/ (const point3d_c< T1 > &l, T2 r) DXLE_NOEXCEPT_IF_EXPR(l.x/r) -> point3d_c< decltype(std::declval< std::remove_cv_t< T1 >>() - std::declval< std::remove_cv_t< T2 >>())> |
| point3d_c< T1 > T2 DXLE_CONSTEXPR auto | dot (const point3d_c< T1 > &p1, const point3d_c< T2 > &p2) DXLE_NOEXCEPT_IF_EXPR(p1.x *p2.x+p1.y *p2.y+p1.z *p2.z) -> decltype(std::declval< std::remove_cv_t< T1 >>() *std::declval< std::remove_cv_t< T2 >>()) |
| size_c< T1 > T2 DXLE_CONSTEXPR auto | operator+ (const size_c< T1 > &l, const size_c< T2 > &r) DXLE_NOEXCEPT_IF_EXPR(l.width+r.width) -> size_c< decltype(std::declval< std::remove_cv_t< T1 >>()+std::declval< std::remove_cv_t< T2 >>())> |
| size_c< T1 > T2 DXLE_CONSTEXPR auto | operator/ (const size_c< T1 > &l, T2 r) DXLE_NOEXCEPT_IF_EXPR(l.width/r) -> size_c< decltype(std::declval< std::remove_cv_t< T1 >>()/std::declval< std::remove_cv_t< T2 >>())> |
| size_t | tstrlen (const char *s) |
| size_t | tstrlen (const wchar_t *s) |
| point_c< T1 > T2 DXLE_CONSTEXPR auto | operator+ (const point_c< T1 > &l, const size_c< T2 > &r) DXLE_NOEXCEPT_IF_EXPR(l.x+r.width) -> point_c< decltype(std::declval< std::remove_cv_t< T1 >>()+std::declval< std::remove_cv_t< T2 >>())> |
| DXLE_CONSTEXPR int | abs (int j) DXLE_NOEXCEPT_OR_NOTHROW |
| DXLE_CONSTEXPR long | labs (long j) DXLE_NOEXCEPT_OR_NOTHROW |
| DXLE_CONSTEXPR long long | llabs (long long j) DXLE_NOEXCEPT_OR_NOTHROW |
| DXLE_CONSTEXPR long | abs (long j) DXLE_NOEXCEPT_OR_NOTHROW |
| DXLE_CONSTEXPR long long | abs (long long j) DXLE_NOEXCEPT_OR_NOTHROW |
| template<typename IntType , enable_if_t< std::is_integral< IntType >::value &&std::is_signed< IntType >::value, std::nullptr_t > = nullptr> | |
| DXLE_CONSTEXPR IntType | abs (IntType j) DXLE_NOEXCEPT_OR_NOTHROW |
Variables | |
| point_c< T1 > | T2 |
| DXLE_CONSTEXPR double | double |
| using dxle::distance_result_type_t = typedef typename distance_result_type<T1, T2>::type |
Definition at line 27 of file distance_result_type_t.hpp.
| typedef point3d_c<std::int8_t> dxle::point3d8i |
Definition at line 651 of file point3d.hpp.
| typedef point3d_c<double> dxle::point3dd |
Definition at line 652 of file point3d.hpp.
| typedef point3d_c<float> dxle::point3df |
Definition at line 653 of file point3d.hpp.
| typedef point3d_c<int> dxle::point3di |
Definition at line 649 of file point3d.hpp.
| typedef point3d_c<std::uint8_t> dxle::point3du8i |
Definition at line 650 of file point3d.hpp.
| typedef point_c<std::int8_t> dxle::point8i |
Definition at line 667 of file point2d.hpp.
| typedef point_c<double> dxle::pointd |
Definition at line 668 of file point2d.hpp.
| typedef point_c<float> dxle::pointf |
Definition at line 669 of file point2d.hpp.
| typedef point_c<int> dxle::pointi |
Definition at line 665 of file point2d.hpp.
| typedef point_c<std::uint8_t> dxle::pointu8i |
Definition at line 666 of file point2d.hpp.
| typedef size_c<std::size_t> dxle::size |
| typedef size_c<double> dxle::sized |
| typedef size_c<float> dxle::sizef |
| typedef size_c<unsigned int> dxle::sizeui |
| using dxle::tstring = typedef std::basic_string<TCHAR> |
| using dxle::use_big_type_when_one_byte_t = typedef typename use_big_type_when_one_byte<T>::type |
for int8_t/uint8_t
Definition at line 30 of file use_big_type_when_one_byte_t.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
| point3d_c<T1> T2 DXLE_CONSTEXPR auto dxle::dot | ( | const point3d_c< T1 > & | p1, |
| const point3d_c< T2 > & | p2 | ||
| ) | -> decltype(std::declval<std::remove_cv_t<T1>>() * std::declval<std::remove_cv_t<T2>>()) |
Definition at line 607 of file point3d.hpp.
| point_c<T1> T2 DXLE_CONSTEXPR auto dxle::dot | ( | const point_c< T1 > & | p1, |
| const point_c< T2 > & | p2 | ||
| ) | -> decltype(std::declval<std::remove_cv_t<T1>>() * std::declval<std::remove_cv_t<T2>>()) |
Definition at line 622 of file point2d.hpp.
|
inline |
|
inline |
| point_c<T1> T2 DXLE_CONSTEXPR auto dxle::operator+ | ( | const point_c< T1 > & | l, |
| const size_c< T2 > & | r | ||
| ) | -> point_c<decltype(std::declval<std::remove_cv_t<T1>>() + std::declval<std::remove_cv_t<T2>>())> |
Definition at line 106 of file basic_types.hpp.
| point3d_c<T1> T2 DXLE_CONSTEXPR auto dxle::operator+ | ( | const point3d_c< T1 > & | l, |
| const point3d_c< T2 > & | r | ||
| ) | -> point3d_c<decltype(std::declval<std::remove_cv_t<T1>>() + std::declval<std::remove_cv_t<T2>>())> |
Definition at line 354 of file point3d.hpp.
| point_c<T1> T2 DXLE_CONSTEXPR auto dxle::operator+ | ( | const point_c< T1 > & | l, |
| const point_c< T2 > & | r | ||
| ) | -> point_c<decltype(std::declval<std::remove_cv_t<T1>>() + std::declval<std::remove_cv_t<T2>>())> |
Definition at line 373 of file point2d.hpp.
| point3d_c<T1> T2 DXLE_CONSTEXPR auto dxle::operator/ | ( | const point3d_c< T1 > & | l, |
| T2 | r | ||
| ) | -> point3d_c<decltype(std::declval<std::remove_cv_t<T1>>() - std::declval<std::remove_cv_t<T2>>())> |
Definition at line 446 of file point3d.hpp.
| point_c<T1> T2 DXLE_CONSTEXPR auto dxle::operator/ | ( | const point_c< T1 > & | l, |
| T2 | r | ||
| ) | -> point_c<decltype(std::declval<std::remove_cv_t<T1>>() / std::declval<std::remove_cv_t<T2>>())> |
Definition at line 464 of file point2d.hpp.
| DXLE_CONSTEXPR auto dxle::safe_dist | ( | const T1 & | n1, |
| const T2 & | n2 | ||
| ) | -> decltype(n1 - n2) |
Definition at line 14 of file safe_dist.hpp.
| DXLE_CONSTEXPR to dxle::static_cast_if | ( | const from & | n | ) |
Definition at line 52 of file cast_if.hpp.
| DXLE_CONSTEXPR to dxle::static_cast_if | ( | from && | n | ) |
Definition at line 63 of file cast_if.hpp.
| DXLE_CONSTEXPR double dxle::double |
Definition at line 642 of file point2d.hpp.
| point_c< T1 > dxle::T2 |
Definition at line 353 of file point2d.hpp.