Lines Matching refs:m_opaque_ptr
80 : m_opaque_ptr(new PlatformConnectOptions(url)) { in SBPlatformConnectOptions()
86 : m_opaque_ptr(new PlatformConnectOptions()) { in SBPlatformConnectOptions()
89 *m_opaque_ptr = *rhs.m_opaque_ptr; in SBPlatformConnectOptions()
92 SBPlatformConnectOptions::~SBPlatformConnectOptions() { delete m_opaque_ptr; } in ~SBPlatformConnectOptions()
98 *m_opaque_ptr = *rhs.m_opaque_ptr; in operator =()
105 if (m_opaque_ptr->m_url.empty()) in GetURL()
107 return ConstString(m_opaque_ptr->m_url.c_str()).GetCString(); in GetURL()
114 m_opaque_ptr->m_url = url; in SetURL()
116 m_opaque_ptr->m_url.clear(); in SetURL()
122 return m_opaque_ptr->m_rsync_enabled; in GetRsyncEnabled()
131 m_opaque_ptr->m_rsync_enabled = true; in EnableRsync()
132 m_opaque_ptr->m_rsync_omit_hostname_from_remote_path = in EnableRsync()
135 m_opaque_ptr->m_rsync_remote_path_prefix = remote_path_prefix; in EnableRsync()
137 m_opaque_ptr->m_rsync_remote_path_prefix.clear(); in EnableRsync()
140 m_opaque_ptr->m_rsync_options = options; in EnableRsync()
142 m_opaque_ptr->m_rsync_options.clear(); in EnableRsync()
148 m_opaque_ptr->m_rsync_enabled = false; in DisableRsync()
154 return m_opaque_ptr->m_local_cache_directory.GetCString(); in GetLocalCacheDirectory()
161 m_opaque_ptr->m_local_cache_directory.SetCString(path); in SetLocalCacheDirectory()
163 m_opaque_ptr->m_local_cache_directory = ConstString(); in SetLocalCacheDirectory()
169 : m_opaque_ptr(new PlatformShellCommand(shell_interpreter, shell_command)) { in SBPlatformShellCommand()
174 : m_opaque_ptr(new PlatformShellCommand(shell_command)) { in SBPlatformShellCommand()
180 : m_opaque_ptr(new PlatformShellCommand()) { in SBPlatformShellCommand()
183 *m_opaque_ptr = *rhs.m_opaque_ptr; in SBPlatformShellCommand()
191 *m_opaque_ptr = *rhs.m_opaque_ptr; in operator =()
195 SBPlatformShellCommand::~SBPlatformShellCommand() { delete m_opaque_ptr; } in ~SBPlatformShellCommand()
200 m_opaque_ptr->m_output = std::string(); in Clear()
201 m_opaque_ptr->m_status = 0; in Clear()
202 m_opaque_ptr->m_signo = 0; in Clear()
208 if (m_opaque_ptr->m_shell.empty()) in GetShell()
210 return ConstString(m_opaque_ptr->m_shell.c_str()).GetCString(); in GetShell()
217 m_opaque_ptr->m_shell = shell_interpreter; in SetShell()
219 m_opaque_ptr->m_shell.clear(); in SetShell()
225 if (m_opaque_ptr->m_command.empty()) in GetCommand()
227 return ConstString(m_opaque_ptr->m_command.c_str()).GetCString(); in GetCommand()
234 m_opaque_ptr->m_command = shell_command; in SetCommand()
236 m_opaque_ptr->m_command.clear(); in SetCommand()
242 if (m_opaque_ptr->m_working_dir.empty()) in GetWorkingDirectory()
244 return ConstString(m_opaque_ptr->m_working_dir.c_str()).GetCString(); in GetWorkingDirectory()
251 m_opaque_ptr->m_working_dir = path; in SetWorkingDirectory()
253 m_opaque_ptr->m_working_dir.clear(); in SetWorkingDirectory()
259 if (m_opaque_ptr->m_timeout) in GetTimeoutSeconds()
260 return m_opaque_ptr->m_timeout->count(); in GetTimeoutSeconds()
268 m_opaque_ptr->m_timeout = std::nullopt; in SetTimeoutSeconds()
270 m_opaque_ptr->m_timeout = std::chrono::seconds(sec); in SetTimeoutSeconds()
276 return m_opaque_ptr->m_signo; in GetSignal()
282 return m_opaque_ptr->m_status; in GetStatus()
288 if (m_opaque_ptr->m_output.empty()) in GetOutput()
290 return ConstString(m_opaque_ptr->m_output.c_str()).GetCString(); in GetOutput()
561 shell_command.m_opaque_ptr->m_shell, command, in Run()
563 &shell_command.m_opaque_ptr->m_status, in Run()
564 &shell_command.m_opaque_ptr->m_signo, in Run()
565 &shell_command.m_opaque_ptr->m_output, in Run()
566 shell_command.m_opaque_ptr->m_timeout); in Run()