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 144 of file be_global.h.


Constructor & Destructor Documentation

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

Definition at line 205 of file be_global.cpp.

References be_global, and BE_GlobalData::multicast().

00206   : type_(type), name_(name)
00207 {
00208   if (idl_global->compile_flags() & IDL_CF_INFORMATIVE)
00209     std::cout << type << ": " << name << std::endl;
00210 
00211   be_global->multicast("\n\n/* Begin ");
00212   be_global->multicast(type);
00213   be_global->multicast(": ");
00214   be_global->multicast(name);
00215   be_global->multicast(" */\n\n");
00216 }

BE_Comment_Guard::~BE_Comment_Guard (  ) 

Definition at line 218 of file be_global.cpp.

References be_global, BE_GlobalData::multicast(), name_, and type_.

00219 {
00220   be_global->multicast("\n/* End ");
00221   be_global->multicast(type_);
00222   be_global->multicast(": ");
00223   be_global->multicast(name_);
00224   be_global->multicast(" */\n");
00225 }


Member Data Documentation

const char * BE_Comment_Guard::name_ [private]

Definition at line 151 of file be_global.h.

Referenced by ~BE_Comment_Guard().

const char* BE_Comment_Guard::type_ [private]

Definition at line 151 of file be_global.h.

Referenced by ~BE_Comment_Guard().


The documentation for this class was generated from the following files:
Generated on Fri Feb 12 20:05:54 2016 for OpenDDS by  doxygen 1.4.7