23 #ifndef PUBLISH20091211H    24 #define PUBLISH20091211H    30 #include <boost/format.hpp>    32 #include "dccl_constants.h"    33 #include "message_algorithms.h"    34 #include "message_val.h"    35 #include "message_var.h"    39 namespace transitional
    50         : var_(
""), format_(
""), format_set_(
false), use_all_names_(
false), type_(
cpp_notype),
    51           ap_(DCCLAlgorithmPerformer::getInstance()), repeat_(1)
    57     void set_var(std::string var) { var_ = var; }
    58     void set_format(std::string format)
    63     void set_use_all_names(
bool use_all_names) { use_all_names_ = use_all_names; }
    66     void add_name(
const std::string& name) { names_.push_back(name); }
    67     void add_message_var(boost::shared_ptr<DCCLMessageVar> mv) { message_vars_.push_back(mv); }
    68     void add_algorithms(
const std::vector<std::string> algorithms)
    70         algorithms_.push_back(algorithms);
    74     std::string var()
 const { 
return var_; }
    75     std::string format()
 const { 
return format_; }
    76     bool format_set()
 const { 
return format_set_; }
    77     bool use_all_names()
 const { 
return use_all_names_; }
    80     std::vector<boost::shared_ptr<DCCLMessageVar> > 
const& message_vars()
 const    85     std::vector<std::string> 
const& names()
 const { 
return names_; }
    86     std::vector<std::vector<std::string> > 
const& algorithms()
 const { 
return algorithms_; }
    96     std::vector<std::string> names_;
    97     std::vector<boost::shared_ptr<DCCLMessageVar> > message_vars_;
    98     std::vector<std::vector<std::string> > algorithms_;
 
DCCLCppType
Enumeration of C++ types used in DCCL. 
 
The global namespace for the Goby project.