BE_Comment_Guard Class Reference

#include <be_global.h>

List of all members.

Public Member Functions

 BE_Comment_Guard (const char *type, const char *name)
 ~BE_Comment_Guard ()

Private Attributes

const char * type_
const char * name_

Detailed Description

Definition at line 151 of file be_global.h.


Constructor & Destructor Documentation

BE_Comment_Guard::BE_Comment_Guard ( const char *  type,
const char *  name 
)

Definition at line 235 of file be_global.cpp.

00236   : type_(type), name_(name)
00237 {
00238   if (idl_global->compile_flags() & IDL_CF_INFORMATIVE)
00239     std::cout << type << ": " << name << std::endl;
00240 
00241   be_global->multicast("\n\n/* Begin ");
00242   be_global->multicast(type);
00243   be_global->multicast(": ");
00244   be_global->multicast(name);
00245   be_global->multicast(" */\n\n");
00246 }

BE_Comment_Guard::~BE_Comment_Guard (  ) 

Definition at line 248 of file be_global.cpp.

References name_, and type_.

00249 {
00250   be_global->multicast("\n/* End ");
00251   be_global->multicast(type_);
00252   be_global->multicast(": ");
00253   be_global->multicast(name_);
00254   be_global->multicast(" */\n");
00255 }


Member Data Documentation

const char * BE_Comment_Guard::name_ [private]

Definition at line 158 of file be_global.h.

Referenced by ~BE_Comment_Guard().

const char* BE_Comment_Guard::type_ [private]

Definition at line 158 of file be_global.h.

Referenced by ~BE_Comment_Guard().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1