Apache Mesos
Classes | Macros
subcommand.hpp File Reference
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <stout/flags.hpp>
#include <stout/foreach.hpp>
#include <stout/hashset.hpp>
#include <stout/option.hpp>
#include <stout/preprocessor.hpp>

Go to the source code of this file.

Classes

class  Subcommand
 

Macros

#define INSERT(z, N, _)   subcommands.push_back( c ## N );
 
#define TEMPLATE(Z, N, DATA)
 

Macro Definition Documentation

#define INSERT (   z,
  N,
 
)    subcommands.push_back( c ## N );
#define TEMPLATE (   Z,
  N,
  DATA 
)
Value:
static int dispatch( \
int argc, \
char** argv, \
{ \
std::vector<Subcommand*> subcommands; \
return dispatch(prefix, argc, argv, subcommands); \
}
constexpr const char * prefix
Definition: os.hpp:96
Definition: subcommand.hpp:41
#define INSERT(z, N, _)
Definition: subcommand.hpp:59
void dispatch(const UPID &pid, std::unique_ptr< lambda::CallableOnce< void(ProcessBase *)>> f, const Option< const std::type_info * > &functionType=None())
#define ENUM_PARAMS
Definition: preprocessor.hpp:35
#define REPEAT_FROM_TO
Definition: preprocessor.hpp:40