it_print_funcs.h

来自「这是经典的CORBA程序」· C头文件 代码 · 共 42 行

H
42
字号
//-----------------------------------------------------------------------------
// Copyright (c) 2003-2020 EBUPT INFO CO.,LTD
//-----------------------------------------------------------------------------

#ifndef _IT_PRINT_FUNCS_H_
#define _IT_PRINT_FUNCS_H_

#include <omg/orb.hh>
#include <orbix/print_any.h>
#include "hello.hh"

// IT_GeniePrint -- printer for IDL data types defined in
// "hello.idl"
// 

class IT_GeniePrint : public IT_AnyPrinter
{
public:

    IT_GeniePrint(
        CORBA::ORB_ptr orb,
        const char* indent_string = "    "
    );

    virtual ~IT_GeniePrint();

private:
    // Not defined, prevent accidental use
    //
    IT_GeniePrint(const IT_GeniePrint&);
    IT_GeniePrint& operator=(const IT_GeniePrint&);
};


// Global printer object.
//
extern IT_GeniePrint*
global_print;


#endif 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?