#include <dds_generator.h>
Definition at line 186 of file dds_generator.h.
◆ NamespaceGuard()
NamespaceGuard::NamespaceGuard |
( |
bool |
enabled = true , |
|
|
std::vector< std::string > * |
ns = 0 |
|
) |
| |
|
inline |
Definition at line 191 of file dds_generator.h.
References be_global.
201 std::string start_ns =
"OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL\n";
202 for (
size_t i = 0; i <
ns_->size(); ++i) {
206 start_ns +=
"namespace " + (*ns_)[i] +
" {";
std::vector< std::string > * ns_
std::vector< std::string > default_ns_
BE_GlobalData * be_global
◆ ~NamespaceGuard()
NamespaceGuard::~NamespaceGuard |
( |
| ) |
|
|
inline |
Definition at line 214 of file dds_generator.h.
References be_global.
218 for (
size_t i = 0; i <
ns_->size(); ++i) {
224 end_ns +=
"\nOPENDDS_END_VERSIONED_NAMESPACE_DECL\n\n";
std::vector< std::string > * ns_
BE_GlobalData * be_global
◆ default_ns_
std::vector<std::string> NamespaceGuard::default_ns_ |
◆ enabled_
const bool NamespaceGuard::enabled_ |
◆ ns_
std::vector<std::string>* NamespaceGuard::ns_ |
The documentation for this struct was generated from the following file: