command-parser.hpp File Reference
#include "command-definition.hpp"
#include "execute-command.hpp"
#include <type_traits>
+ Include dependency graph for command-parser.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nfd::tools::nfdc::CommandParser
 parses a command More...
 
class  nfd::tools::nfdc::CommandParser::NoSuchCommandError
 

Namespaces

 nfd
 Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
 
 nfd::tools
 
 nfd::tools::nfdc
 

Enumerations

enum  nfd::tools::nfdc::AvailableIn : uint8_t {
  nfd::tools::nfdc::AVAILABLE_IN_NONE = 0,
  nfd::tools::nfdc::AVAILABLE_IN_ONE_SHOT = 1 << 0,
  nfd::tools::nfdc::AVAILABLE_IN_BATCH = 1 << 1,
  nfd::tools::nfdc::AVAILABLE_IN_HELP = 1 << 7,
  nfd::tools::nfdc::AVAILABLE_IN_ALL = 0xff
}
 indicates which modes is a command allowed More...
 
enum  nfd::tools::nfdc::ParseMode : uint8_t {
  nfd::tools::nfdc::ParseMode::ONE_SHOT = AVAILABLE_IN_ONE_SHOT,
  nfd::tools::nfdc::ParseMode::BATCH = AVAILABLE_IN_BATCH
}
 indicates which mode is the parser operated in More...
 

Functions

std::ostream & nfd::tools::nfdc::operator<< (std::ostream &os, AvailableIn modes)
 
std::ostream & nfd::tools::nfdc::operator<< (std::ostream &os, ParseMode mode)