VirtualBox

儲存庫 vbox 的更動 73864


忽略:
時間撮記:
2018-8-23 下午06:23:22 (6 年 以前)
作者:
vboxsync
訊息:

iprt/swagger-codegen: More codegen hacking. bugref:9167

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/iprt/cpp/restbase.h

    r73849 r73864  
    4444
    4545/**
     46 * Very limited map class that avoids dragging in std::map.
     47 */
     48template<class Type> class RTCRestStringMap
     49{
     50public:
     51    RTCRestStringMap() {};
     52    ~RTCRestStringMap() {};
     53/** @todo more later. */
     54};
     55
     56
     57/**
    4658 * Abstract base class for serializing data objects.
    4759 */
     
    8496 * Serialize to a string object.
    8597 */
    86 class RTCRestOutputToString : public RTCRestOutputBase, public RTCNonCopyable
     98class RTCRestOutputToString : public RTCRestOutputBase
    8799{
    88100public:
     
    114126    /** Set if we ran out of memory and should ignore subsequent calls. */
    115127    bool        m_fOutOfMemory;
     128
     129    /* Make non-copyable (RTCNonCopyable causes warnings): */
     130    RTCRestOutputToString(RTCRestOutputToString const &);
     131    RTCRestOutputToString *operator=(RTCRestOutputToString const &);
    116132};
    117133
     
    120136 * Abstract base class for REST data objects.
    121137 */
    122 class RTCSRestObjectBase
    123 {
    124 public:
    125     RTCSRestObjectBase() {}
    126     virtual ~RTCSRestObjectBase() {}
     138class RTCRestObjectBase
     139{
     140public:
     141    RTCRestObjectBase() {}
     142    virtual ~RTCRestObjectBase() {}
    127143
    128144    /** @todo Add some kind of state? */
     
    231247 * Base class for REST client responses.
    232248 */
    233 class RTCRestClientApiBase : public RTCNonCopyable
     249class RTCRestClientApiBase
    234250{
    235251public:
     
    244260    /** Handle to the HTTP connection object. */
    245261    RTHTTP  m_hHttp;
     262
     263    /* Make non-copyable (RTCNonCopyable causes warnings): */
     264    RTCRestClientApiBase(RTCRestOutputToString const &);
     265    RTCRestClientApiBase *operator=(RTCRestOutputToString const &);
    246266};
    247267
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette