/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    cdr_op_ch.h
 *
 *  Concrete visitor for the ComponentFwd class
 *  This one provides code generation for the CDR operators for the forward
 *  declared component in the client header, if the node is not later defined
 *
 *  @author Jeff Parsons
 */
//=============================================================================


#ifndef _BE_VISITOR_COMPONENT_FWD_CDR_OP_CH_H_
#define _BE_VISITOR_COMPONENT_FWD_CDR_OP_CH_H_

/**
 * @class be_visitor_component_fwd_cdr_op_ch
 *
 * @brief be_visitor_component_fwd_cdr_op_ch
 *
 * This is a concrete visitor for forward declared component that generates
 * the CDR operator declarations, if the node is not later defined.
 */
class be_visitor_component_fwd_cdr_op_ch : public be_visitor_decl
{

public:
  /// constructor
  be_visitor_component_fwd_cdr_op_ch (be_visitor_context *ctx);

  /// destructor
  ~be_visitor_component_fwd_cdr_op_ch (void);

  /// visit forward declared component.
  virtual int visit_component_fwd (be_component_fwd *node);
};

#endif /* _BE_VISITOR_COMPONENT_FWD_CDR_OP_CH_H_ */
