儲存庫 vbox 的更動 73864
- 時間撮記:
- 2018-8-23 下午06:23:22 (6 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/iprt/cpp/restbase.h
r73849 r73864 44 44 45 45 /** 46 * Very limited map class that avoids dragging in std::map. 47 */ 48 template<class Type> class RTCRestStringMap 49 { 50 public: 51 RTCRestStringMap() {}; 52 ~RTCRestStringMap() {}; 53 /** @todo more later. */ 54 }; 55 56 57 /** 46 58 * Abstract base class for serializing data objects. 47 59 */ … … 84 96 * Serialize to a string object. 85 97 */ 86 class RTCRestOutputToString : public RTCRestOutputBase , public RTCNonCopyable98 class RTCRestOutputToString : public RTCRestOutputBase 87 99 { 88 100 public: … … 114 126 /** Set if we ran out of memory and should ignore subsequent calls. */ 115 127 bool m_fOutOfMemory; 128 129 /* Make non-copyable (RTCNonCopyable causes warnings): */ 130 RTCRestOutputToString(RTCRestOutputToString const &); 131 RTCRestOutputToString *operator=(RTCRestOutputToString const &); 116 132 }; 117 133 … … 120 136 * Abstract base class for REST data objects. 121 137 */ 122 class RTC SRestObjectBase123 { 124 public: 125 RTC SRestObjectBase() {}126 virtual ~RTC SRestObjectBase() {}138 class RTCRestObjectBase 139 { 140 public: 141 RTCRestObjectBase() {} 142 virtual ~RTCRestObjectBase() {} 127 143 128 144 /** @todo Add some kind of state? */ … … 231 247 * Base class for REST client responses. 232 248 */ 233 class RTCRestClientApiBase : public RTCNonCopyable249 class RTCRestClientApiBase 234 250 { 235 251 public: … … 244 260 /** Handle to the HTTP connection object. */ 245 261 RTHTTP m_hHttp; 262 263 /* Make non-copyable (RTCNonCopyable causes warnings): */ 264 RTCRestClientApiBase(RTCRestOutputToString const &); 265 RTCRestClientApiBase *operator=(RTCRestOutputToString const &); 246 266 }; 247 267
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器