#include <wxFileNameWrapper.h>
Definition at line 20 of file wxFileNameWrapper.h.
◆ wxFileNameWrapper() [1/4]
wxFileNameWrapper::wxFileNameWrapper |
( |
const wxFileName & |
that | ) |
|
|
inlineexplicit |
◆ wxFileNameWrapper() [2/4]
wxFileNameWrapper::wxFileNameWrapper |
( |
| ) |
|
|
default |
◆ wxFileNameWrapper() [3/4]
◆ wxFileNameWrapper() [4/4]
◆ operator=() [1/2]
◆ operator=() [2/2]
Definition at line 81 of file wxFileNameWrapper.h.
82 {
83 if (this != &that) {
84 Clear();
86 }
87 return *this;
88 }
References swap().
◆ swap()
Definition at line 34 of file wxFileNameWrapper.h.
35 {
36 if (this != &that) {
37#if 0
38
39 enum :
size_t {
Size =
sizeof(*this) };
40
41
43 memcpy(&buffer,
this,
Size);
44 memcpy(
this, &that,
Size);
45 memcpy(&that, &buffer,
Size);
46#else
47
48
49 struct Contents
50 {
51 void swap(Contents &that) {
52 m_volume.swap(that.m_volume);
53 m_dirs.swap(that.m_dirs);
54 m_name.swap(that.m_name);
55 m_ext.swap(that.m_ext);
58 std::swap(m_dontFollowLinks, that.m_dontFollowLinks);
59 };
60
61 wxString m_volume;
62 wxArrayString m_dirs;
63 wxString m_name, m_ext;
64 bool m_relative;
65 bool m_hasExt;
66 bool m_dontFollowLinks;
67 };
68
69 reinterpret_cast<Contents*
>(
this)->
swap
70 (*reinterpret_cast<Contents*>(&that));
71#endif
72 }
73 }
void swap(std::unique_ptr< Alg_seq > &a, std::unique_ptr< Alg_seq > &b)
SizeType< float > Size
Alias for SizeType<float>
References anonymous_namespace{NoteTrack.cpp}::swap(), and swap().
Referenced by operator=(), swap(), and wxFileNameWrapper().
The documentation for this class was generated from the following file: